Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

New features – PB Docs 2022 – PowerBuilder Library

New features – PB Docs 2022

New features

The RichTextEdit control has the following
enhancements:

  • Supports saving the contents in a RichTextEdit control as
    PDF using PDF/A standard.

  • Supports setting the userPassword, the masterPassword and
    restrictions and saving the contents as PDF

  • Supports inserting files in Microsoft Excel format (.xlsx)
    into the RichTextEdit control

  • Able to insert text files in different encoding formats
    such as “UTF-8”, “UTF-16LE” or “UTF-16BE” correctly without
    illegal codes (the BOM header or the encoding needs to be
    specified)

  • Supports pasting the content of the clipboard in a
    specified format (by using the PasteSpecial function or clicking
    the right mouse buttion > Paste
    Special
    button )

  • Supports opening hyperlinks in the text and creating,
    modifying, and deleting hyperlinks

  • Supports restoring the edit that was previously
    undone

The following new functions have been added to the
RichTextEdit control:

  • Redo
    — Restores the edit that was previously undone in a
    RichTextEdit control.

  • CanRedo — Tests whether
    Redo can restore the edit that was previously undone in a
    RichTextEdit control.

  • PasteSpecial — Pastes the
    content of the clipboard in a specified format into the current
    position in a RichTextEdit control.

  • TextFieldInsert — Inserts
    a text field into the current position in a RichTextEdit
    control.

  • TextFieldSetText — Sets
    the text of the text field in a RichTextEdit control.

  • TextFieldSetTypeAndData
    Sets the type and type data of the text field in a RichTextEdit
    control.

  • TextFieldGetType — Gets
    the type of the specified text field in a RichTextEdit
    control.

  • TextFieldGetText — Gets
    the text of the specified text field in a RichTextEdit
    control.

  • TextFieldGetTypeData
    Gets the type data of the specified text field in a RichTextEdit
    control.

  • TargetInsert — Inserts a
    target into the current position in a RichTextEdit
    control.

  • TargetDelete— Deletes the
    target according to the specified ID in a RichTextEdit
    control.

  • TargetSetName — Sets the
    name of the specified target in a RichTextEdit control.

  • TargetGetName — Gets the
    name of the specified target in a RichTextEdit control.

  • TargetNext — Gets the
    next target ID of the specified target.

  • TargetGoto — Moves the
    cursor to a specified target in a RichTextEdit control.

  • SaveDocumentAsPDF — Saves
    the contents in a RichTextEdit control as a PDF document.

The following function has been modified:

  • InsertDocument — A new
    argument encoding and a new file type FileTypeXLSX! have been
    added to the InsertDocument function. You can specify the
    encoding of the inserted document. If the
    encoding argument is not specified, the
    encoding in the BOM header will be used. If there is no BOM
    header in the file, ANSI will be used as the default encoding
    format.

    The .xlsx file type is also added to the Select a file name dialog box, so you can
    choose to insert files in the format of Microsoft Excel (.xlsx)
    by clicking the right mouse button > Insert File button.

    When inserting a .txt file through the Select a file name dialog box, the
    encoding (UTF8, UTF16LE, or UTF16BE) in the BOM header will be
    used. If there is no BOM header in the file, ANSI will be used
    by default.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x