Tabstops in footers not saving

  • I just noticed something critical in my legacy app which uses WPTools4. This was not a problem in earlier versions of my program, which was using WPTools 4.11, but now with 4.25 it seems to lose all tab stops that were contained in the footer.

    For example, I had a centering tabstop to center some text between other text on the left, and text that had a right align tabstop for it, so instead of :
    abc def xyz

    I get
    abc def xyz

    And when I look at the tabstops for that footer line, they are all missing (tab chars are still there, but the line's tabstops are gone).

    If load the RTF from an old copy, the footer retains the tabstops fine, so it is reading them OK... it is only when I then save it and re-read it have they gone missing.

  • Additional info (samples)
    Before:

    Zitat

    {\footerf \pard{\qc\li0\fi0\ri0\sb0\sl1000\sa0 \plain\f4\fs18\cf0\b Licensed and Regulated by the Texas Department of Agriculture, Structural Pest Control Service,\par
    \qc\li0\fi0\ri0\sb0\sl1000\sa0 \plain\f4\fs18\cf0\b PO Box 12847 Austin, Texas 78711-2847\par
    {\tqr\tx11520\tqc\tx5760\tx9360\tx1440 \ql\li0\fi0\ri0\sb0\sl1000\sa0 \plain\f4\fs18\cf0\b SPCS/T-4\tab (Rev. 09/01/07)\tab (512) 305-8250\tab Buyer's Initials \plain\f4\fs18\cf0\b\ul \tab }}\par}


    After:

    Zitat

    {\footerf \pard{\qc\li0\fi0\ri0\sb0\sl1000\sa0 \plain\f1\fs18\cf0\b Licensed and Regulated by the Texas Department of Agriculture, Structural Pest Control Service,\par
    \qc\li0\fi0\ri0\sb0\sl1000\sa0 \plain\f1\fs18\cf0\b PO Box 12847 Austin, Texas 78711-2847\par
    \ql\li0\fi0\ri0\sb0\sl1000\sa0 \plain\f1\fs18\cf0\b SPCS/T-4\tab (Rev. 09/01/07)\tab (512) 305-8250\tab Buyer's Initials \plain\f1\fs18\cf0\b\ul \tab }\par}

    Specifically this line:
    Before:

    Zitat

    {\tqr\tx11520\tqc\tx5760\tx9360\tx1440 \ql\li0\fi0\ri0\sb0\sl1000\sa0 \plain\f4\fs18\cf0\b SPCS/T-4\tab (Rev. 09/01/07)\tab (512) 305-8250\tab Buyer's Initials \plain\f4\fs18\cf0\b\ul \tab }}\par}


    After:

    Zitat

    \ql\li0\fi0\ri0\sb0\sl1000\sa0 \plain\f1\fs18\cf0\b SPCS/T-4\tab (Rev. 09/01/07)\tab (512) 305-8250\tab Buyer's Initials \plain\f1\fs18\cf0\b\ul \tab }\par}

    It is missing this beginning:

    Zitat

    {\tqr\tx11520\tqc\tx5760\tx9360\tx1440

    Hope this helps track it down.

  • Is this not going to be addressed? I had to space out the footer in our template, but for some reason lately people are complaining that the footer in one of our report templates is wrapping. I looked at their resulting report in PDF, and the Arial font appears to be just slightly larger on their system that what my system produces for the PDF, enough to throw things way off.

    They sent me the RTF from their system, and it appears fine on mine, so the only thing I can think of is the printer or display driver is computing fonts sizes differently somehow.

    New: I had them change printers and the problem went away, but they of course don't want to use that printer.

    Have any insight on what is going on? If I could get footers to save tabstops, it might solve this as I had to simuate left, center and right justified text using spaces.

    The sample RTF in my previous post is the text I had to manually space out. Odd that only now reports are coming in on this issue about wrapping. Not sure what changed.

    Thanks,
    Eric