InputFootNote WPTools6 premium BuilderC++

edited 3:30PM in FreeReport
I'm trying to insert some footnotes using the methode 'InputFootNote' at a given position

Code:
InsertFootNote( AnsiString text){
WPRichText1->CPPosition = WPRichText1->ActiveParagraph->Position() + WPRichText1->CPPar.Length();
WPRichText1->InputFootnote( text, Wprtepaint::TWPInputFootnoteModes(wpNumberInFootnoteIsSuperScript));
}


Code:
InsertText1(){
WPRichText1->ActiveParagraph->Append("blablablabla.");
InsertFootNote("toto");
InsertFootNote("tata");
WPRichText1->ActiveParagraph->Append("blablablabla.");
InsertFootNote("titi");
}

So calling InsertText1(), I excpect something like :
blablablabla.12blablablabla.3
But I got:
blablablabla.12blablablabl3a.

Code:
InsertText2(){
WPRichText1->ActiveParagraph->Append("blablablabla.\n");
InsertFootNote("toto");
WPRichText1->ActiveParagraph->Append(" ");
InsertFootNote("tata");
WPRichText1->ActiveParagraph->Append("blablablabla.");
InsertFootNote("titi");
}

This function insert on my WPRichText1 :
blablablabla.
11 blablablabl2a.
Instead of :
blablablabla.
1 2blablablabla.3

So I can't insert a space between two footNote

Any idea about what's going on?

Thank you
aa

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 3:30PM
    IIRC
    freereport does not support wprich text.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.