Search found 9731 matches

by Sergey Tkachenko
Thu Apr 17, 2008 12:56 pm
Forum: Support
Topic: OnCheckpointVisible in TRichViewEdit?
Replies: 3
Views: 11829

Actually, it's not very difficult. It was not implemented only because in TRichView checkpoint may appear only as a result of scrolling or resizing (and resizing usually causes scrolling), but in TRichViewEdit it may also appear as a result of editing. So the code used in TRichView will not always ...
by Sergey Tkachenko
Thu Apr 17, 2008 12:49 pm
Forum: Support
Topic: [BUG?] windows 2000: formatted text flows into one another
Replies: 9
Views: 27369

Do you use RichViewXML to store XML data?
Please send me this XML doc.
by Sergey Tkachenko
Thu Apr 17, 2008 8:32 am
Forum: Support
Topic: OnCheckpointVisible in TRichViewEdit?
Replies: 3
Views: 11829

No, not in near future.
You can try to implement it yourself - in OnVScrolled and OnChange events, check items starting from FirstItemVisible, using GetItemCheckpoint.
by Sergey Tkachenko
Thu Apr 17, 2008 8:30 am
Forum: Support
Topic: Export Header/Footer to RTF
Replies: 24
Views: 100501

Not yet, but this will be the next feature to implement.
by Sergey Tkachenko
Thu Apr 17, 2008 8:29 am
Forum: Support
Topic: [BUG?] windows 2000: formatted text flows into one another
Replies: 9
Views: 27369

How the text was created initially? Loaded from file?
by Sergey Tkachenko
Wed Apr 16, 2008 7:16 am
Forum: Support
Topic: loading a Unicode file line by line
Replies: 21
Views: 68046

In your code, I do not understand the statement

Code: Select all

if i = srvEditor.RichViewEdit.ItemCount - 1 then ...
Why do you need to process the last item specially? This item is not necessary starts a paragraph.
by Sergey Tkachenko
Wed Apr 16, 2008 7:15 am
Forum: Support
Topic: loading a Unicode file line by line
Replies: 21
Views: 68046

Sorry, what do you think IsFromNewLine means? Probably, you misunderstand it, and so there is a confusion.

Actually, it means "this item starts a paragraph" (or a line inside paragraph, added with Shift+Enter).
In your example, there are 2 paragraphs, so there are must be only 2 items having ...
by Sergey Tkachenko
Wed Apr 16, 2008 4:55 am
Forum: Support
Topic: Arrow/TAB not working in tables
Replies: 5
Views: 20757

I created an ActiveX, and I can confirm the problem. Unfortunately, it's difficult to debug ActiveX, so it may take some time.
by Sergey Tkachenko
Wed Apr 16, 2008 4:53 am
Forum: Support
Topic: loading a Unicode file line by line
Replies: 21
Views: 68046

Sorry, I do not understand what's wrong.
In your example:
Item[0] = 'LETHAL' IsFromNewLine = True , because the document starts from a new line, IsFromNewLine(0) is always true.
Item[1] = character IsFromNewLine = False , because the character contunues the same paragraph as the previous item ...
by Sergey Tkachenko
Tue Apr 15, 2008 3:53 pm
Forum: Support
Topic: Center table.col
Replies: 5
Views: 19970

Sorry, do you need to implement this as an editing operation (that can be undone by user) or not?
For an editing operation, your code is correct: select the proper cells and call ApplyParaStyleConversion.
by Sergey Tkachenko
Tue Apr 15, 2008 3:40 pm
Forum: Support
Topic: Pasting copied webcontent containing images and text doesn't
Replies: 3
Views: 11106

1) About pasting from web pages. Which browser do you use, and which web page do you copy?

2) About copying to email composers.That means that Outlook Express ignores images in pasted RTF content, and Thunderbird email composer does not paste RTF at all (pastes plain text). There is nothing I can ...
by Sergey Tkachenko
Tue Apr 15, 2008 3:31 pm
Forum: Support
Topic: loading a Unicode file line by line
Replies: 21
Views: 68046

If there are two paragraph, each containing 1 item, both IsFromNewLine(0) and IsFromNewLine(1) are True.
text := '';
for i := 0 to Editor.ItemCount-1 do
begin
if (i>0) and Editor.IsFromNewLine(i) then
text := text + #13#10;
if Editor.GetItemStyle(i)=rvsTab then
text := text + #9
else if ...
by Sergey Tkachenko
Tue Apr 15, 2008 7:30 am
Forum: Support
Topic: loading a Unicode file line by line
Replies: 21
Views: 68046

IsFromNewLine(0) is always true (because any document starts from a new line). If you use your own function getting text from RichView, do not add #13#10 for the 0th item.
by Sergey Tkachenko
Mon Apr 14, 2008 5:30 pm
Forum: Support
Topic: Pasting copied webcontent containing images and text doesn't
Replies: 3
Views: 11106

There are several possible reasons why images are not inserted.
1) Images have formats unsupported by Delphi by default, for example gif and png. You need to use thirdparty graphic classes to support them (see http://www.trichview.com/forums/viewtopic.php?t=89)
2) Images are on a web server. They ...
by Sergey Tkachenko
Mon Apr 14, 2008 10:03 am
Forum: Support
Topic: Away message: out of office till April 13
Replies: 3
Views: 13715

I am back, now answering to e-mails...