public class LaTeXConfig extends ConfigBase
Modifier and Type | Field and Description |
---|---|
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 |
options
Constructor and Description |
---|
LaTeXConfig() |
Modifier and Type | Method and Description |
---|---|
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.
|
getOption, read, read, readDefaultConfig, write, write
public static final int GENERIC
public static final int DVIPS
public static final int PDFTEX
public static final int UNSPECIFIED
public static final int XETEX
public static final int IGNORE_ALL
public static final int IGNORE_MOST
public static final int CONVERT_BASIC
public static final int CONVERT_MOST
public static final int CONVERT_ALL
public static final int CONVERT_HEADER_FOOTER
public static final int IGNORE
public static final int ACCEPT
public static final int WARNING
public static final int ERROR
public static final int COMMENT
public static final int PDFANNOTATION
public static final int MARGINPAR
public static final int CUSTOM
protected int OPTION_COUNT
protected java.util.LinkedList customPreamble
protected StyleMap par
protected StyleMap parBlock
protected StyleMap text
protected StyleMap list
protected StyleMap listItem
protected StyleMap textAttr
protected HeadingMap headingMap
protected java.util.Hashtable mathSymbols
protected ReplacementTrie stringReplace
protected int getOptionCount()
getOptionCount
in class ConfigBase
protected java.lang.String getDefaultConfigPath()
getDefaultConfigPath
in class ConfigBase
public void setOption(java.lang.String sName, java.lang.String sValue)
Config
Converter
implementation as well as null values are
silently ignoredsetOption
in interface Config
setOption
in class ConfigBase
sName
- the name of the optionsValue
- the value of the optionprotected void readInner(org.w3c.dom.Element elm)
ConfigBase
readInner
in class ConfigBase
public void readHeadingMap(org.w3c.dom.Element node)
protected void writeInner(org.w3c.dom.Document dom)
ConfigBase
writeInner
in class ConfigBase
public ReplacementTrie getStringReplace()
public boolean debug()
public java.lang.String getDocumentclass()
public java.lang.String getGlobalOptions()
public int getBackend()
public int getInputencoding()
public boolean multilingual()
public boolean greekMath()
public boolean noPreamble()
public boolean noIndex()
public boolean useOoomath()
public boolean usePifont()
public boolean useIfsym()
public boolean useWasysym()
public boolean useBbding()
public boolean useEurosym()
public boolean useTipa()
public boolean useColor()
public boolean useColortbl()
public boolean useGeometry()
public boolean useFancyhdr()
public boolean useHyperref()
public boolean useCaption()
public boolean useLongtable()
public boolean useSupertabular()
public boolean useTabulary()
public boolean useEndnotes()
public boolean useUlem()
public boolean useLastpage()
public boolean useTitleref()
public boolean useOooref()
public boolean useBibtex()
public java.lang.String bibtexStyle()
public java.lang.String externalBibtexFiles()
public int formatting()
public int pageFormatting()
public int otherStyles()
public int imageContent()
public int tableContent()
public boolean ignoreHardPageBreaks()
public boolean ignoreHardLineBreaks()
public boolean ignoreEmptyParagraphs()
public boolean ignoreDoubleSpaces()
public boolean alignFrames()
public boolean floatFigures()
public boolean floatTables()
public java.lang.String getFloatOptions()
public java.lang.String getFigureSequenceName()
public java.lang.String getTableSequenceName()
public java.lang.String getImageOptions()
public boolean removeGraphicsExtension()
public boolean originalImageSize()
public int getSimpleTableLimit()
public int notes()
public java.lang.String getNotesCommand()
public boolean metadata()
public java.lang.String getTabstop()
public int getWrapLinesAfter()
public boolean splitLinkedSections()
public boolean splitToplevelSections()
public boolean saveImagesInSubdir()
public java.util.Hashtable getMathSymbols()
public StyleMap getParStyleMap()
public StyleMap getParBlockStyleMap()
public StyleMap getTextStyleMap()
public StyleMap getListStyleMap()
public StyleMap getListItemStyleMap()
public StyleMap getTextAttributeStyleMap()
public HeadingMap getHeadingMap()
public java.util.LinkedList getCustomPreamble()