类 ParagraphStyle.Builder
- java.lang.Object
-
- com.deepoove.poi.data.style.ParagraphStyle.Builder
-
- 封闭类:
- ParagraphStyle
public static final class ParagraphStyle.Builder extends Object
-
-
方法概要
-
-
-
方法详细资料
-
withStyleId
public ParagraphStyle.Builder withStyleId(String styleId)
-
withAlign
public ParagraphStyle.Builder withAlign(org.apache.poi.xwpf.usermodel.ParagraphAlignment align)
-
withIndentLeftChars
public ParagraphStyle.Builder withIndentLeftChars(double indentLeftChars)
-
withIndentRightChars
public ParagraphStyle.Builder withIndentRightChars(double indentRightChars)
-
withIndentHangingChars
public ParagraphStyle.Builder withIndentHangingChars(double indentHangingChars)
-
withIndentFirstLineChars
public ParagraphStyle.Builder withIndentFirstLineChars(double indentFirstLineChars)
-
withLeftBorder
public ParagraphStyle.Builder withLeftBorder(BorderStyle leftBorder)
-
withRightBorder
public ParagraphStyle.Builder withRightBorder(BorderStyle rightBorder)
-
withTopBorder
public ParagraphStyle.Builder withTopBorder(BorderStyle topBorder)
-
withBottomBorder
public ParagraphStyle.Builder withBottomBorder(BorderStyle bottomBorder)
-
withShadingPattern
public ParagraphStyle.Builder withShadingPattern(XWPFShadingPattern shadingPattern)
-
withBackgroundColor
public ParagraphStyle.Builder withBackgroundColor(String backgroundColor)
-
withWidowControl
public ParagraphStyle.Builder withWidowControl(Boolean widowControl)
-
withKeepLines
public ParagraphStyle.Builder withKeepLines(Boolean keepLines)
-
withKeepNext
public ParagraphStyle.Builder withKeepNext(Boolean keepNext)
-
withPageBreakBefore
public ParagraphStyle.Builder withPageBreakBefore(Boolean pageBreakBefore)
-
withAllowWordBreak
public ParagraphStyle.Builder withAllowWordBreak(Boolean allowWordBreak)
-
withSpacingBeforeLines
public ParagraphStyle.Builder withSpacingBeforeLines(double spacingBeforeLines)
-
withSpacingAfterLines
public ParagraphStyle.Builder withSpacingAfterLines(double spacingAfterLines)
-
withSpacingBefore
public ParagraphStyle.Builder withSpacingBefore(double spacingBefore)
-
withSpacingAfter
public ParagraphStyle.Builder withSpacingAfter(double spacingAfter)
-
withSpacing
public ParagraphStyle.Builder withSpacing(double spacing)
-
withSpacingRule
public ParagraphStyle.Builder withSpacingRule(org.apache.poi.xwpf.usermodel.LineSpacingRule spacingRule)
-
withGlyphStyle
public ParagraphStyle.Builder withGlyphStyle(Style glyphStyle)
-
withNumId
public ParagraphStyle.Builder withNumId(long numId)
-
withLvl
public ParagraphStyle.Builder withLvl(long lvl)
-
withDefaultTextStyle
public ParagraphStyle.Builder withDefaultTextStyle(Style defaultTextStyle)
-
build
public ParagraphStyle build()
-
-