pear:packages:opendocument
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
pear:packages:opendocument [2011/08/24 02:14] – Some initial notes. samwilson | pear:packages:opendocument [2011/08/24 06:29] – Some thoughts on how to continue to structure this package samwilson | ||
---|---|---|---|
Line 3: | Line 3: | ||
^ Current version: | ^ Current version: | ||
^ Source repository: | https:// | ^ Source repository: | https:// | ||
+ | ^ Bug tracker: | ||
OpenDocument is a package to create, read and update [[http:// | OpenDocument is a package to create, read and update [[http:// | ||
Line 70: | Line 71: | ||
* [[http:// | * [[http:// | ||
* https:// | * https:// | ||
+ | |||
+ | ===== Future Development ===== | ||
+ | |||
+ | Some notes about possibilities for the further development of this package... | ||
+ | |||
+ | * '' | ||
+ | * All elements to be sub-classes of '' | ||
+ | * The five root elements to be subclasses of '' | ||
+ | * Each of the seven ODF document types to be represented by '' | ||
+ | * The '' | ||
+ | * A couple of use cases: | ||
+ | * <code php> | ||
+ | // A new text document, saved. | ||
+ | $textDoc = new OpenDocument_Text(); | ||
+ | $heading = new OpenDocument_Element_Text_H(); | ||
+ | $heading-> | ||
+ | $textDoc-> | ||
+ | $textDoc-> | ||
+ | </ | ||
+ | * <code php> | ||
+ | // An existing spreadsheet, | ||
+ | $spreadsheet = new OpenDocument_Spreadsheet(' | ||
+ | $spreadsheet-> | ||
+ | $spreadsheet-> | ||
+ | </ | ||
+ | * There will be additional convenience methods at various levels, things like '' | ||
+ | |||
+ | The (incomplete) hierarchy would then be along these lines: | ||
+ | |||
+ | ^Super-class | ||
+ | | | OpenDocument | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | OpenDocument_Storage | ||
+ | | | ||
+ | | | ||
+ | | DOMDocument | ||
+ | | | OpenDocument_Element_Office_DocumentContent | ||
+ | | | OpenDocument_Element_Office_DocumentStyles | ||
+ | | | OpenDocument_Element_Office_DocumentMeta | ||
+ | | | OpenDocument_Element_Office_DocumentSettings | | | ||
+ | | PEAR_Exception | ||
+ | | DOMElement | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |||
pear/packages/opendocument.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1