Class ParagraphKeeptogetherContext
- java.lang.Object
-
- org.apache.fop.render.rtf.rtflib.rtfdoc.ParagraphKeeptogetherContext
-
public final class ParagraphKeeptogetherContext extends java.lang.ObjectThis context is used to manage the "keepn" RTF attribute Used by ParagraphBuilder and JforCmd
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intgetKeepTogetherOpenValue()static voidkeepTogetherClose()Close a "keep with next" paragraphstatic voidkeepTogetherOpen()Open a new "keep with next" paragraphstatic booleanparagraphResetProperties()static voidsetParagraphResetPropertiesUsed()Reset the flag if the paragraph properties have been resested
-
-
-
Method Detail
-
getKeepTogetherOpenValue
public static int getKeepTogetherOpenValue()
- Returns:
- the level of current "keep whith next" paragraph
-
keepTogetherOpen
public static void keepTogetherOpen()
Open a new "keep with next" paragraph
-
keepTogetherClose
public static void keepTogetherClose()
Close a "keep with next" paragraph
-
paragraphResetProperties
public static boolean paragraphResetProperties()
- Returns:
- true if the next paragraph must reset the properties
-
setParagraphResetPropertiesUsed
public static void setParagraphResetPropertiesUsed()
Reset the flag if the paragraph properties have been resested
-
-