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_GEOMETRY |
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 |
static int |
PDFANNOTATION |
static int |
PDFTEX |
static int |
UNSPECIFIED |
static int |
WARNING |
static int |
XETEX |
optionGroups, options
Constructor and Description |
---|
LaTeXConfig()
Construct a new
LaTeXConfig with default values for all options |
Modifier and Type | Method and Description |
---|---|
boolean |
alignFrames() |
java.lang.String |
bibtexStyle() |
boolean |
debug() |
boolean |
displayHiddenText() |
java.lang.String |
externalBibtexFiles() |
boolean |
floatFigures() |
boolean |
floatTables() |
int |
formatting() |
int |
getBackend() |
int |
getBibtexEncoding() |
java.lang.String |
getCustomPreamble() |
protected java.lang.String |
getDefaultConfigPath() |
java.lang.String |
getDocumentclass() |
java.lang.String |
getFigureSequenceName() |
java.lang.String |
getFloatOptions() |
java.lang.String |
getFont() |
java.lang.String |
getGlobalOptions() |
HeadingMap |
getHeadingMap() |
java.lang.String |
getImageOptions() |
int |
getInputencoding() |
StyleMap |
getListItemStyleMap() |
StyleMap |
getListStyleMap() |
java.util.Map<java.lang.String,java.lang.String> |
getMathSymbols() |
java.lang.String |
getNatbibOptions() |
java.lang.String |
getNotesCommand() |
java.lang.String |
getOption(java.lang.String sName)
Get a named option
|
protected int |
getOptionCount() |
StyleMap |
getParBlockStyleMap() |
StyleMap |
getParStyleMap() |
int |
getSimpleTableLimit() |
ReplacementTrie |
getStringReplace() |
java.lang.String |
getTableFirstHeadStyle() |
java.lang.String |
getTableFootStyle() |
java.lang.String |
getTableHeadStyle() |
java.lang.String |
getTableLastFootStyle() |
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 |
includeOriginalCitations() |
java.lang.String |
jabrefBibtexFiles() |
boolean |
metadata() |
boolean |
multilingual() |
boolean |
noIndex() |
boolean |
noPreamble() |
int |
notes() |
boolean |
oldMathColors() |
boolean |
originalImageSize() |
int |
otherStyles() |
int |
pageFormatting() |
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 |
useNatbib() |
boolean |
useOoomath() |
boolean |
usePifont() |
boolean |
useSupertabular() |
boolean |
useTabulary() |
boolean |
useTipa() |
boolean |
useTitleref() |
boolean |
useTitlesec() |
boolean |
useTitletoc() |
boolean |
useUlem() |
boolean |
useWasysym() |
protected void |
writeInner(org.w3c.dom.Document dom)
Write configuration information to an xml document.
|
java.lang.String |
zoteroBibtexFiles() |
addComplexOption, getComplexOption, 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 CONVERT_GEOMETRY
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
public LaTeXConfig()
LaTeXConfig
with default values for all optionsprotected 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 optionpublic java.lang.String getOption(java.lang.String sName)
Config
getOption
in interface Config
getOption
in class ConfigBase
sName
- the name of the optionnull
if the option does
not exist or the given name is nullprotected void readInner(org.w3c.dom.Element elm)
ConfigBase
readInner
in class ConfigBase
protected void writeInner(org.w3c.dom.Document dom)
ConfigBase
writeInner
in class ConfigBase
public HeadingMap getHeadingMap()
public StyleMap getParStyleMap()
public StyleMap getParBlockStyleMap()
public StyleMap getListStyleMap()
public StyleMap getListItemStyleMap()
public StyleMap getTextAttributeStyleMap()
public StyleMap getTextStyleMap()
public ReplacementTrie getStringReplace()
public java.util.Map<java.lang.String,java.lang.String> getMathSymbols()
public java.lang.String getCustomPreamble()
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 useTitlesec()
public boolean useTitletoc()
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 useBibtex()
public java.lang.String bibtexStyle()
public java.lang.String externalBibtexFiles()
public int getBibtexEncoding()
public java.lang.String zoteroBibtexFiles()
public java.lang.String jabrefBibtexFiles()
public boolean includeOriginalCitations()
public boolean useNatbib()
public java.lang.String getNatbibOptions()
public java.lang.String getFont()
public int formatting()
public int pageFormatting()
public int otherStyles()
public int imageContent()
public int tableContent()
public java.lang.String getTableFirstHeadStyle()
public java.lang.String getTableHeadStyle()
public java.lang.String getTableFootStyle()
public java.lang.String getTableLastFootStyle()
public boolean ignoreHardPageBreaks()
public boolean ignoreHardLineBreaks()
public boolean ignoreEmptyParagraphs()
public boolean ignoreDoubleSpaces()
public boolean displayHiddenText()
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 boolean oldMathColors()