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
CONVERT_ALL
static int
IGNORE_ALL
static int
IGNORE_HARD
static int
IGNORE_STYLES
protected XhtmlStyleMap
xattr
protected XhtmlStyleMap
xframe
protected XhtmlStyleMap
xlist
protected XhtmlStyleMap
xpar
protected XhtmlStyleMap
xtext
-
Fields inherited from class writer2latex.base.ConfigBase
options
-
-
Constructor Summary
Constructors Constructor Description XhtmlConfig()
-
Method Summary
-
Methods inherited from class writer2latex.base.ConfigBase
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
-
xpar
protected XhtmlStyleMap xpar
-
xtext
protected XhtmlStyleMap xtext
-
xframe
protected XhtmlStyleMap xframe
-
xlist
protected XhtmlStyleMap xlist
-
xattr
protected XhtmlStyleMap 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()
-
originalImageSize
public boolean originalImageSize()
-
xhtmlNoDoctype
public boolean xhtmlNoDoctype()
-
xhtmlAddBOM
public boolean xhtmlAddBOM()
-
xhtmlEncoding
public java.lang.String xhtmlEncoding()
-
useNamedEntities
public boolean useNamedEntities()
-
xhtmlCustomStylesheet
public java.lang.String xhtmlCustomStylesheet()
-
xhtmlFormatting
public int xhtmlFormatting()
-
xhtmlFrameFormatting
public int xhtmlFrameFormatting()
-
xhtmlSectionFormatting
public int xhtmlSectionFormatting()
-
xhtmlTableFormatting
public int xhtmlTableFormatting()
-
xhtmlIgnoreTableDimensions
public boolean xhtmlIgnoreTableDimensions()
-
xhtmlUseDublinCore
public boolean xhtmlUseDublinCore()
-
xhtmlNotes
public boolean xhtmlNotes()
-
xhtmlConvertToPx
public boolean xhtmlConvertToPx()
-
getXhtmlScaling
public java.lang.String getXhtmlScaling()
-
getXhtmlColumnScaling
public java.lang.String getXhtmlColumnScaling()
-
xhtmlFloatObjects
public boolean xhtmlFloatObjects()
-
getXhtmlTabstopStyle
public java.lang.String getXhtmlTabstopStyle()
-
xhtmlUseListHack
public boolean xhtmlUseListHack()
-
getXhtmlSplitLevel
public int getXhtmlSplitLevel()
-
getXhtmlRepeatLevels
public int getXhtmlRepeatLevels()
-
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()
-
getXsltPath
public java.lang.String getXsltPath()
-
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()
-
getXTextStyleMap
public XhtmlStyleMap getXTextStyleMap()
-
getXFrameStyleMap
public XhtmlStyleMap getXFrameStyleMap()
-
getXListStyleMap
public XhtmlStyleMap getXListStyleMap()
-
getXAttrStyleMap
public XhtmlStyleMap getXAttrStyleMap()
-
-