I made a jpg image of a pdf editable and copied the text to writer but it is all at one side. is there anyway to fix this except going through it and back spacing?
[Solved] Text copied from PDF is left justified
-
- Posts: 49
- Joined: Sun Jun 17, 2018 12:49 pm
[Solved] Text copied from PDF is left justified
Last edited by markwrites on Mon Feb 26, 2024 9:51 pm, edited 1 time in total.
OO 4.1.15 on Windows 7 64 bit
Re: Text all to one side
Goodday Sir,
Please be so kind to select your marging as per small icons shown below.
Regards
Nick
Please be so kind to select your marging as per small icons shown below.
Regards
Nick
- Attachments
-
- marging.png (17.51 KiB) Viewed 1771 times
Libre Office 6.0.7 on Ubuntu 18.04
-
- Posts: 49
- Joined: Sun Jun 17, 2018 12:49 pm
Re: Text all to one side
If you turn on /View /non-printing characters, you will see that each short line is terminated with a backwards P (recte: a Pilcrow). if you delete a Pilcrow, you can replace it with a space; the lines will then align according to the paragraph alignment selected.
A quick way to do this is to use Find and Replace. In Find box enter \n. In Replace box enter \n (has a different meaning in the Replace box).
Correction: in Replace box enter a space. Sorry about the error - was distracted by call on my mobile when writing the above.
Drop "More Options" in Find and Replace, select "Regular expressions" from the dropdown, then press Replace All.
Until you know what you are doing, best to work on a copy file.
A quick way to do this is to use Find and Replace. In Find box enter \n.
Correction: in Replace box enter a space. Sorry about the error - was distracted by call on my mobile when writing the above.
Drop "More Options" in Find and Replace, select "Regular expressions" from the dropdown, then press Replace All.
Until you know what you are doing, best to work on a copy file.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
- Hagar Delest
- Moderator
- Posts: 32841
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: Text all to one side
Pasting from a PDF often gives such result.
You can try that macro: Convert ASCII text files by deleting extra paragraph breaks.
It has been a long time since I've last used it. It may need some adjustments.
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.
You can try that macro: Convert ASCII text files by deleting extra paragraph breaks.
It has been a long time since I've last used it. It may need some adjustments.
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 24.8 on Xubuntu 24.10 and 24.8 portable on Windows 10
Re: Text all to one side
For best advice it is helpful to have a small (one/two page) sample file uploaded, rather than a screenshot.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
-
- Posts: 49
- Joined: Sun Jun 17, 2018 12:49 pm
- Hagar Delest
- Moderator
- Posts: 32841
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: [Solved]Text all to one side
You can't but you can anonymise it, see How to attach a document here.
LibreOffice 24.8 on Xubuntu 24.10 and 24.8 portable on Windows 10
-
- Posts: 49
- Joined: Sun Jun 17, 2018 12:49 pm
Re: [Solved]Text all to one side
Thanks. Only saw this now. AplogyHagar Delest wrote: ↑Mon Feb 26, 2024 10:06 pm You can't but you can anonymise it, see How to attach a document here.
OO 4.1.15 on Windows 7 64 bit