Search found 100 matches

by vit
Tue Jul 24, 2012 1:41 pm
Forum: Support
Topic: InsertStringTag causes an exception in ActiveEditor
Replies: 5
Views: 18216

InsertStringTag causes an exception in ActiveEditor

Why this code causes an exception?

Code: Select all

SRVE.ActiveEditor.InsertStringTag('111', 1);
SRVE.ActiveEditor.InsertStringTag('222', 2);
P.S. SRVE.ActiveEditor = SRVE.RichViewEdit
by vit
Thu May 24, 2012 5:47 am
Forum: Support
Topic: How to get TCustomRVItemInfo's container?
Replies: 1
Views: 9046

How to get TCustomRVItemInfo's container?

Is there a simple way (without iterating whole document) to get TCustomRVData which contains TCustomRVItemInfo?
by vit
Fri May 18, 2012 12:41 pm
Forum: ScaleRichView
Topic: PageNoVisible problems
Replies: 4
Views: 23998

Thank you!
by vit
Fri May 18, 2012 7:23 am
Forum: ScaleRichView
Topic: PageNoVisible problems
Replies: 4
Views: 23998

PageNoVisible problems

Hi!
I've encountered two things connected to PageNoVisible property.

1. Changing this property doesn't cause OnChange event.
2. Value of PageNoVisible isn't stored in file during saving. However, margins are stored.

Are they all by design?
by vit
Sat May 05, 2012 4:07 pm
Forum: Support
Topic: Deletion line/para
Replies: 4
Views: 13909

yes of course
by vit
Sat May 05, 2012 12:48 pm
Forum: Support
Topic: Deletion line/para
Replies: 4
Views: 13909

Thanks! I've tried to do like this

Code: Select all

RVData.SetSelectionBounds(FirstItemNo, RVData.GetOffsBeforeItem(FirstItemNo), LastItemNo + 1, RVData.GetOffsBeforeItem(LastItemNo + 1));
FRVE.DeleteSelection;
and it works properly!
by vit
Sat May 05, 2012 6:02 am
Forum: Support
Topic: Deletion line/para
Replies: 4
Views: 13909

Deletion line/para

Is it possible to delete line/para using SetSelectionBounds+DeleteSelection instead of DeleteItems+Format/DeleteParas?

I use DeleteItems and sometimes I get exception during the Format execution. I guess the cause is that document is incorrect.
by vit
Thu Apr 26, 2012 1:04 pm
Forum: Support
Topic: Protection of TRVTableItemInfo
Replies: 1
Views: 8357

Protection of TRVTableItemInfo

Hi!

Is it allowed to set protection like [rvprConcateProtect, rvprModifyProtect, rvprDoNotAutoSwitch, rvprSticking] to TRVTableItemInfo?

I've tried to do it but it caused TRVTableItemInfo is disappear.
by vit
Wed Apr 25, 2012 7:29 pm
Forum: Support
Topic: Insertion bullets/lists into a protected paragraph
Replies: 6
Views: 17608

Are you going to add this feature?
by vit
Tue Apr 24, 2012 6:00 pm
Forum: Support
Topic: Insertion bullets/lists into a protected paragraph
Replies: 6
Views: 17608

Yes, I do, and in tables too
by vit
Mon Apr 23, 2012 3:46 pm
Forum: Support
Topic: Insertion bullets/lists into a protected paragraph
Replies: 6
Views: 17608

Also a paragraph indent can be changed using ruler. Is that OK?
by vit
Fri Apr 20, 2012 4:16 pm
Forum: Support
Topic: Insertion bullets/lists into a protected paragraph
Replies: 6
Views: 17608

Insertion bullets/lists into a protected paragraph

The paragraph has options rvpaoReadOnly, rvpaoDoNotWantReturns and all items of its have protection rvprConcateProtect, rvprModifyProtect, rvprDoNotAutoSwitch, rvprSticking, rvprDeleteProtect, rvprParaStartProtect. But actions like TrvActionParaBullets, TrvActionParaNumbering and TrvActionParaList a...
by vit
Wed Mar 21, 2012 3:05 pm
Forum: Support
Topic: How do I save/load a page format
Replies: 1
Views: 8610

How do I save/load a page format

How do I save/load a page format (orientation, margins, size etc)? I store document in the way: procedure TDocEditFrame.SaveFile(const FileName: string); var fs: TFileStream; begin fs := TFileStream.Create(FileName, fmCreate or fmOpenWrite); try SRVE.RVHeader.SaveRVFToStream(fs, False); SRVE.RVFoote...
by vit
Thu May 26, 2011 8:01 am
Forum: Support
Topic: OnCaretMove in read only table
Replies: 1
Views: 8088

OnCaretMove in read only table

Hi!
My table (TRVTableItemInfo) has rvtoEditing in Options. And when a user click it using a mouse OnCaretMove doesn't happen. Is there way to change this behavior?
by vit
Mon Apr 18, 2011 1:00 pm
Forum: Support
Topic: Loading of RTF causes an exception
Replies: 2
Views: 10726

P.S. You can repeat this using ActionTest