Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi Grover,

Grover Blue wrote (01-07-11 17:03)
Thanks for getting back to me Cor.  I did copy the page style by
creating a new style on document 1 with a random name, copying over the
page style props from document 2, then applying the page style to page
for which the document was inserted.

That sounds fine, I would think.

I asked this similar question here:
http://user.services.openoffice.org/en/forum/viewtopic.php?f=25&t=38739&p=180951
<http://user.services.openoffice.org/en/forum/viewtopic.php?f=25&t=38739&p=180951>

...
I mostly got it working, except for the copying of the actually
header/footer text. Whenever I read in a new document, the header and
footer text is always applied to the first page (or Default page style),
instead of the newly created page style.

OK, at the first paragraph of a new page, you have to add both manual break, and set the property new page style to xxx
You can see that in the UI

...

I've included all the relevant code below. Please note that I had to
leave the PAGE BREAK code as is, otherwise the insertion of a new
document would not occur on a new page. I may be able to leave out the
Section Break, but I for now it shouldn't be a problem.

As written, breaks are essential, but maybe you need some additional property there. Thanks for the code, but that will take more time for me to understand then I can spent. Sorry for that.
Cheers,

--
 - Cor
 - http://nl.libreoffice.org


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.