[Issue] Text won't centre on poster

Discuss the word processor
Locked
MatthewH
Posts: 6
Joined: Fri Dec 06, 2013 6:39 pm

[Issue] Text won't centre on poster

Post by MatthewH »

Hi,

I can't centre some text on a poster (90cm wide x 44cm high). I'm hoping to print this onto A4 pages and tape them together.

See attached file.

TIA,
Matt
Attachments
Donation poster.odt
(12.14 KiB) Downloaded 17 times
Last edited by MrProgrammer on Tue Aug 26, 2025 3:31 pm, edited 1 time in total.
Reason: Tagged as known issue
OpenOffice 4.0.1
Win7
User avatar
robleyd
Moderator
Posts: 5429
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Text won't centre on poster

Post by robleyd »

You have a lot of spaces following DONATIONS TAKEN HERE. Removing them seems to improve matters.
Attachments
Donation_poster2.odt
(20.74 KiB) Downloaded 18 times
Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 25.8.1.1; SlackBuild for 25.8.1 by Eric Hameleers
---------------------
Roses are Red, Violets are Blue]
Unexpected '{' on line 32
.
MatthewH
Posts: 6
Joined: Fri Dec 06, 2013 6:39 pm

Re: Text won't centre on poster

Post by MatthewH »

Thanks, but the "for the" still cannot be centred.
OpenOffice 4.0.1
Win7
JeJe
Volunteer
Posts: 3089
Joined: Wed Mar 09, 2016 2:40 pm

Re: Text won't centre on poster

Post by JeJe »

Can't see why, but if you put some spaces/tabs or a combination in front of it you can manually centre it.
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
JeJe
Volunteer
Posts: 3089
Joined: Wed Mar 09, 2016 2:40 pm

Re: Text won't centre on poster

Post by JeJe »

Or you could align left and put in one tab in front and move the tab indication on the ruler to manually centre it that way.
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
MatthewH
Posts: 6
Joined: Fri Dec 06, 2013 6:39 pm

Re: Text won't centre on poster

Post by MatthewH »

I've tried that, but it gets part way then jumps much too far to the right.
Try one more space in the attached file.
Attachments
Donation poster.odt
(12.08 KiB) Downloaded 12 times
OpenOffice 4.0.1
Win7
JeJe
Volunteer
Posts: 3089
Joined: Wed Mar 09, 2016 2:40 pm

Re: Text won't centre on poster

Post by JeJe »

Put some spaces after as well as before and you can center it with spaces
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
MatthewH
Posts: 6
Joined: Fri Dec 06, 2013 6:39 pm

Re: Text won't centre on poster

Post by MatthewH »

Spaces and tabs don't work. Either nothing changes, or it jumps too far with one extra space. Try it!
There's something strange going on and it just won't centre.
I'm at the stage where I'll get the real scissors and paste out for some good old fashioned cutting and pasting!
OpenOffice 4.0.1
Win7
JeJe
Volunteer
Posts: 3089
Joined: Wed Mar 09, 2016 2:40 pm

Re: Text won't centre on poster

Post by JeJe »

add some spaces after
Attachments
add some spaces after.odt
(12.05 KiB) Downloaded 12 times
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
User avatar
LastUnicorn
Posts: 790
Joined: Sat Mar 29, 2008 2:41 am
Location: Scotland

Re: Text won't centre on poster

Post by LastUnicorn »

I take that the "for the" is the problem. I just deleted all the spaces in front of "for the" then (direct formatting) it as 'centred text' — looks to have worked for me. Can't see why you are using Default Character Style throughout the poster — I don't think that is advisable. Best to use Body Text and format each paragraph using Body Text (Style). I thought this was a golden-rule for ODT documents.

Oh, I'm using LibreOffice 25.8.0.2 to do this, not OpenOffice. So you might want to try in LibreOffice.

Donation poster (centred - LibreOffice).odt
(16.66 KiB) Downloaded 8 times
Last edited by LastUnicorn on Mon Aug 18, 2025 3:34 pm, edited 1 time in total.
LibreOffice 25.8.1.1 (x64) installed to Windows 11 Pro. 24H2
Apache OpenOffice Portable 4.1.15 [Portable Apps]
For Java I use Adoptium Temurin JRE LTS Releases.
JeJe
Volunteer
Posts: 3089
Joined: Wed Mar 09, 2016 2:40 pm

Re: Text won't centre on poster

Post by JeJe »

left align and one tab
Attachments
left align and one tab.odt
(12.08 KiB) Downloaded 9 times
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
User avatar
LastUnicorn
Posts: 790
Joined: Sat Mar 29, 2008 2:41 am
Location: Scotland

Re: Text won't centre on poster

Post by LastUnicorn »

I just tried doing the modification in OpenOffice 4.1.15 and it doesn't work in that. LibreOffice seems way to go.
LibreOffice 25.8.1.1 (x64) installed to Windows 11 Pro. 24H2
Apache OpenOffice Portable 4.1.15 [Portable Apps]
For Java I use Adoptium Temurin JRE LTS Releases.
JeJe
Volunteer
Posts: 3089
Joined: Wed Mar 09, 2016 2:40 pm

Re: Text won't centre on poster

Post by JeJe »

You might also use Draw instead - there are fewer text formatting choices, but there are other options such as printing on multiple sheets of paper which aren't available in Writer.
Attachments
Using draw.odg
(12.4 KiB) Downloaded 13 times
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
erbsenzahl
Volunteer
Posts: 263
Joined: Tue Apr 18, 2017 8:23 am
Location: Germany

Re: Text won't centre on poster

Post by erbsenzahl »

@MatthewH
I opened your file on LibreOffice Version: 25.2.5.2 (X86_64); OS: Linux 5.15 for more than one time and in the end the result was okay. I saved the file and tried to open on OpenOffice 4.1.15. The layout was damaged (and message about ODF version).
Again opened on LibreOffice and the file was okay.
Obviously OpenOffice cannot handle the problem, LibreOffice can.
I did not erase the wrongly set spaces of the first line, nothing.

See screenshot and your file again (saved in ODF 1.4 extended).
.
Donation poster 02.odt
(12.14 KiB) Downloaded 9 times
.
DonationPoster_LibreOffice.png
DonationPoster_LibreOffice.png (44.63 KiB) Viewed 1329 times
LibreOffice current versions 24.x/25.x and OpenOffice 4.1.15
on LinuxMint 20 - 21 Mate, W10-64 pro
MatthewH
Posts: 6
Joined: Fri Dec 06, 2013 6:39 pm

Re: Text won't centre on poster

Post by MatthewH »

Thanks everyone for your help.
Looks like Libre Office is the way to go.
OpenOffice 4.0.1
Win7
User avatar
LastUnicorn
Posts: 790
Joined: Sat Mar 29, 2008 2:41 am
Location: Scotland

Re: Text won't centre on poster

Post by LastUnicorn »

There are several good reasons for making the switch anyway, some of which are mentioned here: [Tutorial] Considering a Switch from OpenOffice to LibreOffice? Some Useful Information

Note that if you are on Windows 7, Windows 8 or Windows 8.1 then support for those systems is removed as at LibreOffice 25.8. LibreOffice 25.8 should be on general release some time during this week.

In any case please remember to update your forum signature to accurately reflect, at minimum, LibreOffice version being used and Operating System.
LibreOffice 25.8.1.1 (x64) installed to Windows 11 Pro. 24H2
Apache OpenOffice Portable 4.1.15 [Portable Apps]
For Java I use Adoptium Temurin JRE LTS Releases.
User avatar
RoryOF
Moderator
Posts: 35095
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Text won't centre on poster

Post by RoryOF »

The reason some lines won't centre is because they are single line paragraphs, and are governed by the default style setting not to align the last line of a paragraph.

Edit the Default style to remove that restriction.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.5 LTS
User avatar
MrProgrammer
Moderator
Posts: 5322
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: Text won't centre on poster

Post by MrProgrammer »

MatthewH wrote: Mon Aug 18, 2025 1:45 pm I can't centre some text on a poster (90cm wide x 44cm high).
Thank you for the attachment. I find that if I use add ten spaces before and after for the, then that paragraph is centered. It seems as if the last character of the paragraph must extend far enough to the right side of the page for centering to take effect. For this specific document, far enough seems to be about 27 cm from the left margin. Perhaps that number somehow related to the margin dimensions, or to the page size dimensions, or to some inaccessible default in the Writer component. I do not know of any documentation which explains this behavior in OpenOffice.

RoryOF wrote: Mon Aug 18, 2025 6:19 pm The reason some lines won't centre is because they are single line paragraphs, and are governed by the default style setting not to align the last line of a paragraph.
Where, specifically, does one find a setting for alignment of single line paragraphs in the Default style? Is there a trick to changing it? I see Alignment → Options → Justified → Last line, but setting it to Centered didn't help the for the paragraph. It remained left aligned on the page until I added ten spaces on the left and right side. Nineteen total spaces: left aligned. Twenty total spaces: center aligned.

MatthewH wrote: Mon Aug 18, 2025 1:45 pm I'm hoping to print this onto A4 pages and tape them together.
Perhaps Draw is better suited to this task than Writer. File → Print → OpenOffice Draw → Size has a Distribute on multiple sheets of paper option. That option is not available in Writer. I seldom use Draw, and never for that purpose. You would need to learn how to use Draw. Text layout in Draw is quite different than in Writer. Open a topic in the Draw forum if you need help with it. Asking about Draw in the Writer forum will cause this topic to be locked. Some printers are not physically capable of printing to the very edge of the page, because they need to use a narrow portion of the sheet near the edge to hold the paper.
202508181353.gif
202508181353.gif (36.62 KiB) Viewed 1277 times
If this solved your problem please go to your first post use the Edit ✏️ button and add [Solved] to the start of the Subject field. Select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.7.6, iMac Intel.   The locale for any menus or Calc formulas in my posts is English (USA).
cwolan
Posts: 186
Joined: Sun Feb 07, 2021 3:44 pm

Re: Text won't centre on poster

Post by cwolan »

If you change the page orientation to Portrait or increase the page margin accordingly (for example, the right one), "for the" will be centered correctly. I wonder whether is somehow related to Issue 118013 – "lines do not center on large pages".
Attachments
118013 – lines do not center on large pages.pdf
(94.83 KiB) Downloaded 13 times
OpenOffice 1.1.5 – 4.1.15
LibreOffice 3.3.0.4 – 25.8
Windows 7,10,11 64-bit
User avatar
RoryOF
Moderator
Posts: 35095
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Text won't centre on poster

Post by RoryOF »

There was something funny about the "for the" line; when I removed direct formatting (Ctrl M) it shrank to two points (or thereabouts); I was called away and didn't investigate further.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.5 LTS
Locked