wpview_pdfMergeW, adding a header/footer (and other issues) #4
I nailed it! Created this function: function TPDFDoc.GetInformation: integer;const MAXPAGES = 3000; PAGESTRUCTSIZE = MAXPAGES shl 1 + MAXPAGES;var i: integer; …
wpview_pdfMergeW, adding a header/footer (and other issues) #3
Thanks for the answer. Quote: "simple script stored for each page" So if I want to have a "pesudo-footer" on each page in the generated fil…
wpview_pdfMergeW, adding a header/footer (and other issues) #1
Delphi 10.1, View v. 4. I'm trying to use the STAMPTEXT to add a footer to each page in a PDF I generate out of several files. The left part of the footer…
Tables in docs shift to new page when edit #1
Our customers have templates constructed by tables: A header-table, a vertical right for company information and one table for subject and text. The usual stuf…
Page format change using templates #1
Our system uses document templates (containing the usual letterheads and information). One (and only one) customer has a form he wants printed in A3 and create…
ReadOnly won't be set #2
(FIXED, I guess) When I decide to make editor readonly I run this command: if SetRO then WPRichText1.Memo.EnableProtection; which decrements the variable to ze…
ReadOnly won't be set #1
D2009, WP6.29.1 In the form constructor I set WPRichText1.ReadOnly to true but reading it immediately after the assignment, it's false. The Culprit seems …
Trim empty lines inside paragraph and validation of solution #3
The XML I'm converting looks like this: - <Text01> Best regards <Break /> <bold>Dr. Suess</bold> <Break /> 15.01.2004. <B…
Trim empty lines inside paragraph and validation of solution #1
I get XML-data in which I need to replace <Bold> elements with the corresponding attribute for bold and such. For this I do this: const BOLD_ON_Token = &…
Best approach on generating report of mutiple data types #1
I'm stuck at starting point. My task is to generate a report based on the supported datatypes of a filing system. Initially this is narrowed down to rtf a…
Toggling protected text #1
I have to figure out a way to allow toggling the protective flag. I'm close to a beginner in this document concept and almost lost in it. Using D2009, wit…
How to enable buttons on twpPreviewDlg #10
I'll fix it the usual way, still hoping it'll be fixed in future updates.
How to enable buttons on twpPreviewDlg #8
Hi Julian. I just upgraded my version and the glyphs in the preview form are missing. The source files I can find are dated 27-10-2009 so it seems that the men…
When pasting text it is garbled because of unsupported font #4
Hi Julian. Hope you see this even after so long. The problem is still here but has never been a big issue to our customers. They would like to see it fixed tho…
Insert signature in two ways with same proportions #1
I insert a signature file through mail merge: procedure TfrmWordProcessor.WPRichText1MailMergeGetText(Sender: TObject; const inspname: string; Contents: TWPMMI…
When pasting text it is garbled because of unsupported font #1
When our customer paste mails from Notes directly into our app. the text is reduced to dots and what have you. If he pastes into Word and then into our program…
Problems with Actions and toolbars in MDI-edit window #1
Our editor-form use the standard TWToolbars but because the form is MDI we cannot use TMainMenu which attaches to the main form. Instead we use TActionMainMenu…
Scroll speed when using mouse to select text #1
One of our customers complain that it is difficult to use the mouse to select text spanning more than one page (they probably also complain about read lights).…
Merging RTF's with title line #4
Is GetTextLen unsafe or need something be flushed before calling it? In this particular program it was used two times. Some older applications of ours use the …
Merging RTF's with title line #2
In the bottom of the method adding the headers, footers and first page info, I found these two lines. aWPRichText.SelStart := aWPRichText.GetTextLen; aWPRichTe…
Merging RTF's with title line #1
The task is to create a document from other documents. Before inserting a document I must add a bold line with the creation date, creator and the title. proced…
Paragraph styles are not saved #8
I finally managed to do a fix that added shortcuts to the 3 styles and kept functionality in one place (in the TWPRichText.OnKeyDown). var Num: integer; SpeedB…
Paragraph styles are not saved #7
Can't find the ChangedText metod. Is it possible to access the TWPToolbar buttons so that a ctrl-b cheks the bold button? Direct access to these buttons m…
Paragraph styles are not saved #5
Using the buttons the OnCharacterAttrChange is triggered, whereas the home made piece of code doesn't. The best solution will be that the buttons and shor…
Paragraph styles are not saved #4
Depending on size and situation it may reside as a encrypted file or in a blob-field. I don't use dataset though. I do this: var MemoryStream: TMemoryStre…
Paragraph styles are not saved #2
Are we (the company I work for) the only one experiencing this problem? Many have read this post but none has added comments. This issue has reached a politica…
Paragraph styles are not saved #1
If you type some text, press ctrl-b and continue typing, the text naturally becomes bold. Now try to save the text and open it again. The style wasn't sav…
Protected text issues #3
Still there's the other problem where the first character is eaten by the editor if it is typed in a cell next to a protected cell. We have bypassed that …
Protected text issues #1
We have encountered two problems with protected text that we would like to report: -
Spell checking red wave #5
Don't think any likes that wavy "thing"