writer2latex.util

Class Config

public class Config extends Object

Config.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-2007 by Henrik Just All Rights Reserved. Version 0.5 (2007-07-24)
Field Summary
static intACCEPT
protected booleanbDebug
protected LinkedListcustomPreamble
static intCOMMENT
static intCONVERT_ALL
static intCONVERT_BASIC
static intCONVERT_HEADER_FOOTER
static intCONVERT_MOST
static intCUSTOM
static intDVIPS
static intERROR
static intGENERIC
protected HeadingMapheadingMap
static intIGNORE
static intIGNORE_ALL
static intIGNORE_HARD
static intIGNORE_MOST
static intIGNORE_STYLES
protected StyleMaplist
protected StyleMaplistItem
protected HashtablemathSymbols
static intMARGINPAR
protected StyleMappar
protected StyleMapparBlock
static intPDFANNOTATION
static intPDFTEX
protected ReplacementTriestringReplace
protected StyleMaptext
static intUNSPECIFIED
static intWARNING
protected XhtmlStyleMapxattr
protected XhtmlStyleMapxframe
protected XhtmlStyleMapxlist
protected XhtmlStyleMapxpar
protected XhtmlStyleMapxtext
Constructor Summary
Config()
Method Summary
booleanalignFrames()
StringbibtexStyle()
booleandebug()
booleanfloatFigures()
booleanfloatTables()
intformatting()
intgetBackend()
LinkedListgetCustomPreamble()
StringgetDocumentclass()
StringgetFigureSequenceName()
StringgetFloatOptions()
StringgetGlobalOptions()
HeadingMapgetHeadingMap()
StringgetImageOptions()
intgetInputencoding()
StyleMapgetListItemStyleMap()
StyleMapgetListStyleMap()
HashtablegetMathSymbols()
StringgetNotesCommand()
StyleMapgetParBlockStyleMap()
StyleMapgetParStyleMap()
intgetSimpleTableLimit()
ReplacementTriegetStringReplace()
StringgetTableSequenceName()
StringgetTabstop()
StyleMapgetTextStyleMap()
intgetWrapLinesAfter()
XhtmlStyleMapgetXAttrStyleMap()
XhtmlStyleMapgetXFrameStyleMap()
StringgetXhtmlColumnScaling()
StringgetXhtmlDirectoryIcon()
StringgetXhtmlDocumentIcon()
StringgetXhtmlScaling()
intgetXhtmlSplitLevel()
StringgetXhtmlTabstopStyle()
StringgetXhtmlUplink()
XhtmlStyleMapgetXListStyleMap()
XhtmlStyleMapgetXParStyleMap()
XhtmlStyleMapgetXTextStyleMap()
booleangreekMath()
booleanignoreDoubleSpaces()
booleanignoreEmptyParagraphs()
booleanignoreHardLineBreaks()
booleanignoreHardPageBreaks()
intimageContent()
booleankeepImageSize()
booleanmultilingual()
booleannoIndex()
booleannoPreamble()
intnotes()
intotherStyles()
intpageFormatting()
voidread(InputStream is)

Read configuration from a specified input stream

voidreadHeadingMap(Node node)
booleanremoveGraphicsExtension()
voidsetOption(String sName, String sValue)
booleansplitLinkedSections()
booleansplitToplevelSections()
inttableContent()
booleanuseBbding()
booleanuseBibtex()
booleanuseCaption()
booleanuseColor()
booleanuseColortbl()
booleanuseEndnotes()
booleanuseEurosym()
booleanuseFancyhdr()
booleanuseGeometry()
booleanuseHyperref()
booleanuseIfsym()
booleanuseLastpage()
booleanuseLongtable()
booleanuseOoomath()
booleanuseOooref()
booleanusePifont()
booleanuseSupertabular()
booleanuseTabulary()
booleanuseTipa()
booleanuseTitleref()
booleanuseUlem()
booleanuseWasysym()
voidwrite(OutputStream os)
booleanxhtmlCalcSplit()
booleanxhtmlConvertToPx()
StringxhtmlCustomStylesheet()
StringxhtmlEncoding()
booleanxhtmlFloatObjects()
intxhtmlFormatting()
intxhtmlFrameFormatting()
booleanxhtmlIgnoreTableDimensions()
booleanxhtmlNoDoctype()
intxhtmlSectionFormatting()
intxhtmlTableFormatting()
booleanxhtmlUseDublinCore()
booleanxhtmlUseListHack()

Field Detail

ACCEPT

public static final int ACCEPT

bDebug

protected boolean bDebug

customPreamble

protected LinkedList customPreamble

COMMENT

public static final int COMMENT

CONVERT_ALL

public static final int CONVERT_ALL

CONVERT_BASIC

public static final int CONVERT_BASIC

CONVERT_HEADER_FOOTER

public static final int CONVERT_HEADER_FOOTER

CONVERT_MOST

public static final int CONVERT_MOST

CUSTOM

public static final int CUSTOM

DVIPS

public static final int DVIPS

ERROR

public static final int ERROR

GENERIC

public static final int GENERIC

headingMap

protected HeadingMap headingMap

IGNORE

public static final int IGNORE

IGNORE_ALL

public static final int IGNORE_ALL

IGNORE_HARD

public static final int IGNORE_HARD

IGNORE_MOST

public static final int IGNORE_MOST

IGNORE_STYLES

public static final int IGNORE_STYLES

list

protected StyleMap list

listItem

protected StyleMap listItem

mathSymbols

protected Hashtable mathSymbols

MARGINPAR

public static final int MARGINPAR

par

protected StyleMap par

parBlock

protected StyleMap parBlock

PDFANNOTATION

public static final int PDFANNOTATION

PDFTEX

public static final int PDFTEX

stringReplace

protected ReplacementTrie stringReplace

text

protected StyleMap text

UNSPECIFIED

public static final int UNSPECIFIED

WARNING

public static final int WARNING

xattr

protected XhtmlStyleMap xattr

xframe

protected XhtmlStyleMap xframe

xlist

protected XhtmlStyleMap xlist

xpar

protected XhtmlStyleMap xpar

xtext

protected XhtmlStyleMap xtext

Constructor Detail

Config

public Config()

Method Detail

alignFrames

public boolean alignFrames()

bibtexStyle

public String bibtexStyle()

debug

public boolean debug()

floatFigures

public boolean floatFigures()

floatTables

public boolean floatTables()

formatting

public int formatting()

getBackend

public int getBackend()

getCustomPreamble

public LinkedList getCustomPreamble()

getDocumentclass

public String getDocumentclass()

getFigureSequenceName

public String getFigureSequenceName()

getFloatOptions

public String getFloatOptions()

getGlobalOptions

public String getGlobalOptions()

getHeadingMap

public HeadingMap getHeadingMap()

getImageOptions

public String getImageOptions()

getInputencoding

public int getInputencoding()

getListItemStyleMap

public StyleMap getListItemStyleMap()

getListStyleMap

public StyleMap getListStyleMap()

getMathSymbols

public Hashtable getMathSymbols()

getNotesCommand

public String getNotesCommand()

getParBlockStyleMap

public StyleMap getParBlockStyleMap()

getParStyleMap

public StyleMap getParStyleMap()

getSimpleTableLimit

public int getSimpleTableLimit()

getStringReplace

public ReplacementTrie getStringReplace()

getTableSequenceName

public String getTableSequenceName()

getTabstop

public String getTabstop()

getTextStyleMap

public StyleMap getTextStyleMap()

getWrapLinesAfter

public int getWrapLinesAfter()

getXAttrStyleMap

public XhtmlStyleMap getXAttrStyleMap()

getXFrameStyleMap

public XhtmlStyleMap getXFrameStyleMap()

getXhtmlColumnScaling

public String getXhtmlColumnScaling()

getXhtmlDirectoryIcon

public String getXhtmlDirectoryIcon()

getXhtmlDocumentIcon

public String getXhtmlDocumentIcon()

getXhtmlScaling

public String getXhtmlScaling()

getXhtmlSplitLevel

public int getXhtmlSplitLevel()

getXhtmlTabstopStyle

public String getXhtmlTabstopStyle()

getXhtmlUplink

public String getXhtmlUplink()

getXListStyleMap

public XhtmlStyleMap getXListStyleMap()

getXParStyleMap

public XhtmlStyleMap getXParStyleMap()

getXTextStyleMap

public XhtmlStyleMap getXTextStyleMap()

greekMath

public boolean greekMath()

ignoreDoubleSpaces

public boolean ignoreDoubleSpaces()

ignoreEmptyParagraphs

public boolean ignoreEmptyParagraphs()

ignoreHardLineBreaks

public boolean ignoreHardLineBreaks()

ignoreHardPageBreaks

public boolean ignoreHardPageBreaks()

imageContent

public int imageContent()

keepImageSize

public boolean keepImageSize()

multilingual

public boolean multilingual()

noIndex

public boolean noIndex()

noPreamble

public boolean noPreamble()

notes

public int notes()

otherStyles

public int otherStyles()

pageFormatting

public int pageFormatting()

read

public void read(InputStream is)

Read configuration from a specified input stream

Parameters: is the input stream to read the configuration from

readHeadingMap

public void readHeadingMap(Node node)

removeGraphicsExtension

public boolean removeGraphicsExtension()

setOption

public void setOption(String sName, String sValue)

splitLinkedSections

public boolean splitLinkedSections()

splitToplevelSections

public boolean splitToplevelSections()

tableContent

public int tableContent()

useBbding

public boolean useBbding()

useBibtex

public boolean useBibtex()

useCaption

public boolean useCaption()

useColor

public boolean useColor()

useColortbl

public boolean useColortbl()

useEndnotes

public boolean useEndnotes()

useEurosym

public boolean useEurosym()

useFancyhdr

public boolean useFancyhdr()

useGeometry

public boolean useGeometry()

useHyperref

public boolean useHyperref()

useIfsym

public boolean useIfsym()

useLastpage

public boolean useLastpage()

useLongtable

public boolean useLongtable()

useOoomath

public boolean useOoomath()

useOooref

public boolean useOooref()

usePifont

public boolean usePifont()

useSupertabular

public boolean useSupertabular()

useTabulary

public boolean useTabulary()

useTipa

public boolean useTipa()

useTitleref

public boolean useTitleref()

useUlem

public boolean useUlem()

useWasysym

public boolean useWasysym()

write

public void write(OutputStream os)

xhtmlCalcSplit

public boolean xhtmlCalcSplit()

xhtmlConvertToPx

public boolean xhtmlConvertToPx()

xhtmlCustomStylesheet

public String xhtmlCustomStylesheet()

xhtmlEncoding

public String xhtmlEncoding()

xhtmlFloatObjects

public boolean xhtmlFloatObjects()

xhtmlFormatting

public int xhtmlFormatting()

xhtmlFrameFormatting

public int xhtmlFrameFormatting()

xhtmlIgnoreTableDimensions

public boolean xhtmlIgnoreTableDimensions()

xhtmlNoDoctype

public boolean xhtmlNoDoctype()

xhtmlSectionFormatting

public int xhtmlSectionFormatting()

xhtmlTableFormatting

public int xhtmlTableFormatting()

xhtmlUseDublinCore

public boolean xhtmlUseDublinCore()

xhtmlUseListHack

public boolean xhtmlUseListHack()