Thanks, Julian!
Could you please give an example for how ShowSectionOptions should be used?
Fredrik
Thanks, Julian!
Could you please give an example for how ShowSectionOptions should be used?
Fredrik
Hello Julian,
Now I have installed V6.05.8, but the file WPManHeadFoot.dfm is still dated 17.11.2006. I suppose you have made updates to it.
There is an access violation when the dialog is displayed at runtime.
Delphi 2009
Best regards,
Fredrik Fundin
MOREgroup GmbH
Good news abolut the enhanced header/footer dialog! However, when I downloaded WPTools 6.05.7 Bundle PRO the file WPManHeadFoot.dfm was dated 17.11.2006 and did not match the PAS file. How can i get the updated dfm file?
Best regards,
Fredrik Fundin
MOREgroup GmbH
Hello Julian,
That is strange. I got the access violation in unit WPObj_Image, function TWPOImage.PaintEx, at line 590.
But anyway, thank you for the suggestion! Using the file WPObj_Image.pas from version 6.01 solved the problem.
Fredrik Fundin
MOREgroup GmbH
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
Sorry, I forgot to tell you the details:
WpTools Version 5.47, Premium
Delphi 2009
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,
Did you have an opportunity to check my issue with the thick border lines?
Thanks!
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
Thanks Julian!
I am amazed by your quick service.
Fredrik
Hello,
After upgrading WpTools from 5.18.7 to 5.18.9 the text attributes of hyperlinks disappeared. Any idea what happened? Is there a new parameter I have to set?
It concerns both existing documents and new hyperlinks, using the InputHyperlink() function.
Fredrik