writer2latex.util
Class Config

java.lang.Object
  extended by writer2latex.util.Config

public class Config
extends java.lang.Object


Field Summary
static int ACCEPT
           
protected  boolean bDebug
           
static int COMMENT
           
static int CONVERT_ALL
           
static int CONVERT_BASIC
           
static int CONVERT_HEADER_FOOTER
           
static int CONVERT_MOST
           
static int CUSTOM
           
protected  java.util.LinkedList customPreamble
           
static int DVIPS
           
static int ERROR
           
static int GENERIC
           
protected  HeadingMap headingMap
           
static int IGNORE
           
static int IGNORE_ALL
           
static int IGNORE_HARD
           
static int IGNORE_MOST
           
static int IGNORE_STYLES
           
protected  StyleMap list
           
protected  StyleMap listItem
           
static int MARGINPAR
           
protected  java.util.Hashtable mathSymbols
           
protected  StyleMap par
           
protected  StyleMap parBlock
           
static int PDFANNOTATION
           
static int PDFTEX
           
protected  ReplacementTrie stringReplace
           
protected  StyleMap text
           
static int UNSPECIFIED
           
static int WARNING
           
protected  XhtmlStyleMap xattr
           
protected  XhtmlStyleMap xframe
           
protected  XhtmlStyleMap xlist
           
protected  XhtmlStyleMap xpar
           
protected  XhtmlStyleMap xtext
           
 
Constructor Summary
Config()
           
 
Method Summary
 boolean alignFrames()
           
 java.lang.String bibtexStyle()
           
 boolean debug()
           
 boolean floatFigures()
           
 boolean floatTables()
           
 int formatting()
           
 int getBackend()
           
 java.util.LinkedList getCustomPreamble()
           
 java.lang.String getDocumentclass()
           
 java.lang.String getFigureSequenceName()
           
 java.lang.String getFloatOptions()
           
 java.lang.String getGlobalOptions()
           
 HeadingMap getHeadingMap()
           
 java.lang.String getImageOptions()
           
 int getInputencoding()
           
 StyleMap getListItemStyleMap()
           
 StyleMap getListStyleMap()
           
 java.util.Hashtable getMathSymbols()
           
 java.lang.String getNotesCommand()
           
 StyleMap getParBlockStyleMap()
           
 StyleMap getParStyleMap()
           
 int getSimpleTableLimit()
           
 ReplacementTrie getStringReplace()
           
 java.lang.String getTableSequenceName()
           
 java.lang.String getTabstop()
           
 StyleMap getTextStyleMap()
           
 int getWrapLinesAfter()
           
 XhtmlStyleMap getXAttrStyleMap()
           
 XhtmlStyleMap getXFrameStyleMap()
           
 java.lang.String getXhtmlColumnScaling()
           
 java.lang.String getXhtmlDirectoryIcon()
           
 java.lang.String getXhtmlDocumentIcon()
           
 java.lang.String getXhtmlScaling()
           
 int getXhtmlSplitLevel()
           
 java.lang.String getXhtmlTabstopStyle()
           
 java.lang.String getXhtmlUplink()
           
 XhtmlStyleMap getXListStyleMap()
           
 XhtmlStyleMap getXParStyleMap()
           
 XhtmlStyleMap getXTextStyleMap()
           
 boolean greekMath()
           
 boolean ignoreDoubleSpaces()
           
 boolean ignoreEmptyParagraphs()
           
 boolean ignoreHardLineBreaks()
           
 boolean ignoreHardPageBreaks()
           
 int imageContent()
           
 boolean keepImageSize()
           
 boolean multilingual()
           
 boolean noIndex()
           
 boolean noPreamble()
           
 int notes()
           
 int otherStyles()
           
 int pageFormatting()
           
 void read(java.io.InputStream is)
          Read configuration from a specified input stream
 void readHeadingMap(org.w3c.dom.Node node)
           
 boolean removeGraphicsExtension()
           
 void setOption(java.lang.String sName, java.lang.String sValue)
           
 boolean splitLinkedSections()
           
 boolean splitToplevelSections()
           
 int tableContent()
           
 boolean useBbding()
           
 boolean useBibtex()
           
 boolean useCaption()
           
 boolean useColor()
           
 boolean useColortbl()
           
 boolean useEndnotes()
           
 boolean useEurosym()
           
 boolean useFancyhdr()
           
 boolean useGeometry()
           
 boolean useHyperref()
           
 boolean useIfsym()
           
 boolean useLastpage()
           
 boolean useLongtable()
           
 boolean useOoomath()
           
 boolean useOooref()
           
 boolean usePifont()
           
 boolean useSupertabular()
           
 boolean useTabulary()
           
 boolean useTipa()
           
 boolean useTitleref()
           
 boolean useUlem()
           
 boolean useWasysym()
           
 void write(java.io.OutputStream os)
           
 boolean xhtmlCalcSplit()
           
 boolean xhtmlConvertToPx()
           
 java.lang.String xhtmlCustomStylesheet()
           
 java.lang.String xhtmlEncoding()
           
 boolean xhtmlFloatObjects()
           
 int xhtmlFormatting()
           
 int xhtmlFrameFormatting()
           
 boolean xhtmlIgnoreTableDimensions()
           
 boolean xhtmlNoDoctype()
           
 int xhtmlSectionFormatting()
           
 int xhtmlTableFormatting()
           
 boolean xhtmlUseDublinCore()
           
 boolean xhtmlUseListHack()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GENERIC

public static final int GENERIC
See Also:
Constant Field Values

DVIPS

public static final int DVIPS
See Also:
Constant Field Values

PDFTEX

public static final int PDFTEX
See Also:
Constant Field Values

UNSPECIFIED

public static final int UNSPECIFIED
See Also:
Constant Field Values

IGNORE_ALL

public static final int IGNORE_ALL
See Also:
Constant Field Values

IGNORE_MOST

public static final int IGNORE_MOST
See Also:
Constant Field Values

CONVERT_BASIC

public static final int CONVERT_BASIC
See Also:
Constant Field Values

CONVERT_MOST

public static final int CONVERT_MOST
See Also:
Constant Field Values

CONVERT_ALL

public static final int CONVERT_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_HEADER_FOOTER

public static final int CONVERT_HEADER_FOOTER
See Also:
Constant Field Values

IGNORE

public static final int IGNORE
See Also:
Constant Field Values

ACCEPT

public static final int ACCEPT
See Also:
Constant Field Values

WARNING

public static final int WARNING
See Also:
Constant Field Values

ERROR

public static final int ERROR
See Also:
Constant Field Values

COMMENT

public static final int COMMENT
See Also:
Constant Field Values

PDFANNOTATION

public static final int PDFANNOTATION
See Also:
Constant Field Values

MARGINPAR

public static final int MARGINPAR
See Also:
Constant Field Values

CUSTOM

public static final int CUSTOM
See Also:
Constant Field Values

bDebug

protected boolean bDebug

customPreamble

protected java.util.LinkedList customPreamble

par

protected StyleMap par

parBlock

protected StyleMap parBlock

text

protected StyleMap text

list

protected StyleMap list

listItem

protected StyleMap listItem

headingMap

protected HeadingMap headingMap

xpar

protected XhtmlStyleMap xpar

xtext

protected XhtmlStyleMap xtext

xframe

protected XhtmlStyleMap xframe

xlist

protected XhtmlStyleMap xlist

xattr

protected XhtmlStyleMap xattr

mathSymbols

protected java.util.Hashtable mathSymbols

stringReplace

protected ReplacementTrie stringReplace
Constructor Detail

Config

public Config()
Method Detail

setOption

public void setOption(java.lang.String sName,
                      java.lang.String sValue)

read

public void read(java.io.InputStream is)

Read configuration from a specified input stream

Parameters:
is - the input stream to read the configuration from

readHeadingMap

public void readHeadingMap(org.w3c.dom.Node node)

write

public void write(java.io.OutputStream os)

getStringReplace

public ReplacementTrie getStringReplace()

debug

public boolean debug()

getDocumentclass

public java.lang.String getDocumentclass()

getGlobalOptions

public java.lang.String getGlobalOptions()

getBackend

public int getBackend()

getInputencoding

public int getInputencoding()

multilingual

public boolean multilingual()

greekMath

public boolean greekMath()

noPreamble

public boolean noPreamble()

noIndex

public boolean noIndex()

useOoomath

public boolean useOoomath()

usePifont

public boolean usePifont()

useIfsym

public boolean useIfsym()

useWasysym

public boolean useWasysym()

useBbding

public boolean useBbding()

useEurosym

public boolean useEurosym()

useTipa

public boolean useTipa()

useColor

public boolean useColor()

useColortbl

public boolean useColortbl()

useGeometry

public boolean useGeometry()

useFancyhdr

public boolean useFancyhdr()

useHyperref

public boolean useHyperref()

useCaption

public boolean useCaption()

useLongtable

public boolean useLongtable()

useSupertabular

public boolean useSupertabular()

useTabulary

public boolean useTabulary()

useEndnotes

public boolean useEndnotes()

useUlem

public boolean useUlem()

useLastpage

public boolean useLastpage()

useTitleref

public boolean useTitleref()

useOooref

public boolean useOooref()

useBibtex

public boolean useBibtex()

bibtexStyle

public java.lang.String bibtexStyle()

formatting

public int formatting()

pageFormatting

public int pageFormatting()

otherStyles

public int otherStyles()

imageContent

public int imageContent()

tableContent

public int tableContent()

ignoreHardPageBreaks

public boolean ignoreHardPageBreaks()

ignoreHardLineBreaks

public boolean ignoreHardLineBreaks()

ignoreEmptyParagraphs

public boolean ignoreEmptyParagraphs()

ignoreDoubleSpaces

public boolean ignoreDoubleSpaces()

alignFrames

public boolean alignFrames()

floatFigures

public boolean floatFigures()

floatTables

public boolean floatTables()

getFloatOptions

public java.lang.String getFloatOptions()

getFigureSequenceName

public java.lang.String getFigureSequenceName()

getTableSequenceName

public java.lang.String getTableSequenceName()

getImageOptions

public java.lang.String getImageOptions()

removeGraphicsExtension

public boolean removeGraphicsExtension()

keepImageSize

public boolean keepImageSize()

getSimpleTableLimit

public int getSimpleTableLimit()

notes

public int notes()

getNotesCommand

public java.lang.String getNotesCommand()

getTabstop

public java.lang.String getTabstop()

getWrapLinesAfter

public int getWrapLinesAfter()

splitLinkedSections

public boolean splitLinkedSections()

splitToplevelSections

public boolean splitToplevelSections()

xhtmlNoDoctype

public boolean xhtmlNoDoctype()

xhtmlEncoding

public java.lang.String xhtmlEncoding()

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

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

xhtmlCalcSplit

public boolean xhtmlCalcSplit()

getXhtmlUplink

public java.lang.String getXhtmlUplink()

getXhtmlDirectoryIcon

public java.lang.String getXhtmlDirectoryIcon()

getXhtmlDocumentIcon

public java.lang.String getXhtmlDocumentIcon()

getMathSymbols

public java.util.Hashtable getMathSymbols()

getParStyleMap

public StyleMap getParStyleMap()

getParBlockStyleMap

public StyleMap getParBlockStyleMap()

getTextStyleMap

public StyleMap getTextStyleMap()

getListStyleMap

public StyleMap getListStyleMap()

getListItemStyleMap

public StyleMap getListItemStyleMap()

getHeadingMap

public HeadingMap getHeadingMap()

getCustomPreamble

public java.util.LinkedList getCustomPreamble()

getXParStyleMap

public XhtmlStyleMap getXParStyleMap()

getXTextStyleMap

public XhtmlStyleMap getXTextStyleMap()

getXFrameStyleMap

public XhtmlStyleMap getXFrameStyleMap()

getXListStyleMap

public XhtmlStyleMap getXListStyleMap()

getXAttrStyleMap

public XhtmlStyleMap getXAttrStyleMap()