Chenxiong Qi
8f34b0d40e
tdf#143123 Port Text Java examples to Python
The examples inside odk/examples/java/Text are ported to Python:
BookmarkInsertion.java -> BookmarkInsertion.py
GraphicsInserter.java -> GraphicsInserter.py
HardFormatting.java -> HardFormatting.py
StyleCreation.java -> StyleCreation.py
SWriter.java -> SWriter.py
StyleInitialization.java -> StyleInitialization.py
TextDocumentStructure.java -> TextDocumentStructure.py
TextReplace.java -> TextReplace.py
WriterSelector.java -> WriterSelector.py
Code format is checked with 'pycodestyle':
pycodestyle --ignore=E501,E722 odk/examples/python/Text/*.py
Some Java methods are merged when ported to Python.
Signed-off-by: Chenxiong Qi <qcxhome@gmail.com>
Change-Id: Ic903cfa24ef32f8edaafd7e6e2e0c757b4b1be0a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141425
Tested-by: Hossein <hossein@libreoffice.org>
Reviewed-by: Hossein <hossein@libreoffice.org>