diff --git a/CHANGELOG b/CHANGELOG index 5d64442..3cb28e5 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +v 0.16.1 [01-jul-2021] + - Change property is_connected in db + - Update doc + v 0.16.0 [20-jun-2021] - Add connection for postgres and mariadb - Fix in call macro Basic diff --git a/doc/source/main/application.rst b/doc/source/main/application.rst index a1be32d..6ecfa16 100644 --- a/doc/source/main/application.rst +++ b/doc/source/main/application.rst @@ -209,6 +209,30 @@ To PDF Export ^^^^^^ +* Export common formats + +.. code-block:: python + + doc = app.docs.new() + path = '/home/mau/myfile.xlsx' + filter_name = 'xlsx' + doc.export(path, filter_name) + + path = '/home/mau/myfile.xls' + filter_name = 'xls' + doc.export(path, filter_name) + + doc = app.docs.new('writer') + path = '/home/mau/myfile.docx' + filter_name = 'docx' + doc.export(path, filter_name) + + path = '/home/mau/myfile.doc' + filter_name = 'doc' + doc.export(path, filter_name) + +* For all support formats look `Apendix`_ + Fonst ^^^^^ @@ -262,3 +286,4 @@ Title .. _dispatch command: https://wiki.documentfoundation.org/Development/DispatchCommands .. _support filters: https://help.libreoffice.org/latest/en-US/text/shared/guide/convertfilters.html +.. _Apendix: apendix