Privacy Agreement/Datenschutzerklärung
Introduction
Benefits of WPTools architecture
New Features in WPTools 9
Archive: What was new in WPTools 8
History of WPTools
Technical Notes
License
WPTools FMX / WPTools Universal
Credits
Programming
Installation
Delphi
step by step installation in Delphi XE and later
C++Builder Notes
Create package for C++Builder
Create editor in code in C++
Example: Create dynamic TWPCustomRTFEdit
Example: Create image object and insert
Introduction
Data Structures
Mini Editor
Toolbar and Action Classes
WYSIWYG
How to use the "Default Editor"
Using "Old" module
Using V7 Module
Ctrl+Click
User Interface
Mini Editor (Use TWPToolbar)
Toolbar
Ribbon Applications
Standard XE3 Ribbons
TMS Office 2010
Start
Populate Edit Menu
Populate Style toolbar with Font and Color Selector
Populate Table toolbar
Make the File menu work
Style Scroller
Create an own toolbar
Toolbar and Actions, OnOpenDialog
MDI Interface / Tabbed Editor
Modify the look and feel of the editor
Background Theme
SVG Toolbar Icons
Introduction
How to use
SVG methods of TWPImageList
Localization - change Language in Dialogs
Hover Effects
EditOptions
ViewOptions
Format Options
HideTableBorders
Custom Scrollbars
Layoutmodes
property ViewOptions
property ViewOptionsEx
property ViewOptionsEx2
Multiple Editors for the Same Text
Use TWPRTFStorage
Create Multi View in Code
Multiple Editors with a list of TRTFDataCollections and Tabset
Header and Footer
TWPManageHeaderFooter
Highlight current table row
WPImageList
TWPToolbar and TWPImageList
TWPImageList
Glyph Collection
Loading GUI images at runtime
TWPToolButton
WPImageList as ImageList
How to create images for WPImageList
ImageList in FXM
Printing and PDF Export
Watermarks
Print other RTF text as letterhead
Show a background pattern on the virtual paper
Draw Grid
Print a frame line around the text area
Display a pre-printed form
Printing - how to set printer properties
Use mail services
Add PDF Export
Export to PDF
Export using dialog
Export using PaintRTFPage()
Create edit / memo fields
Create a check box field
Create embedded data objects
Detect rectangles for subsequent signing
PaintEngine
Superprint: Print Booklets and Labels
Print/Edit elements of TWPRTFDataCollection
Print Labels (TWPSuperPrint)
Label Priniting
LabelDef
Active
UnitIsInch
SheetWidth
SheetHeight
Vertical
Top
StartNr
RowCount
Right
Padding
Name
Left
LabelWidth
LabelHeight
Horizontal
ColumnCount
Caption
Bottom
AsText
Example Project
Initialization
After changing sheet size and margins
Change of column count or row count
Change of label width and height
ReadProps and StoreProps
PDF Products by WPCubed
wPDF
WPViewPDF V4
Move cursor / select text
Change the current text layer
Move the Cursor
CPChar, CPMoveNext, etc.
Search&Replace Text
TWPRTFDataCursor
Drop-Markers
Attribute Interfaces
Work directly on paragraphs
Create new tablerow on CR
ActiveParagraph
Change text attributes in code
Character Attributes
Change current writing mode
Paragraph Attributes
Document Attributes
Change Page Size and Page margins
Numbering
Numbering
Tables
Set width in inch of a certain column
Work with % width
Useful code samples for table handling
Styles (CSS)
Work with SPAN Styles
Read/Write CSS
Shared Styles and Style Scroller
Manage Style Properties
List of 'A' methods
ASet/GetBorder
Implement an "Attribute Brush"
Add and Assign style
InplaceEditors
TextObject based inplace editors
Table cell based inplace editors
Persistency
Property Grids
AppendPropertyRow
AppendPropertyGrid
Grids and Rows
Objects
Images
C) Work with images
Technical Information
About Linked Images
Example Code
Provide a Graphic Popup Menu
Images and Mailmerge
TWPTextObj with custom draw event
Use TextObjects (i.e. page numbers, sum fields, dynamic chapter headlines)
TWPTextObjectClasses - customize TWPTextObj
Example: Print a page number
Example: Create comboboxes for edit fields
Example: Set fixed width for edit field
Hyperlinks
InputSymbol / Emoji
TableProducer - Dynamic Tables
How to quickly create a table from data
Use a page template
Introduction: Create a table from BIOLIFE Database
1) Basis components
2) Attach to database
TableProducer Navigator
Create a table using the data sensitive WPTableProdcer
Create a dynamic table in code
Populate columns in code
Create text under program control
Header/Footer API
HeaderFooter.Get() API
Property WorkOnText
OnGetSpecialText Event
Collection HeaderFooter : TWPRTFDataCollection
Paragraphs
TParagraph API
TParagraph Properties
TParagraph Methods
AppendParCopy
GetChildrenAsList (Sorting and Filtering)
Compact coding
Get and set the text "as string"
Insert Text
Low level text creation
Set Attributes in code (unit WPCreateDemoText)
Auto capitalisation
Create a text header with image
Measure Paragraph - calculate width
Create Tables
Create Table in Code
Create Table from Database
FastAppendText: Create text with multiple letters
Example: FastAppendText
Create Sections with FastAppendText
Create Lists
Save created text
Sections
Numbering
Numbering
Mail Merge (replace fields with data) and data forms
Create Field
InputMergeField
InputEditField
ReplaceTokens
Low Level
Customize Field Display
Update Field (Insert Text from Database)
Start Merge process
Event OnMailMergeGetText
TWPMMInsertTextContents
procedure Clear
procedure Abort
procedure LoadTextFromStream(s: TStream)
procedure LoadTextFromFile(const FileName: string)
function LoadImageFromFile(const FileName: string; w: Integer = 0; h: Integer = 0): Boolean;
property DataCollection: TWPRTFDataCollection
property DataBlock: TWPRTFDataBlock
property MergeAttr: TWPStoredCharAttrInterface
property MergePar: TParagraph
property MergeParPos: Integer
property Obj: TObject
property CodePage: Integer
property StringValue: AnsiString
property WideStringValue: WideString
property OldText: string
property OldFormattedText: string
property OldIsPlain: Boolean
property CurrentObject: TWPObject
property CurrentTxtObject: TWPTextObj
property Options: TWPMailMergeContinueOptions
property Name: string
property FieldnamePart: string
property DatasetnamePart: string
property Command: string
property StartInspObject: TWPTextObj
property EndInspObject: TWPTextObj
property DisplayName: string
property Format: Integer
property Modified: Boolean
property Hyperlink: string
property HyperlinkName: string
property IsNull: TWPMMInsertTextContentsNull
property ReplaceMode: TWPMMInsertTextContentsReplaceMode
Preserve Attributes of text inside a field
Insert/Modify Image
Work with selections
FieldLocate: Modify Field Name or Contents
Use TWPMMDataProvider
Hide empty paragraphs
Forms & Edit Fields (data forms)
Create Fields
Implement a checkbox
Control Rendering
Read and Write Data
Change width of field
Validate Input
Hints
Create ComboBox
Working with multiple threads
Mail Merge extended - InsertTable, use custom data provider interface
TWPMMDataProvider
Adding Spellcheck
Use WPSpell
Load & Save
Database, TDBWPRichText
DOCX Support
Save to HTML / Load from HTML
Reader and Writer
Cache Images
Find text and replace by loaded text
Sections
Full implementation - shows how to work with sections
Use utility procedure AppendAsSection
Use strings in WPTOOLS format with the <newsection/> tag
Append section with individual footer (or header)
Syntax Highlighting
TWPSynEditHighlight
TWPCustomSyntax
TWPXMLSyntax
TWPXMLRTFSyntax
TWPFieldSyntax
TWPFieldBandSyntax
WPReporter
Reporting with WPReporter
WPReporter - step by step
WPReporter Events
Convert text into template
Comparison to "usual" reporting
Reporter and Bookmarks
Calculation in Text and Tables
Token to Template Conversion
General Syntax - Fields
Syntax Highlighting
Bands
Groups
Parameters for Fields
Parameters for Bands and Groups
Example Template
WPTools Premium
Footnotes
Columns
Text boxes
Create Textbox
Dynamically create textboxes on certain pages
Ownerpaint Textbox
Dynamically highlight textbox
Make the text box editable
Low level textbox creation
TWPORTFTextBox.Create
TextObjects.InsertTextBox
TextObjects.InsertClass
Appendix
WPAT_codes
Character Attributes
Paragraph Attributes
Numbering Attributes
Border Attributes
Table Size and Position
MIME Import / Export
Reader / Writer
Demo
HTTP Interface
Form Setup
Unit Initialization
User Action and History Management
Load Method
Webbrowser with WPTools
Source View
XML editor mode
Work with sub paragragraphs
Use "External Pages"
Create Text Paths
Bookmarks
Speech recognition interface
Notes for Upgraders
... when upgrading from WPTools 5 or 6
... when upgrading from WPTools 4
Updated Rendering and Formatting
Changed Unit Names
Changed Classes
Changed Pointers
Changed GUI elements
New Border Handling
Changed Style Handling
BackgroundImage
Release Notes WPTools 9
Archive
Release Notes WPTools 8
Release Notes - WPTools 7
Release Notes - WPTools 6
Release Notes - WPTools 5