trichview.com

trichview.support




Insert Paragraph at the beginning of a document


Return to index


Author

Message

Michael Exel

Posted: 03/17/2004 15:55:22


Can anyone tell me, how to insert a Paragraph with defined ParagraphFormat

at the beginning of the document.

I try following:


RichViewEdit1.SetSelectionBounds(0, RVE.GetOffsBeforeItem(0),0, RVE.GetOffsAfterItem(0));

RichViewEdit1.InsertText(#13,True);

ci := RVE.GetItem(0);

ci.ParaNo := 0;

RVE.Format;


Now if a numbered Paragraph was the first paragraph, then the new paragraph

has also autonumbering.

I need it so that the first paragraph has only the features of definded ParaNo.


Thank you





Powered by ABC Amber Outlook Express Converter