Indent one line of text

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

nijaz
User
Posts: 2
Joined: Tue Mar 19, 2024 6:25 pm

Indent one line of text

Post by nijaz »

How to keep idented text on all new wrapped lines like in notepad++?
Here are two pictures, Notepad++ and PDF Xchange. How can I keep indenting text that is in same line even on wrapped new lines that form? I made PDF by importing txt file. During import when selecting txt file for import, I chose for "new paragraph mode" the option "each newline character starts a new paragraph". I already tried enabling: options - text format - paragraph: various options and naumbers here, but none helped.

Notepad++ or how I want it to be:
notepad++.jpg
PDF Xchange or how it is:
pdf xchange.jpg
You do not have the required permissions to view the files attached to this post.
Last edited by nijaz on Thu Mar 27, 2025 8:28 pm, edited 1 time in total.
Willy Van Nuffel
User
Posts: 2750
Joined: Wed Jan 18, 2006 12:10 pm

Re: Indent one line of text

Post by Willy Van Nuffel »

Go into Edit Text mode
Right-mouse-click in the text that needs other alignment
Click "Paragraph" in the shortcut menu
In the "Paragraph Options"-dialog-box : change "Indentation" :
> "Left" to 2 cm instead of 0 cm
> "Special" to (No) instead of 2 cm
°
PDF-XChange Editor - Paragraph Options.png
You do not have the required permissions to view the files attached to this post.
nijaz
User
Posts: 2
Joined: Tue Mar 19, 2024 6:25 pm

Re: Indent one line of text

Post by nijaz »

Doesn't work. Also I am looking for method to do that automatically for whole file during import.
I tried changing various paragraph parameters during import and when editing text, but nothing helps.
Here is how it looks like when I do that.
1.jpg
You do not have the required permissions to view the files attached to this post.
Willy Van Nuffel
User
Posts: 2750
Joined: Wed Jan 18, 2006 12:10 pm

Re: Indent one line of text

Post by Willy Van Nuffel »

Hi,

I made a TXT test file (attached here, included in a ZIP) and opened that in PDF-XChange Editor via File > New Document > From Text.

In Notepad++ you can "Show All Characters" (icon in the toolbar). We can clearly see the TABs, CRs, LFs.
°
Notepad - TXT file.png
°
When opening that file in PDF-XChange Editor, the presentation is not the same anymore.
°
PDF-XChange Editor - TXT file.png
°
@PDF-XChange Support
Request for a better conversion:
- only create a new paragraph when there is a CR, LF
- option for keeping Left Indent as long as there is no CR, LF
-- if this option is turned off, then only First Line Indent

Kind regards.

Willy
New Document - Indentation.zip
You do not have the required permissions to view the files attached to this post.
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11277
Joined: Wed Jan 03, 2018 6:52 pm

Re: Indent one line of text

Post by Daniel - PDF-XChange »

Hello, Willy Van Nuffel

Notepad++ is not what our plain txt conversion is based on, Notepad itself is, and as you can see:
image.png
The indent does only affect the first characters in the "line" when word wrapping is active in Notepad.

I will pass this along to the Dev team for consideration, but I cannot make any promises here.

[Edit]: I am sorry to say that this suggestion for change has been rejected at this time. Perhaps it will be reconsidered in the future.

Kind regards,
You do not have the required permissions to view the files attached to this post.
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Willy Van Nuffel
User
Posts: 2750
Joined: Wed Jan 18, 2006 12:10 pm

Re: Indent one line of text

Post by Willy Van Nuffel »

Thanks for your answer.

Let us hope that this request will be reconsidered in the future.

Kind regards.

Willy
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Indent one line of text

Post by Stefan - PDF-XChange »

:)