Beiträge von Franck EIC

    Hello,

    I have a problem with the position of textbox.

    I use the properties Mode and PositionMode, from the TWPTextObj class, to configure the position of my textbox. For example align on text,behind text, etc.

    When i set the properties in my editor everything work fine, but when i save the rtf or load a rtf containing textbox, the property value is lost.

    Those properties work fine with image but not with textbox do you have any way to make it work ?

    Hello,

    I have a problem with the rtf files generated with WPTools.

    When i open it with another editor (MS Word) all the image set behind the text are back above it.

    After some comparison of the rtf code generated with wptools, it seem that wptools use its specific marker "\wpmodeparam1" and Word use "{\sp{\sn fBehindDocument}{\sv 1}}" .

    Do you have any way to generate the rtf file so that other editor keep the image behind the text ?

    Hello,

    I have a problem the SaveToFile method of TWPRichText in WPTools8.

    Sometime the RTF is save in UTF-8 and sometime in ANSI, but LoadFromFile seems to always look for ANSI creating problems with the OnMailMergeGetText Event.

    When the document is save in ANSI inspname get the expected value (L"Général.var").

    But when it is save in UTF-8 it become (L"G�n�ral.Var") causing me to fail the merging.

    I have try to use the "-codepage" option in the FormatName but it seems to be ignored even if available with RTF (https://www.wpcubed.com/manuals/formatstrings.htm).

    Option which sems to be ANSI if not specified (1252).

    Do you have an other way to force the RTF to be save in ANSI?