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 int
ABSOLUTE
static int
ALL
static int
CONVERT_ALL
static int
CSS1
static int
CSS1_HACK
static int
EXPLICIT
static int
HARD_LABELS
static int
IGNORE_ALL
static int
IGNORE_HARD
static int
IGNORE_STYLES
static int
IMAGE_LATEX
static int
IMAGE_STARMATH
static int
LATEX
static int
NONE
static int
RELATIVE
static int
STARMATH
static int
STYLES
protected ComplexOption
xattr
protected ComplexOption
xframe
protected ComplexOption
xheading
protected ComplexOption
xlist
protected ComplexOption
xpar
protected ComplexOption
xtext
-
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:
getOptionCount
in classConfigBase
-
getDefaultConfigPath
protected java.lang.String getDefaultConfigPath()
- Specified by:
getDefaultConfigPath
in classConfigBase
-
setOption
public void setOption(java.lang.String sName, java.lang.String sValue)
Description copied from interface:Config
Set a name/value option. Options that are not defined by theConverter
implementation as well as null values are silently ignored- Specified by:
setOption
in interfaceConfig
- Overrides:
setOption
in 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:ConfigBase
Read configuration information from an xml element. The subclass must define this to read richer configuration data- Specified by:
readInner
in classConfigBase
-
writeInner
protected void writeInner(org.w3c.dom.Document dom)
Description copied from class:ConfigBase
Write configuration information to an xml document. The subclass must define this to write richer configuration data- Specified by:
writeInner
in 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()
-
-