writer2latex.xhtml

Class XhtmlConfig

Implemented Interfaces:
Config

public class XhtmlConfig
extends ConfigBase

XhtmlConfig.java This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 2.1, as published by the Free Software Foundation. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Copyright: 2002-2008 by Henrik Just All Rights Reserved. Version 1.0 (2008-11-14)

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 String
getDefaultConfigPath()
protected int
getOptionCount()
XhtmlStyleMap
getXAttrStyleMap()
XhtmlStyleMap
getXFrameStyleMap()
XhtmlStyleMap
getXListStyleMap()
XhtmlStyleMap
getXParStyleMap()
XhtmlStyleMap
getXTextStyleMap()
String
getXhtmlColumnScaling()
String
getXhtmlDirectoryIcon()
String
getXhtmlDocumentIcon()
int
getXhtmlRepeatLevels()
String
getXhtmlScaling()
int
getXhtmlSplitLevel()
String
getXhtmlTabstopStyle()
String
getXhtmlUplink()
String
getXsltPath()
boolean
ignoreDoubleSpaces()
boolean
ignoreEmptyParagraphs()
boolean
ignoreHardLineBreaks()
boolean
originalImageSize()
protected void
readInner(Element elm)
boolean
saveImagesInSubdir()
void
setOption(String sName, String sValue)
boolean
useNamedEntities()
protected void
writeInner(Document dom)
boolean
xhtmlAddBOM()
boolean
xhtmlCalcSplit()
boolean
xhtmlConvertToPx()
String
xhtmlCustomStylesheet()
boolean
xhtmlDisplayHiddenSheets()
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

getDefaultConfigPath, getOption, getOptionCount, read, read, readDefaultConfig, readInner, setOption, write, write, writeInner

Field Details

CONVERT_ALL

public static final int CONVERT_ALL
Field Value:
3

IGNORE_ALL

public static final int IGNORE_ALL
Field Value:
0

IGNORE_HARD

public static final int IGNORE_HARD
Field Value:
2

IGNORE_STYLES

public static final int IGNORE_STYLES
Field Value:
1

xattr

protected XhtmlStyleMap xattr

xframe

protected XhtmlStyleMap xframe

xlist

protected XhtmlStyleMap xlist

xpar

protected XhtmlStyleMap xpar

xtext

protected XhtmlStyleMap xtext

Constructor Details

XhtmlConfig

public XhtmlConfig()

Method Details

applyPrintRanges

public boolean applyPrintRanges()

displayFilteredRowsCols

public boolean displayFilteredRowsCols()

displayHiddenRowsCols

public boolean displayHiddenRowsCols()

getDefaultConfigPath

protected String getDefaultConfigPath()
Overrides:
getDefaultConfigPath in interface ConfigBase

getOptionCount

protected int getOptionCount()
Overrides:
getOptionCount in interface ConfigBase

getXAttrStyleMap

public XhtmlStyleMap getXAttrStyleMap()

getXFrameStyleMap

public XhtmlStyleMap getXFrameStyleMap()

getXListStyleMap

public XhtmlStyleMap getXListStyleMap()

getXParStyleMap

public XhtmlStyleMap getXParStyleMap()

getXTextStyleMap

public XhtmlStyleMap getXTextStyleMap()

getXhtmlColumnScaling

public String getXhtmlColumnScaling()

getXhtmlDirectoryIcon

public String getXhtmlDirectoryIcon()

getXhtmlDocumentIcon

public String getXhtmlDocumentIcon()

getXhtmlRepeatLevels

public int getXhtmlRepeatLevels()

getXhtmlScaling

public String getXhtmlScaling()

getXhtmlSplitLevel

public int getXhtmlSplitLevel()

getXhtmlTabstopStyle

public String getXhtmlTabstopStyle()

getXhtmlUplink

public String getXhtmlUplink()

getXsltPath

public String getXsltPath()

ignoreDoubleSpaces

public boolean ignoreDoubleSpaces()

ignoreEmptyParagraphs

public boolean ignoreEmptyParagraphs()

ignoreHardLineBreaks

public boolean ignoreHardLineBreaks()

originalImageSize

public boolean originalImageSize()

readInner

protected void readInner(Element elm)
Overrides:
readInner in interface ConfigBase

saveImagesInSubdir

public boolean saveImagesInSubdir()

setOption

public void setOption(String sName,
                      String sValue)
Specified by:
setOption in interface Config
Overrides:
setOption in interface ConfigBase

useNamedEntities

public boolean useNamedEntities()

writeInner

protected void writeInner(Document dom)
Overrides:
writeInner in interface ConfigBase

xhtmlAddBOM

public boolean xhtmlAddBOM()

xhtmlCalcSplit

public boolean xhtmlCalcSplit()

xhtmlConvertToPx

public boolean xhtmlConvertToPx()

xhtmlCustomStylesheet

public String xhtmlCustomStylesheet()

xhtmlDisplayHiddenSheets

public boolean xhtmlDisplayHiddenSheets()

xhtmlEncoding

public String xhtmlEncoding()

xhtmlFloatObjects

public boolean xhtmlFloatObjects()

xhtmlFormatting

public int xhtmlFormatting()

xhtmlFrameFormatting

public int xhtmlFrameFormatting()

xhtmlIgnoreTableDimensions

public boolean xhtmlIgnoreTableDimensions()

xhtmlNoDoctype

public boolean xhtmlNoDoctype()

xhtmlNotes

public boolean xhtmlNotes()

xhtmlSectionFormatting

public int xhtmlSectionFormatting()

xhtmlTableFormatting

public int xhtmlTableFormatting()

xhtmlUseDublinCore

public boolean xhtmlUseDublinCore()

xhtmlUseListHack

public boolean xhtmlUseListHack()

xhtmlUseSheetNamesAsHeadings

public boolean xhtmlUseSheetNamesAsHeadings()

xhtmlUseTitleAsHeading

public boolean xhtmlUseTitleAsHeading()