15 lines
241 B
Plaintext
15 lines
241 B
Plaintext
|
|
||
|
For Writer
|
||
|
-------------------
|
||
|
|
||
|
Set autostyle in table
|
||
|
^^^^^^^^^^^^^^^^^^^^^^
|
||
|
|
||
|
.. code-block:: python
|
||
|
|
||
|
def writer_table_set_style():
|
||
|
doc = app.active
|
||
|
table = doc.tables[0]
|
||
|
table.style = 'Academic'
|
||
|
return
|