Search found 20 matches
- Wed Jul 06, 2011 2:25 pm
- Forum: Support
- Topic: Printed bold rtf text is colored blue
- Replies: 5
- Views: 24787
Directly with a Stream (LoadRTFStream) This is the rtf: {\rtf1\ansi\ansicpg0\uc1\deff0\deflang0\deflangfe0\paperw11906\paperh16838\margl1800\margr1800\margt1440\margb1440\viewscale100\viewzk0 {\fonttbl{\f0\fnil Arial;}}{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0 ...
- Wed Jul 06, 2011 1:04 pm
- Forum: Support
- Topic: Printed bold rtf text is colored blue
- Replies: 5
- Views: 24787
- Thu Mar 24, 2011 2:05 pm
- Forum: Support
- Topic: Height of a Row/Paragraph to calculate for printing
- Replies: 7
- Views: 22077
- Thu Mar 24, 2011 1:11 pm
- Forum: Support
- Topic: Height of a Row/Paragraph to calculate for printing
- Replies: 7
- Views: 22077
Which function should i use for the RTF-Text that didn't fit on the first page?
I've got the ItemNo and offset with
But how could i use this information to get the rtf-text at this point?
I've got the ItemNo and offset with
Code: Select all
rvh.GetFirstItemOnPage(2,nItemNo,nOffset);
- Wed Mar 23, 2011 3:02 pm
- Forum: Support
- Topic: Height of a Row/Paragraph to calculate for printing
- Replies: 7
- Views: 22077
Thanks Sergey, this looks good. Where could i get the carret-position if it not fit into one page? Here is an snip of my code: function CalcRTFText (const cRTF:String; const nHeight:Integer; const nWidth:Integer; var nPos:Integer):String; var rvh : TRVReportHelper; oStream : TStringStream; begin rvh ...
- Wed Mar 23, 2011 10:12 am
- Forum: Support
- Topic: Height of a Row/Paragraph to calculate for printing
- Replies: 7
- Views: 22077
Height of a Row/Paragraph to calculate for printing
Hi folks, i'm experimenting some methods to calculate the rtf text height for printing and cutting the rtf for a pagebreak to the next page. Example: I'm having a rectangle of 150px * 50px on page 1 and a random rtf text which should be printed in the rectangle, but if the height is higher than 50px ...
- Thu Mar 10, 2011 8:21 am
- Forum: Support
- Topic: GetAllText WordWrap Returns?
- Replies: 9
- Views: 28684
? GetFormattedText, like GetAllText, returns a plain text. The only differences - GetFormattedText adds more line break characters in places of line wrapping; - GetFormattedText does not include text representation of non-text items (except for tabs and tables) Uh, sorry there was a mistake/bug in ...
- Tue Mar 08, 2011 3:23 pm
- Forum: Support
- Topic: GetAllText WordWrap Returns?
- Replies: 9
- Views: 28684
- Tue Mar 08, 2011 11:58 am
- Forum: Support
- Topic: GetAllText WordWrap Returns?
- Replies: 9
- Views: 28684
- Mon Mar 07, 2011 8:07 am
- Forum: Support
- Topic: GetAllText WordWrap Returns?
- Replies: 9
- Views: 28684
- Thu Mar 03, 2011 8:04 am
- Forum: Support
- Topic: GetAllText WordWrap Returns?
- Replies: 9
- Views: 28684
- Wed Mar 02, 2011 3:20 pm
- Forum: Support
- Topic: GetAllText WordWrap Returns?
- Replies: 9
- Views: 28684
GetAllText WordWrap Returns?
Hi folks, i've a problem with the GetAllText function if i want only the plain-text of a document. If i'm tipping a long text with the property wordwrap = true then ther will be carriage return(line feeds)'s shown but if i'm getting the text with GetAllText they won't be exportet. Is there a clue to ...
- Wed Aug 25, 2010 6:50 am
- Forum: ScaleRichView
- Topic: Two strange things
- Replies: 1
- Views: 16850
Two strange things
Hey folks, i've found two strange bugs by implementing Scalerichview in my program. First thing is a space insertion on typing "111111111111111" (only the number one as character). Is looks like that: http://img651.imageshack.us/img651/2268/no1a.th.jpg The second thing is a ScaleRichviewEdit ...
- Thu Aug 12, 2010 8:52 am
- Forum: Support
- Topic: TRV -> QRP -> PDF
- Replies: 3
- Views: 22660
- Fri Aug 06, 2010 7:50 am
- Forum: Support
- Topic: \r\n as Linebreak, carriage return line feed?
- Replies: 1
- Views: 9282
\r\n as Linebreak, carriage return line feed?
Hello,
if i'm exporting Plain Text from a TRichViewEdit the LineBreaks gone away and are not replaced, they are still "\r\n". Is there a option to fix this?
if i'm exporting Plain Text from a TRichViewEdit the LineBreaks gone away and are not replaced, they are still "\r\n". Is there a option to fix this?