InputFootNote WPTools6 premium BuilderC++
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
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
freereport does not support wprich text.