public class ODTStyleContentHandler extends ODTBufferedDocumentContentHandler
| Modifier and Type | Field and Description |
|---|---|
protected List<Integer> |
existingStyles |
bufferedDocument, CDATA_TYPE| Constructor and Description |
|---|
ODTStyleContentHandler(String entryName,
FieldsMetadata fieldsMetadata,
IDocumentFormatter formatter,
Map<String,Object> sharedContext) |
| Modifier and Type | Method and Description |
|---|---|
protected ODTBufferedDocument |
createDocument() |
void |
doEndElement(String uri,
String localName,
String name) |
boolean |
doStartElement(String uri,
String localName,
String name,
Attributes attributes) |
protected void |
generateHeaderStyle(int level) |
protected String |
getTableCellName() |
protected String |
getTableRowName() |
protected boolean |
needToProcessAutomaticStyles() |
flushCharactersextractListDirectiveInfo, extractListDirectiveInfo, formatDirective, generateKey, getAfterRowToken, getAfterTableCellToken, getBeforeRowToken, getBeforeTableCellToken, getDirectives, getEndNoParse, getEntryName, getFieldAsTextStyling, getFieldsMetadata, getFormatter, getProcessRowResult, getSharedContext, getStartNoParse, getVariableIndex, hasSharedContext, isTable, isTableRow, processRowIfNeeded, processRowIfNeeded, processScriptAfter, processScriptBefore, registerBufferedElementcharacters, endElement, findParentElementInfo, findParentElementInfo, getBufferedDocument, getCurrentElement, getElementIndex, mustEncodeCharachers, printEscaped, resetCharacters, startDocument, startElement, startPrefixMapping, toAttributesImplendDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, unparsedEntityDecl, warningpublic ODTStyleContentHandler(String entryName, FieldsMetadata fieldsMetadata, IDocumentFormatter formatter, Map<String,Object> sharedContext)
protected boolean needToProcessAutomaticStyles()
needToProcessAutomaticStyles in class ODTBufferedDocumentContentHandlerpublic boolean doStartElement(String uri, String localName, String name, Attributes attributes) throws SAXException
doStartElement in class ODTBufferedDocumentContentHandlerSAXExceptionpublic void doEndElement(String uri, String localName, String name) throws SAXException
doEndElement in class ODTBufferedDocumentContentHandlerSAXExceptionprotected void generateHeaderStyle(int level)
protected String getTableRowName()
getTableRowName in class ODTBufferedDocumentContentHandlerprotected String getTableCellName()
getTableCellName in class ODTBufferedDocumentContentHandlerprotected ODTBufferedDocument createDocument()
createDocument in class ODTBufferedDocumentContentHandlerCopyright © 2016. All Rights Reserved.