org.apache.poi.xwpf.converter.core.openxmlformats.styles.paragraph
Class ParagraphLineSpacingValueProvider
java.lang.Object
org.apache.poi.xwpf.converter.core.openxmlformats.styles.paragraph.AbstractParagraphValueProvider<Value>
org.apache.poi.xwpf.converter.core.openxmlformats.styles.paragraph.AbstractParagraphSpacingValueProvider<ParagraphLineSpacing>
org.apache.poi.xwpf.converter.core.openxmlformats.styles.paragraph.ParagraphLineSpacingValueProvider
public class ParagraphLineSpacingValueProvider
- extends AbstractParagraphSpacingValueProvider<ParagraphLineSpacing>
17.3.1.33 spacing (Spacing Between Lines and Above/Below Paragraph) This element specifies the inter-line and
inter-paragraph spacing which shall be applied to the contents of this paragraph when it is displayed by a consumer.
If this element is omitted on a given paragraph, each of its values is determined by the setting previously set at
any level of the style hierarchy (i.e. that previous setting remains unchanged). If this setting is never specified
in the style hierarchy, then the paragraph shall have no spacing applied to its lines, or above and below its
contents. [Example: Consider the following WordprocessingML paragraph: This paragraph specifies that it must have at least 200 twentieths of a point after the
last line in each paragraph, and that the spacing in each line should be automatically calculated based on a 1.15
times (276 divided by 240) the normal single spacing calculation. end example]
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LINE_SPACING_FACTOR
protected static final float LINE_SPACING_FACTOR
- See Also:
- Constant Field Values
INSTANCE
public static final ParagraphLineSpacingValueProvider INSTANCE
ParagraphLineSpacingValueProvider
public ParagraphLineSpacingValueProvider()
getValue
protected ParagraphLineSpacing getValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTSpacing spacing)
- Specified by:
getValue
in class AbstractParagraphSpacingValueProvider<ParagraphLineSpacing>
Copyright © 2013. All rights reserved.