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 voidJsonOperationConsumer. addDeleteHeaderFooter(OdfDocument doc, boolean insert, String id)static voidJsonOperationConsumer. addListStyle(String listStyleId, org.json.JSONObject listDefinition, OdfDocument doc)static voidJsonOperationConsumer. addStyles(OdfDocument doc, String type, String styleId, String styleName, org.json.JSONObject attrs, String parent, Boolean hidden, Boolean custom)static voidJsonOperationConsumer. changeStyle(OdfDocument doc, String type, String styleId, String styleName, org.json.JSONObject attrs)static voidJsonOperationConsumer. deleteStyle(OdfDocument doc, String styleId, String type)Removes a template style from the documentstatic voidJsonOperationConsumer. mapCharacterProperties(org.json.JSONObject attrs, StyleTextPropertiesElement propertiesElement, OdfDocument doc)static voidJsonOperationConsumer. mapProperties(OdfStyleFamily styleFamily, org.json.JSONObject attrs, OdfStyleBase style, OdfDocument doc)static voidJsonOperationConsumer. 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 classOdfChartDocumentThis class represents an empty ODF document , which will be in general embedded in an existing ODF (Spreadsheet) document.classOdfGraphicsDocumentThis class represents an empty ODF graphics document.classOdfImageDocumentThis class represents an ODF image document.classOdfPresentationDocumentThis class represents an empty ODF presentation.classOdfSpreadsheetDocumentThis class represents an empty ODF spreadsheet document.classOdfTextDocumentThis class represents an empty ODF text document.Methods in org.odftoolkit.odfdom.doc that return OdfDocument Modifier and Type Method Description static OdfDocumentOdfDocument. loadDocument(File file)Loads the ODF root document from the ODF package provided as a File.static OdfDocumentOdfDocument. loadDocument(InputStream inStream)Loads the ODF root document from the ODF package provided by a Stream.static OdfDocumentOdfDocument. loadDocument(InputStream inStream, Boolean enableCollaboration)Loads the ODF root document from the ODF package provided by a Stream.static OdfDocumentOdfDocument. loadDocument(InputStream inStream, Map<String,Object> configuration)Loads the ODF root document from the ODF package provided by a Stream.static OdfDocumentOdfDocument. loadDocument(InputStream inStream, Map<String,Object> configuration, Boolean enableCollaboration)Loads the ODF root document from the ODF package provided by a Stream.static OdfDocumentOdfDocument. loadDocument(String documentPath)Loads the ODF root document from the ODF package provided by its path.static OdfDocumentOdfDocument. loadDocument(OdfPackage odfPackage)Loads the ODF root document from the ODF package.static OdfDocumentOdfDocument. loadDocument(OdfPackage odfPackage, Boolean enableCollaboration)Loads the ODF root document from the ODF package.static OdfDocumentOdfDocument. loadDocument(OdfPackage odfPackage, String internalPath)Creates an OdfDocument from the OpenDocument provided by an ODF package.static OdfDocumentOdfDocument. loadDocument(OdfPackage odfPackage, String internalPath, Boolean enableCollaboration)Creates an OdfDocument from the OpenDocument provided by an ODF package.OdfDocumentOdfDocument. loadSubDocument(String documentPath)Returns an embedded OdfPackageDocument from the given package path.protected static OdfDocumentOdfDocument. loadTemplate(OdfPackageDocument.Resource res, OdfDocument.OdfMediaType odfMediaType)Loads the ODF root document from the given Resource.protected static OdfDocumentOdfDocument. 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 OdfDocumentOdfTable. mDocumentMethods in org.odftoolkit.odfdom.doc.table with parameters of type OdfDocument Modifier and Type Method Description static OdfTableOdfTable. newTable(OdfDocument document)Construct theOdfTablefeature.static OdfTableOdfTable. newTable(OdfDocument document, int numRows, int numCols)Construct theOdfTablefeature with a specified row number and column number.static OdfTableOdfTable. 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 OdfTableOdfTable. 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 OdfTableOdfTable. 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 OdfEditableTextExtractorOdfEditableTextExtractor. newOdfEditableTextExtractor(OdfDocument doc)An instance of OdfEditableTextExtractor will be created to extract the editable text content of an ODF element.
-