BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PageBreak Marker in Richedit

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Using
View previous topic :: View next topic  
Author Message
Iman Biglari
Guest





PostPosted: Sat Nov 29, 2003 10:34 am    Post subject: PageBreak Marker in Richedit Reply with quote



Hi;
I need to draw a line in my rich edit between each page (like Word,
in "Normal View"). How can I do it?

Back to top
Peter Below (TeamB)
Guest





PostPosted: Sun Nov 30, 2003 1:49 pm    Post subject: Re: PageBreak Marker in Richedit Reply with quote



In article <3FC8763E.7040803 (AT) gmx (DOT) net>, Iman Biglari wrote:
Quote:
I need to draw a line in my rich edit between each page (like Word,
in "Normal View"). How can I do it?

The richedit control has no support for pagination or page break markers
at all. If you need more of a word processors standard functionality you
may have to look for 3rd-party alternatives. Here are some URLs, i don't
know which of these products would fit your requirements:

WPTools http://www.wptools.com
Arsenal Word Processor Toolkit (www.arssoft.com)
TRichview http://www.trichview.com
TX Text control http://textcontrol.com
Te Developer's kit http://subsystems.com


--
Peter Below (TeamB)
Use the newsgroup archives :
http://www.mers.com/searchsite.html
http://www.tamaracka.com/search.htm
http://groups.google.com
http://www.prolix.be



Back to top
Peter Below (TeamB)
Guest





PostPosted: Mon Dec 01, 2003 8:15 pm    Post subject: Re: PageBreak Marker in Richedit Reply with quote



In article <3FA37863.9090008 (AT) gmx (DOT) net>, Iman Biglari wrote:
Quote:
It doesn't matter, if I should write a new descendant of TRichEdit. Is
it possible to do such a work with TRichEdit properties?

I do not say that it's impossible, but it would surely be a *lot* of work to
implement properly. Not only do you need a way to display the page marker in
a way that does not allow the user to mess it up, you also need a way to
*dynamically* figure out where to place the marker while the user is entering
text (background pagination, like a proper wordprocessor does it). It would
be way cheaper to buy a more capable component.

Perhaps it would be enough to show the pagination in a print preview type of
display? Search the newsgroup archives for PreviewU1 and my name, perhaps
that code is of some use to you.

--
Peter Below (TeamB)
Use the newsgroup archives :
http://www.mers.com/searchsite.html
http://www.tamaracka.com/search.htm
http://groups.google.com
http://www.prolix.be



Back to top
Peter Below (TeamB)
Guest





PostPosted: Sat Dec 06, 2003 12:32 pm    Post subject: Re: PageBreak Marker in Richedit Reply with quote

In article <3FD2F1D1.2010409 (AT) gmx (DOT) net>, Iman Biglari wrote:
Quote:
I should display the marker while the user is typing. I need to know
how can I paginate the contents of the rich edit?

<Sigh>. Not giving up easily, eh? I simply see no way to do this in a practical
manner with a richedit control, sorry.

Quote:
Can you please give me your mail address? Mine is [email]ibiglari (AT) gmx (DOT) net[/email] .

Nope, i don't do private consulting.


--
Peter Below (TeamB)
Use the newsgroup archives :
http://www.mers.com/searchsite.html
http://www.tamaracka.com/search.htm
http://groups.google.com
http://www.prolix.be



Back to top
Iman Biglari
Guest





PostPosted: Sun Dec 07, 2003 9:24 am    Post subject: Re: PageBreak Marker in Richedit Reply with quote

I should display the marker while the user is typing. I need to know
how can I paginate the contents of the rich edit?
Can you please give me your mail address? Mine is [email]ibiglari (AT) gmx (DOT) net[/email] .

Peter Below (TeamB) wrote:
Quote:
In article <3FA37863.9090008 (AT) gmx (DOT) net>, Iman Biglari wrote:

It doesn't matter, if I should write a new descendant of TRichEdit. Is
it possible to do such a work with TRichEdit properties?


I do not say that it's impossible, but it would surely be a *lot* of work to
implement properly. Not only do you need a way to display the page marker in
a way that does not allow the user to mess it up, you also need a way to
*dynamically* figure out where to place the marker while the user is entering
text (background pagination, like a proper wordprocessor does it). It would
be way cheaper to buy a more capable component.

Perhaps it would be enough to show the pagination in a print preview type of
display? Search the newsgroup archives for PreviewU1 and my name, perhaps
that code is of some use to you.

--
Peter Below (TeamB)
Use the newsgroup archives :
http://www.mers.com/searchsite.html
http://www.tamaracka.com/search.htm
http://groups.google.com
http://www.prolix.be




Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Using All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.