Uses of Class
org.odftoolkit.odfdom.doc.OdfDocument
-
Packages that use OdfDocument Package Description org.odftoolkit.odfdom.changes org.odftoolkit.odfdom.doc The "Document Layer" exist for usability reasons, it gives a feature based view on the document model.org.odftoolkit.odfdom.doc.table Provide convenient methods to manipulate table in ODF text and spreadsheet document.org.odftoolkit.odfdom.incubator.doc.text -
-
Uses of OdfDocument in org.odftoolkit.odfdom.changes
Methods in org.odftoolkit.odfdom.changes with parameters of type OdfDocument Modifier and Type Method Description static void
JsonOperationConsumer. addDeleteHeaderFooter(OdfDocument doc, boolean insert, String id)
static void
JsonOperationConsumer. addListStyle(String listStyleId, org.json.JSONObject listDefinition, OdfDocument doc)
static void
JsonOperationConsumer. addStyles(OdfDocument doc, String type, String styleId, String styleName, org.json.JSONObject attrs, String parent, Boolean hidden, Boolean custom)
static void
JsonOperationConsumer. changeStyle(OdfDocument doc, String type, String styleId, String styleName, org.json.JSONObject attrs)
static void
JsonOperationConsumer. deleteStyle(OdfDocument doc, String styleId, String type)
Removes a template style from the documentstatic void
JsonOperationConsumer. mapCharacterProperties(org.json.JSONObject attrs, StyleTextPropertiesElement propertiesElement, OdfDocument doc)
static void
JsonOperationConsumer. mapProperties(OdfStyleFamily styleFamily, org.json.JSONObject attrs, OdfStyleBase style, OdfDocument doc)
static void
JsonOperationConsumer. modifyPages(OdfDocument doc, org.json.JSONObject attrs)
Modifys the page layout (ie. -
Uses of OdfDocument in org.odftoolkit.odfdom.doc
Subclasses of OdfDocument in org.odftoolkit.odfdom.doc Modifier and Type Class Description class
OdfChartDocument
This class represents an empty ODF document , which will be in general embedded in an existing ODF (Spreadsheet) document.class
OdfGraphicsDocument
This class represents an empty ODF graphics document.class
OdfImageDocument
This class represents an ODF image document.class
OdfPresentationDocument
This class represents an empty ODF presentation.class
OdfSpreadsheetDocument
This class represents an empty ODF spreadsheet document.class
OdfTextDocument
This class represents an empty ODF text document.Methods in org.odftoolkit.odfdom.doc that return OdfDocument Modifier and Type Method Description static OdfDocument
OdfDocument. loadDocument(File file)
Loads the ODF root document from the ODF package provided as a File.static OdfDocument
OdfDocument. loadDocument(InputStream inStream)
Loads the ODF root document from the ODF package provided by a Stream.static OdfDocument
OdfDocument. loadDocument(InputStream inStream, Boolean enableCollaboration)
Loads the ODF root document from the ODF package provided by a Stream.static OdfDocument
OdfDocument. loadDocument(InputStream inStream, Map<String,Object> configuration)
Loads the ODF root document from the ODF package provided by a Stream.static OdfDocument
OdfDocument. loadDocument(InputStream inStream, Map<String,Object> configuration, Boolean enableCollaboration)
Loads the ODF root document from the ODF package provided by a Stream.static OdfDocument
OdfDocument. loadDocument(String documentPath)
Loads the ODF root document from the ODF package provided by its path.static OdfDocument
OdfDocument. loadDocument(OdfPackage odfPackage)
Loads the ODF root document from the ODF package.static OdfDocument
OdfDocument. loadDocument(OdfPackage odfPackage, Boolean enableCollaboration)
Loads the ODF root document from the ODF package.static OdfDocument
OdfDocument. loadDocument(OdfPackage odfPackage, String internalPath)
Creates an OdfDocument from the OpenDocument provided by an ODF package.static OdfDocument
OdfDocument. loadDocument(OdfPackage odfPackage, String internalPath, Boolean enableCollaboration)
Creates an OdfDocument from the OpenDocument provided by an ODF package.OdfDocument
OdfDocument. loadSubDocument(String documentPath)
Returns an embedded OdfPackageDocument from the given package path.protected static OdfDocument
OdfDocument. loadTemplate(OdfPackageDocument.Resource res, OdfDocument.OdfMediaType odfMediaType)
Loads the ODF root document from the given Resource.protected static OdfDocument
OdfDocument. loadTemplate(OdfPackageDocument.Resource res, OdfDocument.OdfMediaType odfMediaType, Boolean enableCollaboration)
Loads the ODF root document from the given Resource.Methods in org.odftoolkit.odfdom.doc that return types with arguments of type OdfDocument Modifier and Type Method Description Map<String,OdfDocument>
OdfDocument. loadSubDocuments()
Method returns all embedded OdfPackageDocuments, which match a valid OdfMediaType, of the current OdfPackageDocument.Map<String,OdfDocument>
OdfDocument. loadSubDocuments(OdfDocument.OdfMediaType desiredMediaType)
Method returns all embedded OdfPackageDocuments of sthe current OdfPackageDocument matching the according MediaType. -
Uses of OdfDocument in org.odftoolkit.odfdom.doc.table
Fields in org.odftoolkit.odfdom.doc.table declared as OdfDocument Modifier and Type Field Description protected OdfDocument
OdfTable. mDocument
Methods in org.odftoolkit.odfdom.doc.table with parameters of type OdfDocument Modifier and Type Method Description static OdfTable
OdfTable. newTable(OdfDocument document)
Construct theOdfTable
feature.static OdfTable
OdfTable. newTable(OdfDocument document, int numRows, int numCols)
Construct theOdfTable
feature with a specified row number and column number.static OdfTable
OdfTable. newTable(OdfDocument document, int numRows, int numCols, int headerRowNumber, int headerColumnNumber)
Construct the OdfTable feature with a specified 2 dimension array as the data of this table.static OdfTable
OdfTable. newTable(OdfDocument document, String[] rowLabel, String[] columnLabel, double[][] data)
Construct the OdfTable feature with a specified 2 dimension array as the data of this table.static OdfTable
OdfTable. newTable(OdfDocument document, String[] rowLabel, String[] columnLabel, String[][] data)
Construct the OdfTable feature with a specified 2 dimension array as the data of this table. -
Uses of OdfDocument in org.odftoolkit.odfdom.incubator.doc.text
Methods in org.odftoolkit.odfdom.incubator.doc.text with parameters of type OdfDocument Modifier and Type Method Description static OdfEditableTextExtractor
OdfEditableTextExtractor. newOdfEditableTextExtractor(OdfDocument doc)
An instance of OdfEditableTextExtractor will be created to extract the editable text content of an ODF element.
-