public static final class ParagraphStyle.Builder extends Object
public ParagraphStyle.Builder withStyleId(String styleId)
public ParagraphStyle.Builder withAlign(org.apache.poi.xwpf.usermodel.ParagraphAlignment align)
public ParagraphStyle.Builder withIndentLeftChars(double indentLeftChars)
public ParagraphStyle.Builder withIndentRightChars(double indentRightChars)
public ParagraphStyle.Builder withIndentHangingChars(double indentHangingChars)
public ParagraphStyle.Builder withIndentFirstLineChars(double indentFirstLineChars)
public ParagraphStyle.Builder withLeftBorder(BorderStyle leftBorder)
public ParagraphStyle.Builder withRightBorder(BorderStyle rightBorder)
public ParagraphStyle.Builder withTopBorder(BorderStyle topBorder)
public ParagraphStyle.Builder withBottomBorder(BorderStyle bottomBorder)
public ParagraphStyle.Builder withShadingPattern(XWPFShadingPattern shadingPattern)
public ParagraphStyle.Builder withBackgroundColor(String backgroundColor)
public ParagraphStyle.Builder withWidowControl(Boolean widowControl)
public ParagraphStyle.Builder withKeepLines(Boolean keepLines)
public ParagraphStyle.Builder withKeepNext(Boolean keepNext)
public ParagraphStyle.Builder withPageBreakBefore(Boolean pageBreakBefore)
public ParagraphStyle.Builder withAllowWordBreak(Boolean allowWordBreak)
public ParagraphStyle.Builder withSpacingBeforeLines(double spacingBeforeLines)
public ParagraphStyle.Builder withSpacingAfterLines(double spacingAfterLines)
public ParagraphStyle.Builder withSpacingBefore(double spacingBefore)
public ParagraphStyle.Builder withSpacingAfter(double spacingAfter)
public ParagraphStyle.Builder withSpacing(double spacing)
public ParagraphStyle.Builder withSpacingRule(org.apache.poi.xwpf.usermodel.LineSpacingRule spacingRule)
public ParagraphStyle.Builder withGlyphStyle(Style glyphStyle)
public ParagraphStyle.Builder withNumId(long numId)
public ParagraphStyle.Builder withLvl(long lvl)
public ParagraphStyle.Builder withDefaultTextStyle(Style defaultTextStyle)
public ParagraphStyle build()
Copyright © 2022. All rights reserved.