Hi Twayne I created a small file and added a manual page break with the text "before break" before the break and, well you know, after the break. I renamed the file, adding ".zip" and opened the content.xml using 7-zip and this is what I found:
<text:p text:style-name="Standard">Line1</text:p> <text:p text:style-name="Standard">Line2</text:p> <text:p text:style-name="Standard">before break</text:p> <text:p text:style-name="Standard"/> <text:p text:style-name="P1">after break</text:p> <text:p text:style-name="Standard">Line3</text:p> <text:p text:style-name="Standard">Line4</text:p> There isn't a page break code per se, but the text style of the line after the page break is changed to "P1". If you delete the text from the slash after "Standard" up to the > after "P1" and save into the zip file, then remove the ".zip" and open it, the page break will be gone. You should be able to do this with search and replace if you extract the xml, open it in OOo, then put it back into the zip file. <text:p text:style-name="Standard">Line1</text:p> <text:p text:style-name="Standard">Line2</text:p> <text:p text:style-name="Standard">before break</text:p> <text:p text:style-name="Standard">after break</text:p> <text:p text:style-name="Standard">Line3</text:p> <text:p text:style-name="Standard">Line4</text:p> tc ________________________________ From: Twayne <[email protected]> To: [email protected] Sent: Wednesday, August 19, 2009 1:21:33 PM Subject: [users] Find Page Breaks?" Harold? <snip> Is there any way, short of a hex editor, to look inside the file, or even the zip format, and somehow determine where the page break code is located? And if so, would it be searchable? Do you happen to know what the code IS? Yes, I realize a zip reader would have some gotchas that way, but ... covering all the bases since that's the only way I know to do anything with an OOo file. <snip> Regards, Twayne` --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] __________________________________________________________________ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now http://ca.toolbar.yahoo.com.
