At 21:56 10/01/2009 -0500, Eustace Noname wrote:
OOo Writer: How do I center vertically text or a table in a page?

There are messy ways of doing this: one is to adjust the spacing above and below a paragraph (in Format | Paragraph...) in step - that is, equally - until the next paragraph just spills over beyond the page. But there are two neat ways of doing it:

o Go to Insert | Frame... | Type. For Anchor, you can choose anything *except* "As character". o Under Position | Vertical (on the same tab), choose Center and the appropriate option ("Page text area"?) from the right-hand box too.
o  Select other options as required (disabling borders?).
o Enter your text into the frame, and you will see that it centres itself vertically.

Or:

o  Go to Insert | Table... .
o Reduce the values for Columns and Rows each to 1 - so the table will have a single cell.
o  Perhaps remove the tick from Border?
o  Press OK.
o  Drag the bottom of the table to the bottom of the text area of the page.
o  Enter your text into the table cell.
o Go to Table | Table Properties... | Text Flow | Alignment (or right-click | Table... | Text Flow | Alignment) and set "Vertical alignment" to Centered.

You ask how to centre a table vertically. You cannot do this directly, I think, but you can centre the text within a table which fills the page - the second method above - which amounts to the same thing. Alternatively, you can do this by putting your table into a frame and using the first method above.

I trust this helps.

Brian Barker


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to