Package writer2latex.xhtml
Class XhtmlConfig
- java.lang.Object
-
- writer2latex.base.ConfigBase
-
- writer2latex.xhtml.XhtmlConfig
-
- All Implemented Interfaces:
Config
public class XhtmlConfig extends ConfigBase
-
-
Field Summary
Fields Modifier and Type Field Description static intABSOLUTEstatic intALLstatic intCONVERT_ALLstatic intCSS1static intCSS1_HACKstatic intEXPLICITstatic intHARD_LABELSstatic intIGNORE_ALLstatic intIGNORE_HARDstatic intIGNORE_STYLESstatic intIMAGE_LATEXstatic intIMAGE_STARMATHstatic intLATEXstatic intNONEstatic intRELATIVEstatic intSTARMATHstatic intSTYLESprotected ComplexOptionxattrprotected ComplexOptionxframeprotected ComplexOptionxheadingprotected ComplexOptionxlistprotected ComplexOptionxparprotected ComplexOptionxtext-
Fields inherited from class writer2latex.base.ConfigBase
optionGroups, options
-
-
Constructor Summary
Constructors Constructor Description XhtmlConfig()
-
Method Summary
-
Methods inherited from class writer2latex.base.ConfigBase
addComplexOption, getComplexOption, getOption, read, read, readDefaultConfig, write, write
-
-
-
-
Field Detail
-
IGNORE_ALL
public static final int IGNORE_ALL
- See Also:
- Constant Field Values
-
IGNORE_STYLES
public static final int IGNORE_STYLES
- See Also:
- Constant Field Values
-
IGNORE_HARD
public static final int IGNORE_HARD
- See Also:
- Constant Field Values
-
CONVERT_ALL
public static final int CONVERT_ALL
- See Also:
- Constant Field Values
-
CSS1
public static final int CSS1
- See Also:
- Constant Field Values
-
CSS1_HACK
public static final int CSS1_HACK
- See Also:
- Constant Field Values
-
HARD_LABELS
public static final int HARD_LABELS
- See Also:
- Constant Field Values
-
NONE
public static final int NONE
- See Also:
- Constant Field Values
-
ABSOLUTE
public static final int ABSOLUTE
- See Also:
- Constant Field Values
-
RELATIVE
public static final int RELATIVE
- See Also:
- Constant Field Values
-
STARMATH
public static final int STARMATH
- See Also:
- Constant Field Values
-
LATEX
public static final int LATEX
- See Also:
- Constant Field Values
-
IMAGE_STARMATH
public static final int IMAGE_STARMATH
- See Also:
- Constant Field Values
-
IMAGE_LATEX
public static final int IMAGE_LATEX
- See Also:
- Constant Field Values
-
STYLES
public static final int STYLES
- See Also:
- Constant Field Values
-
EXPLICIT
public static final int EXPLICIT
- See Also:
- Constant Field Values
-
ALL
public static final int ALL
- See Also:
- Constant Field Values
-
xheading
protected ComplexOption xheading
-
xpar
protected ComplexOption xpar
-
xtext
protected ComplexOption xtext
-
xframe
protected ComplexOption xframe
-
xlist
protected ComplexOption xlist
-
xattr
protected ComplexOption xattr
-
-
Method Detail
-
getOptionCount
protected int getOptionCount()
- Specified by:
getOptionCountin classConfigBase
-
getDefaultConfigPath
protected java.lang.String getDefaultConfigPath()
- Specified by:
getDefaultConfigPathin classConfigBase
-
setOption
public void setOption(java.lang.String sName, java.lang.String sValue)Description copied from interface:ConfigSet a name/value option. Options that are not defined by theConverterimplementation as well as null values are silently ignored- Specified by:
setOptionin interfaceConfig- Overrides:
setOptionin classConfigBase- Parameters:
sName- the name of the optionsValue- the value of the option
-
readInner
protected void readInner(org.w3c.dom.Element elm)
Description copied from class:ConfigBaseRead configuration information from an xml element. The subclass must define this to read richer configuration data- Specified by:
readInnerin classConfigBase
-
writeInner
protected void writeInner(org.w3c.dom.Document dom)
Description copied from class:ConfigBaseWrite configuration information to an xml document. The subclass must define this to write richer configuration data- Specified by:
writeInnerin classConfigBase
-
ignoreHardLineBreaks
public boolean ignoreHardLineBreaks()
-
ignoreEmptyParagraphs
public boolean ignoreEmptyParagraphs()
-
ignoreDoubleSpaces
public boolean ignoreDoubleSpaces()
-
imageSize
public int imageSize()
-
xhtmlNoDoctype
public boolean xhtmlNoDoctype()
-
xhtmlAddBOM
public boolean xhtmlAddBOM()
-
xhtmlEncoding
public java.lang.String xhtmlEncoding()
-
useNamedEntities
public boolean useNamedEntities()
-
hexadecimalEntities
public boolean hexadecimalEntities()
-
prettyPrint
public boolean prettyPrint()
-
multilingual
public boolean multilingual()
-
templateIds
public java.lang.String templateIds()
-
separateStylesheet
public boolean separateStylesheet()
-
xhtmlCustomStylesheet
public java.lang.String xhtmlCustomStylesheet()
-
xhtmlFormatting
public int xhtmlFormatting()
-
xhtmlFrameFormatting
public int xhtmlFrameFormatting()
-
xhtmlSectionFormatting
public int xhtmlSectionFormatting()
-
xhtmlTableFormatting
public int xhtmlTableFormatting()
-
tableSize
public int tableSize()
-
listFormatting
public int listFormatting()
-
useDefaultFont
public boolean useDefaultFont()
-
defaultFontName
public java.lang.String defaultFontName()
-
xhtmlUseDublinCore
public boolean xhtmlUseDublinCore()
-
xhtmlNotes
public boolean xhtmlNotes()
-
displayHiddenText
public boolean displayHiddenText()
-
xhtmlConvertToPx
public boolean xhtmlConvertToPx()
-
getXhtmlScaling
public java.lang.String getXhtmlScaling()
-
getXhtmlColumnScaling
public java.lang.String getXhtmlColumnScaling()
-
relativeFontSize
public boolean relativeFontSize()
-
fontScaling
public java.lang.String fontScaling()
-
xhtmlFloatObjects
public boolean xhtmlFloatObjects()
-
getXhtmlTabstopStyle
public java.lang.String getXhtmlTabstopStyle()
-
getEndnotesHeading
public java.lang.String getEndnotesHeading()
-
getFootnotesHeading
public java.lang.String getFootnotesHeading()
-
formulas
public int formulas()
-
externalTocDepth
public int externalTocDepth()
-
includeToc
public boolean includeToc()
-
getXhtmlSplitLevel
public int getXhtmlSplitLevel()
-
getXhtmlRepeatLevels
public int getXhtmlRepeatLevels()
-
pageBreakSplit
public int pageBreakSplit()
-
splitAfter
public int splitAfter()
-
imageSplit
public java.lang.String imageSplit()
-
coverImage
public boolean coverImage()
-
embedSVG
public boolean embedSVG()
-
useMathJax
public boolean useMathJax()
-
xhtmlCalcSplit
public boolean xhtmlCalcSplit()
-
xhtmlDisplayHiddenSheets
public boolean xhtmlDisplayHiddenSheets()
-
displayHiddenRowsCols
public boolean displayHiddenRowsCols()
-
displayFilteredRowsCols
public boolean displayFilteredRowsCols()
-
applyPrintRanges
public boolean applyPrintRanges()
-
xhtmlUseTitleAsHeading
public boolean xhtmlUseTitleAsHeading()
-
xhtmlUseSheetNamesAsHeadings
public boolean xhtmlUseSheetNamesAsHeadings()
-
saveImagesInSubdir
public boolean saveImagesInSubdir()
-
getXhtmlUplink
public java.lang.String getXhtmlUplink()
-
getXhtmlDirectoryIcon
public java.lang.String getXhtmlDirectoryIcon()
-
getXhtmlDocumentIcon
public java.lang.String getXhtmlDocumentIcon()
-
getXParStyleMap
public XhtmlStyleMap getXParStyleMap()
-
getXHeadingStyleMap
public XhtmlStyleMap getXHeadingStyleMap()
-
getXTextStyleMap
public XhtmlStyleMap getXTextStyleMap()
-
getXFrameStyleMap
public XhtmlStyleMap getXFrameStyleMap()
-
getXListStyleMap
public XhtmlStyleMap getXListStyleMap()
-
getXAttrStyleMap
public XhtmlStyleMap getXAttrStyleMap()
-
-