WPCubed Product Support

mhe

TL1 · Basis Joined Last seen
Russian characters in RTF-Preview but not in PDF-Export #3
Hello Julian, Thanks, now I use WritingAttr.SetFontCharset as you suggested. [...] RTF.CPPosition := FoundPosition; RTF.WritingAttr.SetFontCharset(RUSSIAN_CHAR…
Russian characters in RTF-Preview but not in PDF-Export #1
Hello, I can successfully insert russian characters into an RTF-file by using RTF.InputStringW("mytext"). The RTF-Preview shows it correctly, but whe…
How to generate chapter names in the header section? #5
Hi, Thanks for the tip. I took AssignPrintProperties, and the OnTextObjGetTextEx event is called. Problem now: The headline always shows the same chapter headl…
How to generate chapter names in the header section? #3
Hi, I took your solution and it works fine! My problem now is, that the preview does not display the headlines (The TextObjGetTextEx handler is not called, whi…
How to generate chapter names in the header section? #1
Hello, I want to automatically display the appropriate chapter name in the header section of a page. For example: Usually a book consists of number of chapters…
Problem concatenating RTF files #4
Hi, I use a class which inherits from TWPRichText. If I use TWPRichText directly it works... needs further investigation...
Problem concatenating RTF files #3
Hi, meanwhile I figured out that the preview does not work correctly. When saving the document as RTF-file, the headers and footers are correct, but the previe…
Problem concatenating RTF files #1
Hello, I want to create an RTF-Document by appending smaller RTF-documents. Each RTF-document can have its own header/footer. I use the AppendAsSection functio…
Right aligned page numbers in TOC #5
Now it works! I did a ReformatAll at the end. Thanks!
Right aligned page numbers in TOC #3
And how is it done exactly? this is an excerpt of the TOC code which does not produce the correct result [...] ActiveParagraph.TabstopAdd(Header.PageWidth - He…
Right aligned page numbers in TOC #1
Hello, How can page numbers in the TOC be correctly right aligned? Example (displayed in fixed font, to get the idea): 1 Chapter 1.................1 1.1 Chapte…
Bug in CreateTableOfContents, same page numbers #3
here's the code for creating GUIDs uses IdGlobal; [...] var id: TGUID; begin CoCreateGUID(id); guid:= GUIDToString(id); end; but that is overkill, I would…
Bug in CreateTableOfContents, same page numbers #1
In the CreateTableOfContents procedure, bookmark names are created by using GetTickCount to create a unique bookmark identifier. This is somewhat dangerous bec…
Tabellendarstellung bei WPTools & WPdf #3
Das Problem mit der fehlenden letzten Zeile tritt bei mir auch auf, seitdem ich auf Delphi 7 umgestiegen bin. Habe mir heute folgende Versionen heruntergeladen…