Posts by wpsupport

    WPViewPDF 6.01.0.0 release 24.7.2026

    NEW embedded font engine for TTF
    NEW embedded font engine for PostScript fonts
    NEW embedded, original JPEG 2000 decoder
    NEW embedded, original JBIG2 decoder

    With these additions, WPViewPDF no longer relies on external DLLs,
    only the WPViewPDF 6 DLL is required. This makes the whole product safer
    and programs using it significantly easier to deploy.

    We have thoroughly tested our new font engine with a wide range of PDF files.
    To verify accuracy, we compared synchronized output in different colors against the
    previous FreeType/AGG‑based renderer. Any discrepancies identified were corrected
    at the source. However, because this is a completely new engine, we kindly ask for
    your assistance in verifying that font rendering is flawless. The new text rendering
    engine is intended to be 100% accurate.
    If you encounter any issues with text output, please send us sample files so we can investigate.

    Please note that JBIG2 and JPEG 2000 are highly complex formats and not ideal for
    long‑term data preservation—they effectively embed another compressed document format
    inside your PDF. Because of the complexity, the decoders are not included in the WPViewPDF source code license.

    --> NO MORE ADDITIONAL DLLS NEEDED

    Also new:
    * much improved text extraction which also creates tab stop characters
    * improved ColorSpace handling
    * character handling carefully checked

    Stay tuned for upcoming changes in WPViewPDF in fall - a more robust page scroller,
    improved annotation and form handling.

    WPViewPDF 6.0.5.2 release 27.5.2026
    - the last change introduced a problem with empty acroform text fields when opened in edit mode. This has been fixed.

    WPViewPDF 6.0.5.0 release 11.5.2026
    * improvement to acrofields. Many radio checkboxes are now supported. (Make sure the PDF property /Opt is used)
    - one stability issues was fixed

    (Next built will include a new internal font rendering to eliminate the requirement for the TTF DLL. This is in beta test right now.)

    WPViewPDF 6.0.3.0 release 29.4.2026
    * fix problem when printing to a file. When the user didn't select an output file the dialog showed again. Now printing will be aborted and a message will be displayed. The message can be changed with SetGlobalProp( "TextAbortPrint=..." )

    WPViewPDF 6.0.2.0 release 20.4.2026
    * detect circular reference in StructTree


    WPViewPDF 6.0.1.0 release 3.3.2026
    * improved detection of CID fonts with improper PDF parameters
    + the document information dialog now contains info about the used encryption method, if one of the loaded PDF files is encrypted.

    WPViewPDF 6.0.0.0 release 25.2.2026

    + AES Decryption
    + AES Encryption
    + Delphi class TWPViewPDFWorkbench
    + command COMPDF_EX_ReplaceXObject can be used to replace a placeholder image with a PDF from a different PDF file.

    I found the reson for this problem -

    Please paste this function right at the start of implementation in
    unit WPIOHTML and it should work:

    function WPColorToString(Color: TColor): string;
    var
    rgb : Cardinal;
    begin
    if Color = clNone then Result:='transparent'
    else
    begin
    rgb := ColorToRGB(Color);
    Result := Format('#%.2x%.2x%.2x',
    [GetRValue(rgb), GetGValue(rgb), GetBValue(rgb)]);
    end;
    end;

    Yes, WPViewPDF can do this.

    {:: This functions loads data from a stream and return an identifyer for a given page.
    First call LoadPDFWatermarkFromStream and for all pages LoadPDFWatermarkStreamGetPage.
    Use the result of LoadPDFWatermarkStreamGetPage in
    wpviewpdf1.CommandStrEx( COMPDF_ApplyWatermark, '1', id ); // '1' is the page number or the range!
    }
    function LoadPDFWatermarkFromStream( Stream: TStream; StreamID : Word ): Integer;
    function LoadPDFWatermarkStreamGetPage( StreamID : Word; PageNo : Word ): Integer;

    Hallo,

    das ist schon der richtige Ansatz. Das muss man aber vor dem BeginDoc machen.
    Ist das passwort evtl. im cache?
    Bei PDF/A wird Verschlüsselung nicht unterstützt, da gemäss der ISO nicht erlaubt.

    Info: Das neue wPDF V6 unterstützt state-of-the-art AES 256 bit verschlüsselung (Version 5 Revison 6) - WPViewPDF Version 6 macht das dann auch auf (mit passwort)

    Es gibt unzählige Möglichkeiten wie WPTools eingesetzt werden kann, wie das control erzeugt wird und evtl. auch wieder freigegeben. Die Art der Anwendung hat natürlich einen Einfluss auf solche Probleme.

    Ich würde aber einen derartigen Prozess nicht im Create (TfrmMmPreview.Create) aufrufen sondern immer erst wenn das Fenster mit dem Handle bereits existiert. Das wäre im OnShow.

    *** WPTools 9.4.3.0 - 6.1.2026
    + with shift + click it is now possible to select an image which is under the text
    + fix setup script
    * fix in DocX support to improve writing header/footer
    * fix problem with global SVG color map

    *** WPTools 9.4.2.0 - 2.10.2025
    + Support for Delphi 13
    * updated touch screen handling
    + new option wpDisableAllParAttrInheritance in FormatOptionsEx3
    + new option wpAlignNumberTextLeftFromIndent in FormatOptionsEx3
    + new option wpAlwaysIgnoreAllPadding in FormatOptionsEx2
    + ANSI writer writes unicode symbols
    + ANSI writer writes number text
    * make sure the RTF writer saves the default font size
    + CSS reader now understands 140 color names
    + CSS reader will now refresh properties in existing styles with the CSS loaded and not merge properties
    + TWPSvgImage now also supports automatic theme colors
    + new option wpcoDisplayRunningSum in TWPColTemplateDB / TWPTableProducerDB
    * some fixes in RTF reader + option to load WPTools 5.1 RTF files
    * some fixes in RTF writer
    - fix CharAttrInterface.ToggleCharstyle

    I think you mean Delphi 13.

    WPTools9Manual.pdf has been updated in october.

    Delphi 13 works just like Delphi 12. To install you need to go to the right directory and open the DPK file. You need to compile and install it.

    Do not install WPTools (or any component) under "Program Files". This causes problems because those directories are not writable without admin rights.

    As documented the directory for Delphi 13 is WPTools\DXIII

    this is the one which should be under "Library" or in the search path.

    Since you have the PRO version it should compile just fine. But when you open the library Delphi will always throw warnings that units are included automatically. This is normal. (To avoid this, the units would have to be added to the project which causes a reference to DFMs which require the libary to be installed - not a good idea.)

    If Delphi show a form that controls are not known to the IDE, ALWAYS press "Cancel" and not "Ignore". Othewise the DFM will be modified.

    BPLs are not shipped with the installation. That would bloat the setup even more.

    This code simply clears the file names for the linked images.

    Code
    procedure TForm1.WPRichText1PrepareImageforSaving(
     RTFData: TWPRTFDataCollectionBase; Writer: TWPCustomTextWriter;
     TextObject: TWPTextObj; var DontSave: Boolean);
    begin
     if TextObject.IsImage then
     begin
         TextObject.ObjRef.StreamName := '';
         TextObject.ObjRef.FileName := '';
     end;
    end;

    Alternatively you can save using this flag:

    WPRichText1.SaveToFile( SaveDialog1.FileName, false, 'AUTO-AlwaysEmbed');