writer2latex.latex
Class LaTeXConfig

java.lang.Object
  extended by writer2latex.base.ConfigBase
      extended by writer2latex.latex.LaTeXConfig
All Implemented Interfaces:
Config

public class LaTeXConfig
extends ConfigBase


Field Summary
static int ACCEPT
           
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_MOST
           
protected  StyleMap list
           
protected  StyleMap listItem
           
static int MARGINPAR
           
protected  java.util.Hashtable mathSymbols
           
protected  int OPTION_COUNT
           
protected  StyleMap par
           
protected  StyleMap parBlock
           
static int PDFANNOTATION
           
static int PDFTEX
           
protected  ReplacementTrie stringReplace
           
protected  StyleMap text
           
protected  StyleMap textAttr
           
static int UNSPECIFIED
           
static int WARNING
           
static int XETEX
           
 
Fields inherited from class writer2latex.base.ConfigBase
options
 
Constructor Summary
LaTeXConfig()
           
 
Method Summary
 boolean alignFrames()
           
 java.lang.String bibtexStyle()
           
 boolean debug()
           
 java.lang.String externalBibtexFiles()
           
 boolean floatFigures()
           
 boolean floatTables()
           
 int formatting()
           
 int getBackend()
           
 java.util.LinkedList getCustomPreamble()
           
protected  java.lang.String getDefaultConfigPath()
           
 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()
           
protected  int getOptionCount()
           
 StyleMap getParBlockStyleMap()
           
 StyleMap getParStyleMap()
           
 int getSimpleTableLimit()
           
 ReplacementTrie getStringReplace()
           
 java.lang.String getTableSequenceName()
           
 java.lang.String getTabstop()
           
 StyleMap getTextAttributeStyleMap()
           
 StyleMap getTextStyleMap()
           
 int getWrapLinesAfter()
           
 boolean greekMath()
           
 boolean ignoreDoubleSpaces()
           
 boolean ignoreEmptyParagraphs()
           
 boolean ignoreHardLineBreaks()
           
 boolean ignoreHardPageBreaks()
           
 int imageContent()
           
 boolean metadata()
           
 boolean multilingual()
           
 boolean noIndex()
           
 boolean noPreamble()
           
 int notes()
           
 boolean originalImageSize()
           
 int otherStyles()
           
 int pageFormatting()
           
 void readHeadingMap(org.w3c.dom.Element node)
           
protected  void readInner(org.w3c.dom.Element elm)
          Read configuration information from an xml element.
 boolean removeGraphicsExtension()
           
 boolean saveImagesInSubdir()
           
 void setOption(java.lang.String sName, java.lang.String sValue)
          Set a name/value option.
 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()
           
protected  void writeInner(org.w3c.dom.Document dom)
          Write configuration information to an xml document.
 
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

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

XETEX

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

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

OPTION_COUNT

protected int OPTION_COUNT

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

textAttr

protected StyleMap textAttr

headingMap

protected HeadingMap headingMap

mathSymbols

protected java.util.Hashtable mathSymbols

stringReplace

protected ReplacementTrie stringReplace
Constructor Detail

LaTeXConfig

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

readHeadingMap

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

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

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

externalBibtexFiles

public java.lang.String externalBibtexFiles()

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

originalImageSize

public boolean originalImageSize()

getSimpleTableLimit

public int getSimpleTableLimit()

notes

public int notes()

getNotesCommand

public java.lang.String getNotesCommand()

metadata

public boolean metadata()

getTabstop

public java.lang.String getTabstop()

getWrapLinesAfter

public int getWrapLinesAfter()

splitLinkedSections

public boolean splitLinkedSections()

splitToplevelSections

public boolean splitToplevelSections()

saveImagesInSubdir

public boolean saveImagesInSubdir()

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

getTextAttributeStyleMap

public StyleMap getTextAttributeStyleMap()

getHeadingMap

public HeadingMap getHeadingMap()

getCustomPreamble

public java.util.LinkedList getCustomPreamble()