| View previous topic :: View next topic |
| Author |
Message |
Yabloko Newbie

Joined: 16 Mar 2007 Posts: 2
|
Posted: Fri Mar 16, 2007 8:28 am Post subject: Hiding Whole Pages |
|
|
I am looking to hide certain pages of a document depending on conditions in a database. I have tried setting up Sections with Conditions but some of the formatting is lost on the remaining pages when the condition is met and the section hides.
I was wondering if anyone has a better way to hide complete pages. |
|
| Back to top |
|
 |
foxcole Super User


Joined: 19 Jan 2006 Posts: 2771 Location: Minneapolis, Minnesota
|
Posted: Fri Mar 16, 2007 5:11 pm Post subject: Re: Hiding Whole Pages |
|
|
| Yabloko wrote: | I am looking to hide certain pages of a document depending on conditions in a database. I have tried setting up Sections with Conditions but some of the formatting is lost on the remaining pages when the condition is met and the section hides.
I was wondering if anyone has a better way to hide complete pages. |
You have the right solution, in my opinion---but what do you mean by some of the formatting being lost? Can you be more specific or provide an example? Please also (and always) provide your OS and OOo versions. _________________ Cheers!
---Fox
WinXP Pro SP2, OOo Portable 2.3.1, OOo local 2.4 RC4
New OpenOffice forum: http://user.services.openoffice.org/en/forum/
Manuals: http://documentation.openoffice.org/manuals/index.html |
|
| Back to top |
|
 |
Yabloko Newbie

Joined: 16 Mar 2007 Posts: 2
|
Posted: Mon Mar 19, 2007 12:06 pm Post subject: |
|
|
Sorry, my OS is XP and OOo is 2.0.4
Well on Page 1 and 2 I had borders and the margins were different and when the conditions would hide these two pages the following two pages would take on their attributes. So basically it was like the content was being hidden but not the page formatting.
As an intern solution I just made all of the pages with the same margins and formatting so when the sections were hidden it would not disrupt the content of the following pages.
But any suggestions to get it to work better would be greatly appreciated. |
|
| Back to top |
|
 |
foxcole Super User


Joined: 19 Jan 2006 Posts: 2771 Location: Minneapolis, Minnesota
|
Posted: Mon Mar 19, 2007 12:27 pm Post subject: |
|
|
| Yabloko wrote: | Sorry, my OS is XP and OOo is 2.0.4
Well on Page 1 and 2 I had borders and the margins were different and when the conditions would hide these two pages the following two pages would take on their attributes. So basically it was like the content was being hidden but not the page formatting.
As an intern solution I just made all of the pages with the same margins and formatting so when the sections were hidden it would not disrupt the content of the following pages.
But any suggestions to get it to work better would be greatly appreciated. |
Ah, well, content and page styles are entirely separate things. To change page styles you'd need to insert a manual break and specify the next page style...
So, for example, pages 1 and 2 could have the borders and other page-level formatting (headers, footers, numbering). Before the first paragraph of page 3 you'd insert a manual page break. It attaches the break information to the final paragraph of the previous page, so you'd want to include that blank paragraph in your hidden section. Otherwise, if you don't hide it, it would force a page break that you can't get rid of except by deleting the paragraph. I don't believe it will create a page break when it's hidden---but, OTOH, wait... come to think of it, maybe I shouldn't be talking. To be honest, I don't think I've ever tried it. I'll run a test later, unless you beat me to it.  _________________ Cheers!
---Fox
WinXP Pro SP2, OOo Portable 2.3.1, OOo local 2.4 RC4
New OpenOffice forum: http://user.services.openoffice.org/en/forum/
Manuals: http://documentation.openoffice.org/manuals/index.html |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|