[Solved] Telling ODT documents to not break tables at pagebr
Posted: Thu Oct 07, 2010 9:01 am
Hi Folks,
the task is simple, generate a new ODT File where new added tables DO NOT break around pages.
It is easy to tell a table to not break around pages in her properties - but I found NO solution to get it as a preset.
The Usecase is a wiki plugin which generates template based ODT Files and uses one ODT File as Template. In this Template I can define all sorts of styles and use themn with the wiki converter. That works fine, but I found no way to define the "non breaking" as a style Sad(
I already posted to the Writer Forum:
http://api.openoffice.org/docs/common/r ... Table.html
This was my text there:
Hi Folks,
this is my first post - I love OOo, I never had a question I couldn't google or help myself.
This time it's different.
I habe an ODT File which is used in a webapp as a template.
Basicaly I define Styles in the document and habe 2 kind of marks:
- INSERT START & STOP Marks to tell the webapp where to put in the content
- NOT PRINT START & STOP Marks to tell the webapp that this stuff is not for the output, here i put my styles in.
My simple Problem:
How can I tell the ODT file to NOT break tables at the borders of pages?
I can do this for each table individually, but my webapp is creating tables on its own.
It there a way, maybe via styles or global preference, to tell the document to NOT break any tables?
I would be happy if someone of you knew a solution,
best Greetings from Germany,
Chris
PS: this is the exact usecase: http://www.dokuwiki.org/plugin:odt
the task is simple, generate a new ODT File where new added tables DO NOT break around pages.
It is easy to tell a table to not break around pages in her properties - but I found NO solution to get it as a preset.
The Usecase is a wiki plugin which generates template based ODT Files and uses one ODT File as Template. In this Template I can define all sorts of styles and use themn with the wiki converter. That works fine, but I found no way to define the "non breaking" as a style Sad(
I already posted to the Writer Forum:
http://api.openoffice.org/docs/common/r ... Table.html
This was my text there:
Hi Folks,
this is my first post - I love OOo, I never had a question I couldn't google or help myself.
This time it's different.
I habe an ODT File which is used in a webapp as a template.
Basicaly I define Styles in the document and habe 2 kind of marks:
- INSERT START & STOP Marks to tell the webapp where to put in the content
- NOT PRINT START & STOP Marks to tell the webapp that this stuff is not for the output, here i put my styles in.
My simple Problem:
How can I tell the ODT file to NOT break tables at the borders of pages?
I can do this for each table individually, but my webapp is creating tables on its own.
It there a way, maybe via styles or global preference, to tell the document to NOT break any tables?
I would be happy if someone of you knew a solution,
best Greetings from Germany,
Chris
PS: this is the exact usecase: http://www.dokuwiki.org/plugin:odt