![]() |
Advent and Christmas Season in the Ore Mountains ("Erzgebirge"), Saxony High Tech in Saxony |
|
|
Task |
PyOpenOffice
Instance |
Command Line
Interface |
Serial Letter or Report - Save as one File | newfile =
tool.makeSerialLetters(templatefile,replace_listofdicts,one_file=1, [replace_fixeddict=defaultkeywords, content="", data_with_linebreaks=0, transform_linebreaks=0]) |
not
implemented yet |
Serial Letter or Report - Save
as many Files |
tool.makeSerialLetters(templatefile,replace_listofdicts,one_file=0, [replace_fixeddict=defaultkeywords, content="", data_with_linebreaks=0, transform_linebreaks=0]) |
not
implemented yet |
Read the content.xml file of an
SXW archive |
utf8_encoded_content =
tool.extractContentXml(sourcefile) |
not
implemented yet |
Replace paragraphs with OO
linebreaks by a list of paragraphs |
tool.transformLinebreaks(sourcefile) |
not
implemented yet |
Replace Pictures - Save as new
SXW file |
newfile =
tool.replacePictures(templatefile,list_of_picture_files) |
not
implemented yet |
Plain Text Extract - Save as PDF |
tool.makePlainText(filenameOrList_of_filenames,
plain_text_output=0) |
not
implemented yet |
Plain Text Extract - Save as
cp1252-Plain-Text |
tool.makePlainText(filenameOrList_of_filenames, plain_text_output=1) | not
implemented yet |
Transform SXW to PDF |
list_of_outfiles =
tool.makeSafePdf(filenameOrList_of_filenames) |
python pyopenoffice.py filename |
Serial Letter or Report - Save
as PDF |
use
first tool.makeSerialLetters(...), then tool.makeSafePdf(...) |
not
implemented yet |
List all Temporary Files
generated since last cleanup |
list_of_tempfiles =
tool.listTempfiles() |
not
implemented yet |
Clean up all Temporary Files
generated by PyOpenOffice |
tool.cleanTempfiles() |
python pyopenoffice -cleanup |