writer2latex.xhtml
Class XhtmlConfig

java.lang.Object
  extended by writer2latex.base.ConfigBase
      extended by writer2latex.xhtml.XhtmlConfig
All Implemented Interfaces:
Config

public class XhtmlConfig
extends ConfigBase


Field Summary
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
XhtmlConfig()
           
 
Method Summary
 boolean applyPrintRanges()
           
 boolean displayFilteredRowsCols()
           
 boolean displayHiddenRowsCols()
           
protected  java.lang.String getDefaultConfigPath()
           
protected  int getOptionCount()
           
 XhtmlStyleMap getXAttrStyleMap()
           
 XhtmlStyleMap getXFrameStyleMap()
           
 java.lang.String getXhtmlColumnScaling()
           
 java.lang.String getXhtmlDirectoryIcon()
           
 java.lang.String getXhtmlDocumentIcon()
           
 int getXhtmlRepeatLevels()
           
 java.lang.String getXhtmlScaling()
           
 int getXhtmlSplitLevel()
           
 java.lang.String getXhtmlTabstopStyle()
           
 java.lang.String getXhtmlUplink()
           
 XhtmlStyleMap getXListStyleMap()
           
 XhtmlStyleMap getXParStyleMap()
           
 java.lang.String getXsltPath()
           
 XhtmlStyleMap getXTextStyleMap()
           
 boolean ignoreDoubleSpaces()
           
 boolean ignoreEmptyParagraphs()
           
 boolean ignoreHardLineBreaks()
           
 boolean originalImageSize()
           
protected  void readInner(org.w3c.dom.Element elm)
          Read configuration information from an xml element.
 boolean saveImagesInSubdir()
           
 void setOption(java.lang.String sName, java.lang.String sValue)
          Set a name/value option.
 boolean useNamedEntities()
           
protected  void writeInner(org.w3c.dom.Document dom)
          Write configuration information to an xml document.
 boolean xhtmlAddBOM()
           
 boolean xhtmlCalcSplit()
           
 boolean xhtmlConvertToPx()
           
 java.lang.String xhtmlCustomStylesheet()
           
 boolean xhtmlDisplayHiddenSheets()
           
 java.lang.String xhtmlEncoding()
           
 boolean xhtmlFloatObjects()
           
 int xhtmlFormatting()
           
 int xhtmlFrameFormatting()
           
 boolean xhtmlIgnoreTableDimensions()
           
 boolean xhtmlNoDoctype()
           
 boolean xhtmlNotes()
           
 int xhtmlSectionFormatting()
           
 int xhtmlTableFormatting()
           
 boolean xhtmlUseDublinCore()
           
 boolean xhtmlUseListHack()
           
 boolean xhtmlUseSheetNamesAsHeadings()
           
 boolean xhtmlUseTitleAsHeading()
           
 
Methods inherited from class writer2latex.base.ConfigBase
getOption, read, read, readDefaultConfig, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

XhtmlConfig

public XhtmlConfig()
Method Detail

getOptionCount

protected int getOptionCount()
Specified by:
getOptionCount in class ConfigBase

getDefaultConfigPath

protected java.lang.String getDefaultConfigPath()
Specified by:
getDefaultConfigPath in class ConfigBase

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 the Converter implementation as well as null values are silently ignored

Specified by:
setOption in interface Config
Overrides:
setOption in class ConfigBase
Parameters:
sName - the name of the option
sValue - 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 class ConfigBase

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 class ConfigBase

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()