Classes | |
class | OpaqueObject |
class | OpenDocument |
Functions | |
def | OpenDocumentChart () |
def | OpenDocumentDrawing () |
def | OpenDocumentImage () |
def | OpenDocumentPresentation () |
def | OpenDocumentSpreadsheet () |
def | OpenDocumentText () |
def | OpenDocumentTextMaster () |
def | load (odffile) |
Variables | |
unicode = str | |
int | UNIXPERMS = 2175008768 |
file permission as an integer value. More... | |
int | IS_FILENAME = 0 |
int | IS_IMAGE = 1 |
dictionary | odmimetypes |
mime-types => file extensions More... | |
def odf.opendocument.load | ( | odffile | ) |
Load an ODF file into memory @param odffile unicode string: name of a file, or as an alternative, an open readable stream @return a reference to the structure (an OpenDocument instance)
Definition at line 1008 of file opendocument.py.
def odf.opendocument.OpenDocumentChart | ( | ) |
Creates a chart document @return an OpenDocument instance with chart mimetype
Definition at line 823 of file opendocument.py.
def odf.opendocument.OpenDocumentDrawing | ( | ) |
Creates a drawing document @return an OpenDocument instance with drawing mimetype
Definition at line 834 of file opendocument.py.
def odf.opendocument.OpenDocumentImage | ( | ) |
Creates an image document @return an OpenDocument instance with image mimetype
Definition at line 845 of file opendocument.py.
def odf.opendocument.OpenDocumentPresentation | ( | ) |
Creates a presentation document @return an OpenDocument instance with presentation mimetype
Definition at line 856 of file opendocument.py.
def odf.opendocument.OpenDocumentSpreadsheet | ( | ) |
Creates a spreadsheet document @return an OpenDocument instance with spreadsheet mimetype
Definition at line 867 of file opendocument.py.
def odf.opendocument.OpenDocumentText | ( | ) |
Creates a text document @return an OpenDocument instance with text mimetype
Definition at line 878 of file opendocument.py.
def odf.opendocument.OpenDocumentTextMaster | ( | ) |
Creates a text master document @return an OpenDocument instance with master mimetype
Definition at line 889 of file opendocument.py.
int odf.opendocument.IS_FILENAME = 0 |
Definition at line 64 of file opendocument.py.
int odf.opendocument.IS_IMAGE = 1 |
Definition at line 65 of file opendocument.py.
dictionary odf.opendocument.odmimetypes |
odf.opendocument.unicode = str |
Definition at line 48 of file opendocument.py.
int odf.opendocument.UNIXPERMS = 2175008768 |
file permission as an integer value.
The following syntax would be invalid for Python3: UNIXPERMS = 0100644 << 16L # -rw-r–r–
So it has been precomputed: 2175008768 is the same value as 0100644 << 16L == -rw-r–r–
Definition at line 62 of file opendocument.py.