com.pdftech.fot2pdf.formatter
Class FormatterParameters
java.lang.Object
|
+--com.pdftech.fot2pdf.formatter.FormatterParameters
- public class FormatterParameters
- extends java.lang.Object
This class holds the parameters used for formatting process.
- See Also:
Formatter
Method Summary |
static boolean |
getBalancePagesFlag()
Returns wheter pages should be balanced |
static double |
getLineBreakingWarnLevel()
Returns the threshold for warning messages at the lin-breaking algorithm. |
static boolean |
getLinkHighlightingFlag()
Returns true if links are supposed to be blue instead of black |
static void |
setBalancePagesFlag(boolean inflag)
Sets flag wheter pages shall be balanced. |
static void |
setLineBreakingWarnLevel(double inlevel)
Sets the level above which a warning message shall be issued if the line-breaking
algorithm did not find a proper solution |
static void |
setLinkHighlightingFlag(boolean inflag)
Sets flag if annotated links shall be blue instead of black (for text only) |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
FormatterParameters
public FormatterParameters()
setBalancePagesFlag
public static void setBalancePagesFlag(boolean inflag)
- Sets flag wheter pages shall be balanced.
getBalancePagesFlag
public static boolean getBalancePagesFlag()
- Returns wheter pages should be balanced
setLinkHighlightingFlag
public static void setLinkHighlightingFlag(boolean inflag)
- Sets flag if annotated links shall be blue instead of black (for text only)
- Parameters:
inflag
- highlighting on/off
getLinkHighlightingFlag
public static boolean getLinkHighlightingFlag()
- Returns true if links are supposed to be blue instead of black
setLineBreakingWarnLevel
public static void setLineBreakingWarnLevel(double inlevel)
- Sets the level above which a warning message shall be issued if the line-breaking
algorithm did not find a proper solution
- Parameters:
inlevel
- threshold for warning
getLineBreakingWarnLevel
public static double getLineBreakingWarnLevel()
- Returns the threshold for warning messages at the lin-breaking algorithm.