writer2latex.latex

Class LaTeXConfig

Implemented Interfaces:
Config

public class LaTeXConfig
extends ConfigBase

LaTeXConfig.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-2009 by Henrik Just All Rights Reserved. Version 1.0 (2009-02-17)

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
static int
DVIPS
static int
ERROR
static int
GENERIC
static int
IGNORE
static int
IGNORE_ALL
static int
IGNORE_MOST
static int
MARGINPAR
protected int
OPTION_COUNT
static int
PDFANNOTATION
static int
PDFTEX
static int
UNSPECIFIED
static int
WARNING
static int
XETEX
protected LinkedList
customPreamble
protected HeadingMap
headingMap
protected StyleMap
list
protected StyleMap
listItem
protected Hashtable
mathSymbols
protected StyleMap
par
protected StyleMap
parBlock
protected ReplacementTrie
stringReplace
protected StyleMap
text
protected StyleMap
textAttr

Fields inherited from class writer2latex.base.ConfigBase

options

Constructor Summary

LaTeXConfig()

Method Summary

boolean
alignFrames()
String
bibtexStyle()
boolean
debug()
String
externalBibtexFiles()
boolean
floatFigures()
boolean
floatTables()
int
formatting()
int
getBackend()
LinkedList
getCustomPreamble()
protected String
getDefaultConfigPath()
String
getDocumentclass()
String
getFigureSequenceName()
String
getFloatOptions()
String
getGlobalOptions()
HeadingMap
getHeadingMap()
String
getImageOptions()
int
getInputencoding()
StyleMap
getListItemStyleMap()
StyleMap
getListStyleMap()
Hashtable
getMathSymbols()
String
getNotesCommand()
protected int
getOptionCount()
StyleMap
getParBlockStyleMap()
StyleMap
getParStyleMap()
int
getSimpleTableLimit()
ReplacementTrie
getStringReplace()
String
getTableSequenceName()
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(Element node)
protected void
readInner(Element elm)
boolean
removeGraphicsExtension()
boolean
saveImagesInSubdir()
void
setOption(String sName, 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()
protected void
writeInner(Document dom)

Methods inherited from class writer2latex.base.ConfigBase

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

Field Details

ACCEPT

public static final int ACCEPT
Field Value:
1

COMMENT

public static final int COMMENT
Field Value:
1

CONVERT_ALL

public static final int CONVERT_ALL
Field Value:
4

CONVERT_BASIC

public static final int CONVERT_BASIC
Field Value:
2

CONVERT_HEADER_FOOTER

public static final int CONVERT_HEADER_FOOTER
Field Value:
5

CONVERT_MOST

public static final int CONVERT_MOST
Field Value:
3

CUSTOM

public static final int CUSTOM
Field Value:
4

DVIPS

public static final int DVIPS
Field Value:
1

ERROR

public static final int ERROR
Field Value:
3

GENERIC

public static final int GENERIC
Field Value:
0

IGNORE

public static final int IGNORE
Field Value:
0

IGNORE_ALL

public static final int IGNORE_ALL
Field Value:
0

IGNORE_MOST

public static final int IGNORE_MOST
Field Value:
1

MARGINPAR

public static final int MARGINPAR
Field Value:
3

OPTION_COUNT

protected int OPTION_COUNT

PDFANNOTATION

public static final int PDFANNOTATION
Field Value:
2

PDFTEX

public static final int PDFTEX
Field Value:
2

UNSPECIFIED

public static final int UNSPECIFIED
Field Value:
3

WARNING

public static final int WARNING
Field Value:
2

XETEX

public static final int XETEX
Field Value:
4

customPreamble

protected LinkedList customPreamble

headingMap

protected HeadingMap headingMap

list

protected StyleMap list

listItem

protected StyleMap listItem

mathSymbols

protected Hashtable mathSymbols

par

protected StyleMap par

parBlock

protected StyleMap parBlock

stringReplace

protected ReplacementTrie stringReplace

text

protected StyleMap text

textAttr

protected StyleMap textAttr

Constructor Details

LaTeXConfig

public LaTeXConfig()

Method Details

alignFrames

public boolean alignFrames()

bibtexStyle

public String bibtexStyle()

debug

public boolean debug()

externalBibtexFiles

public String externalBibtexFiles()

floatFigures

public boolean floatFigures()

floatTables

public boolean floatTables()

formatting

public int formatting()

getBackend

public int getBackend()

getCustomPreamble

public LinkedList getCustomPreamble()

getDefaultConfigPath

protected String getDefaultConfigPath()
Overrides:
getDefaultConfigPath in interface ConfigBase

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

getOptionCount

protected int getOptionCount()
Overrides:
getOptionCount in interface ConfigBase

getParBlockStyleMap

public StyleMap getParBlockStyleMap()

getParStyleMap

public StyleMap getParStyleMap()

getSimpleTableLimit

public int getSimpleTableLimit()

getStringReplace

public ReplacementTrie getStringReplace()

getTableSequenceName

public String getTableSequenceName()

getTabstop

public String getTabstop()

getTextAttributeStyleMap

public StyleMap getTextAttributeStyleMap()

getTextStyleMap

public StyleMap getTextStyleMap()

getWrapLinesAfter

public int getWrapLinesAfter()

greekMath

public boolean greekMath()

ignoreDoubleSpaces

public boolean ignoreDoubleSpaces()

ignoreEmptyParagraphs

public boolean ignoreEmptyParagraphs()

ignoreHardLineBreaks

public boolean ignoreHardLineBreaks()

ignoreHardPageBreaks

public boolean ignoreHardPageBreaks()

imageContent

public int imageContent()

metadata

public boolean metadata()

multilingual

public boolean multilingual()

noIndex

public boolean noIndex()

noPreamble

public boolean noPreamble()

notes

public int notes()

originalImageSize

public boolean originalImageSize()

otherStyles

public int otherStyles()

pageFormatting

public int pageFormatting()

readHeadingMap

public void readHeadingMap(Element node)

readInner

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

removeGraphicsExtension

public boolean removeGraphicsExtension()

saveImagesInSubdir

public boolean saveImagesInSubdir()

setOption

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

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

writeInner

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