Beiträge von Fredrik

    Hello,

    Yes, I also get access violations when graphics are painted in WPTools 6.03 and 6.02 (6.01 and 5.x are OK).
    I think the problem occurs whenever the image has been scaled. Please try to load these RTF files:

    http://www.moregroup.de/files/GraphOrig.rtf
    (no scaling, no problem)

    http://www.moregroup.de/files/GraphScaled.rtf
    (access violation, image not painted in 6.03)

    It means I am not able to convert from WPTools 5 to 6.03, because my customers have scaled images in their documents.
    Any help is appreciated!

    Delphi 2009 Prof, Win XP Prof

    Best regards,

    Fredrik Fundin
    MOREgroup GmbH

    Oh yes, I know from my own application how much work the ANSI->Unicode transition causes. But I cannot go back to Delphi 2007, since I now have dozens of Japanese users. And the automatic paragraph numbering is important, since a large airline is using it for their corporate contracts.
    So I would very much appreciate your support!

    Best regards,

    Fredrik Fundin
    MOREgroup

    Hello Julian,

    I use paragraph numbering with outline and create a text that looks like this:

    1. First Paragraph
    1.1 Section One
    1.2 Section Two

    Then I save the text in RTF using TWPRichText.SaveAs. When loading again, it looks like this:

    .1 First Paragraph
    .11. Section One
    .12. Section Two

    What can I do to bring back the original format?

    Best regards,

    Fredrik Fundin
    MOREgroup

    I can see you have published version 6.02. The report band properties are now appearing again - very good!

    However, I get a compiler error at the function MixColor (asm code in WPRTEDefs.pas at line 52847). If I comment out the lines, graphics do not paint...

    Regards,

    Fredrik Fundin
    MOREgroup

    Hello,

    I have upgraded to WpTools 6 Premium and Delphi 2009, which now works fine, with one important exception:

    The properties of the report bands are missing. In particular, the property "Database" is blank, so the reporting functionality is "dead".

    If I save the document with WpTools 6 and open it again with an older application (using WpTools 5), the Database names are still there. Possibly an ANSI/Unicode string issue?

    Regards,

    Fredrik Fundin
    MOREgroup

    These effects are visible in Full Layout Mode or in printouts. If necessary, I can prepare a sample application. I have made two observations:

    - If I add a 3 pt border to a table in Microsoft Word, the height of the table increases. Instead, in wpTools the height of the table (including the border) remains the same. As a consequence, there is less space available for the text, especially in the last line.

    - When a table has a page break, the the last line is sometimes a little higher, independent of the border setting. When the horizontal thick border comes, it is not "synchronized" with the cells and cuts right through the text.

    I have a customer who requires a special table layout for their contracts (light gray shaded cells, with a 3 pt white border). If the white border appears over the text, that line of the price list is not readable and I have a problem... I use wpReporter and have not found any workaround.

    Fredrik

    Hello Julian,

    Thank you for the quick correction! The "Space" setting now remains with the document. I have just a few details left, before the tables look perfect :)

    This is a simplified example:
    I create a table with the standard menu command "Table, Insert, Table". In the "Format Border" dialog I set Width to 3 pt and Space to 2 pt. The editor is in Full Layout and wpDontUseBorderPadding is set to True. This is how the table looks during editing: http://www.moregroup.de/files/textedit.jpg

    Now I close the RTF file and open it again. This is what comes up: http://www.moregroup.de/files/textopen.jpg The last line is cut at the bottom, so you cannot see the difference between "g" and "q". I also notice that the all cells are a bit smaller.

    After this, I make a long table with the same settings, spanning over several pages. This is one of the page breaks: http://www.moregroup.de/files/textpage.jpg The border cuts right through the text, so the reader may think "Well, that's not part of the contract!"

    These are the RTF files:
    http://www.moregroup.de/files/text.rtf
    http://www.moregroup.de/files/textlong.rtf

    Look forward to hearing from you!
    Fredrik Fundin
    MOREgroup

    Hello,

    In the dialog Borders and Shading there is a setting for "Space". It works fine as long as I remain inside the document. But when I save the document and open it again, the setting is gone and the resulting table is not acceptable. If I use a thick border line (for example, 3 pt), the lower part of a "g" or a "q" is not visible. In particular, this happens to the last line of a table. Can this be fixed in one way or another?

    Another thing: The Paragraph Format dialog does not come up properly (TWPParagraphPropDlg.Execute) in version 5-35. It seems there are some preparation in the code for version 6, which cause problems in version 5.

    Greetings
    Fredrik Fundin
    MOREgroup