You cannot load RTF there. But you can select the object and insert the RTF text using LoadFromString.
Thats what mailmerge does.
You can also modify the unit WPIOHTML accordingly to let it do what you need.
WPTools is by default using the links, image embedding in HTML is the exception.
I cannot see that example file (and now removed the link)
You are welcome to send your example to support at wptools.de so I can try it out.
It depends a lot on the EMF file, some can be really complicated. But in general wPDF supports those very well and does not convert to bitmap.
You already gave the explanation - if the image is linked to a file it is not embedded.
To force embedding (or vice versa) use OnPrepareImageForSaving event.
In der aktuellen Version ist das so, ja.
You probably found
That can be used to select a different underline.
This is how it was implemented - while the focus routine can distribute the text on multiple pages there are no page breaks within a table cell.
The Editfields are just mail merge fields. Mail merge fields are areas in the text marked with a start and an end object.
All text objects, also bookmarks, hyperlinks and so on can be read and searched with the universal "Code" functions.
If you open WPCtrMemo look for
// Support for codes
You will find function OpenCodes and other functions incl. documentation.
PS: The user can enter any text and, if your GUI allows it, also insert images. There is no further check in the current version.
I am sorry, Page breaks in an inner table are not supported, only in outer tables.
The page break is always put in the outer table.
You can select from different border types:
you can add the flag wpIgnoreSingleCellSelection to EditOptionsEx to avoid this.
You can always read out the the object where you are.
The field name is only in the StartObj, not the EndObj.
Those events will only happen if in form completion mode (activated in Protect Prop)
You can of course watch the current position in the event OnChangeCursorPos - check wether you are in a field or not.
WPTools 7 contains a method which can strip the RTF tags. The procedure is also portable.
Especially for ZugFeRD please use the e-mail firstname.lastname@example.org
Please make sure that the XML data embedded into the PDF is correct.
PDFA Mode must be set to A3
The embedded data are written as
/EF <</UF 15 0 R/F 15 0 R>>
The mime type is currently only written for on-page attachments (such as push pins)
you can mail me that RTF file which behaves badly.
Wehen you upgrade I recommend to simply install the upgrades over the current installed WP products. Then recompile the wptools package. wPDF should be linked with it - see file WPINC.INC.
If you get a problem with IDE it is likely because of non matching packages.
TextDynamic V7.33 is available now.
It integrates the latest PDF engine and DocX support.
ansistring := WPRichText.AsAnsiString('ANSI')
htmlstring := WPRichText.AsAnsiString('HTML')
Alternatively use SaveToStream( ..., format )
I installed it as C++Builder XE2 package.
The following things are important:
- the library directory must include the WPViewPDF/VCL directory.
- The VCL,RTFL and DESIGNIDE.BPI must be included under "required"
- The Delphi compiler requires this additional option -LUDesignIDE
That dialog is using the standard PrintDialog which does have such a property.