#include <Document.h>
Public Methods | |
| Revision () | |
| Revision (NumID fileid, string mimetype, time_t date) | |
| ~Revision () | |
| NumID | getFileId () |
| string | getMimetype () |
| time_t | getDate () |
| DocumentError | addRendition (string mimetype, NumID fileid) |
| DocumentError | removeRendition (string mimetype) |
| NumID | getRendition (string mimetype) |
| vector< string > | listRenditions () |
| void | toXML (XMLWriter &xml, NumID revid) const |
|
|
Constructor. |
|
||||||||||||||||
|
Constructor. |
|
|
Destructor. |
|
||||||||||||
|
Add rendition.
|
|
|
Returns the date of this revision. |
|
|
Returns the file ID of this revision. |
|
|
Returns the MIME type of this revision. |
|
|
Get rendition.
|
|
|
List available renditions as MIME types. |
|
|
Remove rendition, which can not be the original document.
|
|
||||||||||||
|
Writes an XML representation of the revision.
|
1.2.18