Add apendix
This commit is contained in:
parent
42141fa06d
commit
370bdae3bb
|
@ -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]
|
v 0.16.0 [20-jun-2021]
|
||||||
- Add connection for postgres and mariadb
|
- Add connection for postgres and mariadb
|
||||||
- Fix in call macro Basic
|
- Fix in call macro Basic
|
||||||
|
|
|
@ -209,6 +209,30 @@ To PDF
|
||||||
Export
|
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
|
Fonst
|
||||||
^^^^^
|
^^^^^
|
||||||
|
@ -262,3 +286,4 @@ Title
|
||||||
|
|
||||||
.. _dispatch command: https://wiki.documentfoundation.org/Development/DispatchCommands
|
.. _dispatch command: https://wiki.documentfoundation.org/Development/DispatchCommands
|
||||||
.. _support filters: https://help.libreoffice.org/latest/en-US/text/shared/guide/convertfilters.html
|
.. _support filters: https://help.libreoffice.org/latest/en-US/text/shared/guide/convertfilters.html
|
||||||
|
.. _Apendix: apendix
|
||||||
|
|
Loading…
Reference in New Issue