Insert text at the beginning of each page

General TRichView support forum. Please post your questions here
Post Reply
tiagosis
Posts: 41
Joined: Thu Apr 13, 2017 5:34 pm

Insert text at the beginning of each page

Post by tiagosis »

Hi, I need to create a routine where I can include a standard text at the beginning of each page and break the line to continue the user's text, I thought of a loop but I couldn't find a way to do it.
Sergey Tkachenko
Site Admin
Posts: 17520
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Insert text at the beginning of each page

Post by Sergey Tkachenko »

What if, when you insert this text, page breaks will be added in different places?
Maybe you can use headers instead?
tiagosis
Posts: 41
Joined: Thu Apr 13, 2017 5:34 pm

Re: Insert text at the beginning of each page

Post by tiagosis »

thanks for the answer, i can't use the header because in this case my text would be fixed.
I need to insert it on the first line of each page and give a broken line for the user to enter as his text.
Sergey Tkachenko
Site Admin
Posts: 17520
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Insert text at the beginning of each page

Post by Sergey Tkachenko »

I can see the following problems:

1) Text can be inserted not in any places. If a page break is inside a table, text insertion is not possible.
2) Page may break at any place, for example is in the middle of a sentence, and inserting text would make a nonsense.
3) Let you have 2 pages. You insert text, and now, if you try to print it, page break will be added in different places, making 3 or even 4 pages.
Post Reply