[Solved] Tables not centered; Images moved

Discuss the word processor
Locked
User avatar
donnje
Posts: 30
Joined: Sun Apr 20, 2025 4:06 pm

[Solved] Tables not centered; Images moved

Post by donnje »

Hi,
Often after correcting the cell and photo logout and saving the file, I find everything moved again without any logic, it's very strange any ideas?
 Edit: Changed subject, was Formatting lost 
Make your post understandable by others 
-- MrProgrammer, forum moderator 
Last edited by donnje on Fri Apr 25, 2025 6:48 pm, edited 2 times in total.
LibreOffice 24.8.6.2
User avatar
Hagar Delest
Moderator
Posts: 33361
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Formatting lost

Post by Hagar Delest »

What kind of anchor do you use? Do you save in native ODF (.odt)?
Anchoring as character is the most robust option.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE Faye) and 24.8 portable on Windows 11.
User avatar
donnje
Posts: 30
Joined: Sun Apr 20, 2025 4:06 pm

Re: Formatting lost

Post by donnje »

yes, I save .odt
LibreOffice 24.8.6.2
User avatar
Hagar Delest
Moderator
Posts: 33361
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Formatting lost

Post by Hagar Delest »

You don't provide much information...
If you put pics in a table, then anchor them as character.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE Faye) and 24.8 portable on Windows 11.
User avatar
donnje
Posts: 30
Joined: Sun Apr 20, 2025 4:06 pm

Re: Formatting lost

Post by donnje »

after saving and reopening it the tables are no longer centered and the photos are moved, I left only one photo out of respect for the pvt of the people present, it's very strange I just can't understand
thanks
Attachments
esempio.docx
(122 KiB) Downloaded 7 times
LibreOffice 24.8.6.2
User avatar
RoryOF
Moderator
Posts: 35063
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Formatting lost

Post by RoryOF »

Try Saving in format .odt (/File /Save As, select .odt from the dropdown).
Apache OpenOffice 4.1.15 on Xubuntu 22.04.5 LTS
User avatar
donnje
Posts: 30
Joined: Sun Apr 20, 2025 4:06 pm

Re: Formatting lost

Post by donnje »

sorry I made a mistake I always save in .odt
LibreOffice 24.8.6.2
User avatar
floris v
Volunteer
Posts: 4566
Joined: Wed Nov 28, 2007 1:21 pm
Location: Netherlands

Re: Formatting lost

Post by floris v »

Well, your uploaded file was definitely in the docx format. In LibreOffice 6.4.7.2 the file opens with pictures centered after saving in the odt format.

If you plan to turn this into a book or a rather long document, you will save yourself a lot of time if you use styles. For your chapter titles, you should use the inbuilt Heading 1 paragraph style. You can add a box to a paragraph style, you don't need a table for that. You can set the text color to red, and size to 36. Then every time you apply Heading 1 (press Ctrl+1) to do that, you get the correct formatting with no further effort.
To move to the next page, press Ctrl+Enter or select Insert - Page Break from the menu bar.
This kind of trick will make your documents smaller, cleaner, and it makes maintenance a lot simpler. See attachment for examples.
Attachments
esempio-edited.odt
(127.22 KiB) Downloaded 3 times
LibreOffice 24.2.7.2 on Ubuntu Linux
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
User avatar
RoryOF
Moderator
Posts: 35063
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Formatting lost

Post by RoryOF »

You should download and read
Writer for students (several languages)

PDF at
http://openoffice-uni.org

It is probably available from the above URL in your native language. It will save you a lot of trouble, for example, no need (read: better not to) enter repeated blank paragraphs to fill pages.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.5 LTS
User avatar
keme
Volunteer
Posts: 3778
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: Formatting lost

Post by keme »

donnje wrote: Thu Apr 24, 2025 6:33 pm [...] I always save in .odt
Your attached file is evidence that you don't.

I don't mean this as an insult.
  • We are all products (and sometimes victims) of our own habits.
  • Sometimes we use a publicly available file as template for our own work. Such files are often in MS format, and we need to consciously select "save as" and use the proper save format for the situation.
    In such cases, residue from "Microsoft context" may still carry over to the new file, sometimes requiring a cleanup or even major reworking.
  • You may even (and possibly by accident) have set LibreOffice to use Microsoft file fomats as default for saving.
If your discovering this slip was what you needed to settle the document graphics' behaviour, we would appreciate a word to the effect of "problem solved". Otherwise, if you still need some assistance, attach what you have which displays the erratic behaviour (again removing any confidential or otherwise reserved info, of course). We are here to help ;-)
User avatar
floris v
Volunteer
Posts: 4566
Joined: Wed Nov 28, 2007 1:21 pm
Location: Netherlands

Re: Tables not centered; Images moved

Post by floris v »

More suggestions: you have applied a lot of direct formatting, causing left aligned text in your tables mixed with centered text. If you want consistency in your formatting, styles are the way to go. They need a little bit of studying, after that they're easy to use and will save you a lot of time and, more importantly, headaches.
LibreOffice 24.2.7.2 on Ubuntu Linux
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
User avatar
donnje
Posts: 30
Joined: Sun Apr 20, 2025 4:06 pm

Re: Tables not centered; Images moved

Post by donnje »

@keme; @florisv
thanks guys with the styles it's much quicker and the page break is very useful
but for the insertion of the boxes I prefer to always use the same table format, is there a way to make things simpler so that the table is always centered and also the images inside?
Last edited by donnje on Fri Apr 25, 2025 12:40 pm, edited 1 time in total.
LibreOffice 24.8.6.2
User avatar
donnje
Posts: 30
Joined: Sun Apr 20, 2025 4:06 pm

Re: Formatting lost

Post by donnje »

keme wrote: Fri Apr 25, 2025 10:51 am
donnje wrote: Thu Apr 24, 2025 6:33 pm [...] I always save in .odt
Your attached file is evidence that you don't.

I don't mean this as an insult.
  • We are all products (and sometimes victims) of our own habits.
  • Sometimes we use a publicly available file as template for our own work. Such files are often in MS format, and we need to consciously select "save as" and use the proper save format for the situation.
    In such cases, residue from "Microsoft context" may still carry over to the new file, sometimes requiring a cleanup or even major reworking.
  • You may even (and possibly by accident) have set LibreOffice to use Microsoft file fomats as default for saving.
If your discovering this slip was what you needed to settle the document graphics' behaviour, we would appreciate a word to the effect of "problem solved". Otherwise, if you still need some assistance, attach what you have which displays the erratic behaviour (again removing any confidential or otherwise reserved info, of course). We are here to help ;-)
thanks this is corect file
Attachments
es.odt
(22.16 KiB) Downloaded 3 times
LibreOffice 24.8.6.2
User avatar
Hagar Delest
Moderator
Posts: 33361
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Tables not centered; Images moved

Post by Hagar Delest »

donnje wrote: Fri Apr 25, 2025 11:59 am for the insertion of the boxes I prefer to always use the same table format, is there a way to make things simpler so that the table is always centered and also the images inside?
Yes, create an AutoText. See Using AutoText.

Please add [Solved] at the beginning of the title in your first post (top of the topic) with the button if your issue has been fixed.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE Faye) and 24.8 portable on Windows 11.
User avatar
donnje
Posts: 30
Joined: Sun Apr 20, 2025 4:06 pm

Re: Tables not centered; Images moved

Post by donnje »

Hagar Delest wrote: Fri Apr 25, 2025 1:38 pm
donnje wrote: Fri Apr 25, 2025 11:59 am for the insertion of the boxes I prefer to always use the same table format, is there a way to make things simpler so that the table is always centered and also the images inside?
Yes, create an AutoText. See Using AutoText.

Please add [Solved] at the beginning of the title in your first post (top of the topic) with the button if your issue has been fixed.
sorry but I use autotext as a shortcut to paste texts to repeat, I refer to the cell with the chosen settings
LibreOffice 24.8.6.2
User avatar
Hagar Delest
Moderator
Posts: 33361
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Tables not centered; Images moved

Post by Hagar Delest »

You can put the whole table as an autotext. Keep it blank with the required settings and insert it when needed and add the information inside.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE Faye) and 24.8 portable on Windows 11.
User avatar
donnje
Posts: 30
Joined: Sun Apr 20, 2025 4:06 pm

Re: Tables not centered; Images moved

Post by donnje »

Hagar Delest wrote: Fri Apr 25, 2025 3:59 pm You can put the whole table as an autotext. Keep it blank with the required settings and insert it when needed and add the information inside.
thanks, I open another thread for this
LibreOffice 24.8.6.2
Locked