Fajar Priyanto wrote: > On Thursday 27 October 2005 08:25, Gary Oberbrunner wrote: >> I'm trying to format a book of poetry. Each stanza is a single >> paragraph with hard returns at the end of each line. >> >> If a new stanza begins at the top of a page, the "Above paragraph" >> spacing should be applied... >> >> If a stanza is broken in the middle (by going over the end of the page, >> creating an automatic page break), the remainder of that stanza should >> be snugged up to the top of the following page... > > Hi Gary, > I think it can be achieved this way: > 1. Write the whole stanza as usual. No formatting yet. Try with the one who > exceed 1 page, so that it expand to the second page. > 2. Then select the whole stanza and apply these formatting: > Paragraph > Spacing > Above Paragraph. Put any value that you want. > Paragraph > Text Flow > Widow control, put any value that you want.
I tried to understand & do what you say above, but it doesn't have the effect I want. Both new stanzas and widow stanza-parts are laid out exactly at the top of the page no matter what I set for Spacing Above Paragraph (I think OOo just ignores that spacing when at the top of the page). I would like them to be treated differently: complete stanzas at top of page should get some space above them, continued stanzas/paragraphs not. In a way this is a little like how first-line indent works. The first line of a paragraph gets indented, but the first line of a paragraph-continuation after a page break doesn't. I don't know much about OOo scripting, but I do know how to code; is there any way to write a script that affects the layout or spacing of objects? Thanks, -- Gary --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
