TextDynamic_Logo_weiss

Welcome to TextDynamic® - a powerful library to edit and create formatted text.

 

TextDynamic is a royalty free word processing and reporting control which can be embedded into applications to create text in code, to offer the end user WYSIWYG editing features and to convert document formats, such as RTF to HTML or RTF to PDF.

 

TextDynamic is a visual control. It can be used in WinForms application developed with .NET 1.1 or .NET 2.0 Windows development tools (Delphi 2006, VS2003, VS2005). Using the also provided OCX TextDynamic can be embedded into VB6 applications and used with MS Access® or Visual FoxPro® as editing, reporting or printing component.

 

Product Page .NET

Product Page OCX

API Reference

Support forum

 

The component was built using the reliable and widely used Delphi Component WPTools® 5 which is based on entirely new code, developed in 2004 and subsequently refined. It also contains many procedures and architecture especially developed for this DLL, for example the modern toolbar interface.

 


1 Welcome to TextDynamic
2 General
2.1 TextDynamic .NET
2.1.1 Trouble Shooting
2.2 TextDynamic OCX
2.2.1 Step by Step use in VB6
2.2.2 Step by Step use in Access
2.2.3 Tip for using TextDynamic in Visual FoxPro
2.2.4 property DLLName
2.2.5 property InitScriptXML
2.2.6 property Text
2.2.7 property Readonly
2.2.8 Trouble Shooting
2.3 Dynamic GUI
2.4 Categories in the programmers reference
3 Getting Started
3.1 Install in Toolbox
3.1.1 VB6
3.1.2 .NET IDE
3.2 EditorStart
3.3 TextDynamic Sample Projects
3.3.1 VB6 - First Application
3.3.1.1 Create some text under program control
3.3.1.2 Add hotkey Ctrl+B
3.3.2 VB.NET - FirstApplication
3.3.3 VB.NET - Create MDI Application
3.3.3.1 New Project
3.3.3.2 Create MDI Child window
3.3.3.3 Add Font/-Size Selector
3.3.3.3.1 Modify Text
3.3.3.3.2 Modify Combobox
3.3.3.4 Add Buttons
3.3.3.5 Code for the default menu items
3.3.3.6 A first start ...
3.3.4 C# - First Application
3.3.4.1 Update Statusbar
3.3.4.2 Add Menu Commands
3.3.4.3 Add Localized Menu Items
3.3.4.3.1 WPAMenuItem class
3.3.4.3.2 Alternative to WPAMenuItem
3.3.4.4 SetDLLName
3.3.5 C# - Second Application
3.3.6 Demo Project - Simulate MDI
3.3.6.1 Add Tabset
3.3.6.2 Hide some buttons
3.3.6.3 Ask to save before close
4 Introduction to the API
4.1 SetEditorMode()
4.2 SetLayout()
4.3 Update design of toolbars
4.4 SetEnableFlags
4.5 SetDisableFlags
4.6 SetLanguage (Localization)
4.7 wpaGetFlags
4.8 wpaSetFlags
4.9 Event OnUpdateGUI
4.10 Properties
4.10.1 string Text
4.10.2 string Text2
4.10.3 string TextFormat
4.10.4 IWPPdfCreator PDFCreator
4.10.5 IWPMemo Memo
4.10.6 IWPCharacterAttr SpecialTextAttr()
4.10.7 IWPAttrInterface AttrHelper
4.10.8 int SelectedEditor
4.10.9 IWPTextCursor TextCursor
4.10.10 IWPAttrInterface CurrAttr
4.10.11 IWPAttrInterface TextAttr
4.10.12 IWPAttrInterface CurrSelAttr
4.10.13 IWPParInterface CurrPar
4.10.14 IWPAttrInterface CurrParAttr
4.10.15 IWPParInterface CurrStyle
4.10.16 IWPAttrInterface CurrStyleAttr
4.10.17 IWPPageSize PageSize
4.10.18 IWPTextObj CurrObj
4.10.19 IWPTextObj CurrSelObj
4.10.20 IWPMapi
5 Tasks
5.1 Load & Save
5.2 Mailmerge
5.2.1 Create Merge Fields
5.2.2 Insert Data
5.2.2.1 Use event MS Access
5.2.2.2 If Interface cannot be used
5.2.3 Highlight/HideFields
5.2.4 Append to Editor #2
5.2.5 Create Mailing Labels
5.2.5.1 C# Code
5.2.5.2 VB Code
5.2.5.3 Resulting Label Sheet
5.3 HTML/E-MAIL loading and saving
5.3.1 Technical Information
5.3.2 Create HTML
5.3.3 Format Options
5.3.4 Create and send Emails
5.3.5 Create MIME encoded e-mail data
5.4 Create Text using code
5.5 Create a page header with page numbers
5.6 Format C# Code
5.7 Extract Metafiles/Print into Rectangles
5.8 Reporting
5.8.1 Introduction
5.8.2 Reporting Basics
5.8.2.1 Collect groups and fields
5.8.2.2 Open Query and Control Reporting
5.8.2.2.1 Event driven reporting
5.8.2.2.2 MS Access code
5.8.3 API
6 API Reference
6.1 WPDLLInt
6.1.1 Properties
6.1.1.1 AttrHelper
6.1.1.2 BorderWidth
6.1.1.3 CurrAttr
6.1.1.4 CurrObj
6.1.1.5 CurrPar
6.1.1.6 CurrParAttr
6.1.1.7 CurrSelAttr
6.1.1.8 CurrSelObj
6.1.1.9 CurrStyle
6.1.1.10 CurrStyleAttr
6.1.1.11 DLLName
6.1.1.12 Enabled
6.1.1.13 EventBand
6.1.1.14 EventButton
6.1.1.15 EventField
6.1.1.16 InitScriptXML
6.1.1.17 MAPI
6.1.1.18 PageSize
6.1.1.19 PDFCreator
6.1.1.20 Readonly
6.1.1.21 Readonly2
6.1.1.22 ShowHints
6.1.1.23 SpellCtrl
6.1.1.24 Text
6.1.1.25 Text2
6.1.1.26 TextAttr
6.1.1.27 TextCursor
6.1.1.28 TextFormat
6.1.1.29 Version
6.1.1.30 VersionDLL
6.1.2 Methods
6.1.2.1 AboutBox
6.1.2.2 BeginPrint
6.1.2.3 Clear
6.1.2.4 Command
6.1.2.5 CommandEx
6.1.2.6 CreateReport
6.1.2.7 CurrMemo
6.1.2.8 EditorStart
6.1.2.9 EndPrint
6.1.2.10 GetInterface
6.1.2.11 GetItemList
6.1.2.12 GetPrinterList
6.1.2.13 GetText
6.1.2.14 GetTextVar / GetBytes
6.1.2.15 Memo
6.1.2.16 Memo2
6.1.2.17 ReadRecentExceptions
6.1.2.18 Report
6.1.2.19 SelectEditor
6.1.2.20 SelectPrinter
6.1.2.21 SetDisableFlags
6.1.2.22 SetEditorMode
6.1.2.23 SetEnableFlags
6.1.2.24 SetLanguage
6.1.2.25 SetLayout
6.1.2.26 SetLayoutMode
6.1.2.27 SetLayoutMode2
6.1.2.28 SetSplitterPos
6.1.2.29 SetText
6.1.2.30 SetTextVar / SetBytes
6.1.2.31 SpecialTextAttr
6.1.2.32 wpaCheck
6.1.2.33 wpaExec
6.1.2.34 wpaGetFlags
6.1.2.35 wpaGetID
6.1.2.36 wpaProcess
6.1.2.37 wpaSetFlags
6.2 Events
6.2.1 RTF2PDF / TextDynamic
6.2.1.1 OnAfterSaveImage
6.2.1.2 OnBeforeSaveImage
6.2.1.3 OnClear
6.2.1.4 OnCreateNewCell
6.2.1.5 OnEnumDataBlocks
6.2.1.6 OnEnumParOrStyle
6.2.1.7 OnEnumTextObj
6.2.1.8 OnError
6.2.1.9 OnFieldGetText
6.2.1.10 OnGetSpecialText
6.2.1.11 OnInitializePar
6.2.1.12 OnLoadExtImage
6.2.1.13 OnLoadExtString
6.2.1.14 OnLoadText
6.2.1.15 OnMeasurePage
6.2.1.16 OnNotify
6.2.1.17 OnPaintWatermark
6.2.1.18 OnReadFormulaVar
6.2.1.19 OnReportState
6.2.1.20 OnTextObjectGetText
6.2.2 Exclusive to TextDynamic
6.2.2.1 OnBeforeOverwriteFile
6.2.2.2 OnButtonClick
6.2.2.3 OnChangePosition
6.2.2.4 OnChangeSelection
6.2.2.5 OnChangeText
6.2.2.6 OnChangeViewMode
6.2.2.7 OnChangingText
6.2.2.8 OnClick
6.2.2.9 OnClickCreateHeaderFooter
6.2.2.10 OnClickPage
6.2.2.11 OnDblClick
6.2.2.12 OnFieldEnter
6.2.2.13 OnFieldLeave
6.2.2.14 OnHyperlink
6.2.2.15 OnMouseDown
6.2.2.16 OnMouseDownWord
6.2.2.17 OnMouseMove
6.2.2.18 OnMouseUp
6.2.2.19 OnShowHint
6.2.2.20 OnTextObjectMouse
6.2.2.21 OnUndoChange
6.2.2.22 OnUpdateGUI
6.2.2.23 OnKeyDown
6.2.2.24 OnKeyPress
6.2.2.25 OnKeyUp
6.2.2.26 OnLeaveEditor
6.2.2.27 OnCompleteWord
6.2.2.28 OnEnterEditor
6.3 Categories
6.3.1 Character Attributes Category
6.3.2 Character Styles Category
6.3.3 Coordinate Conversion Category
6.3.4 Document Properties Category
6.3.5 Callback Functions Category
6.3.6 Hader and Footer Support Category
6.3.7 Hyperlinks and Bookmarks Category
6.3.8 Image Support Category
6.3.9 Load and Save Category
6.3.10 Modify the layout of the text display Category
6.3.11 Logical MDI Support Category
6.3.12 Mailmerge Category
6.3.13 Position Markers Category
6.3.14 Lowlevel Paragraph IDs Category
6.3.15 Printing Category
6.3.16 Standard Editing Commands Category
6.3.17 Display Status Information Category
6.3.18 Paragraphstyle Support Category
6.3.19 Table Support Category
6.3.20 TextDynamic CSS strings Category
6.4 IWPMemo / IWPEditor
6.4.1 Properties
6.4.1.1 ActiveText
6.4.1.2 CurrAttr
6.4.1.3 TextAttr
6.4.1.4 CurrBand
6.4.1.5 CurrentZooming
6.4.1.6 CurrGroup
6.4.1.7 CurrObj
6.4.1.8 CurrPar
6.4.1.9 CurrParAttr
6.4.1.10 CurrSelAttr
6.4.1.11 CurrSelObj
6.4.1.12 CurrStyle
6.4.1.13 CurrStyleAttr
6.4.1.14 LabelDef
6.4.1.15 LastFileName
6.4.1.16 PageSize
6.4.1.17 PageSizeList
6.4.1.18 PrintParameter
6.4.1.19 SelText
6.4.1.20 Text
6.4.1.21 TextCursor
6.4.1.22 SpecialTextAttr
6.4.1.23 Exclusive in IWPMemo
6.4.1.23.1 AutoZoom
6.4.1.23.2 ColorDesktop
6.4.1.23.3 ColorHighlight
6.4.1.23.4 ColorHighlightText
6.4.1.23.5 ColorPaper
6.4.1.23.6 DefaultIOFormat
6.4.1.23.7 EditingMode
6.4.1.23.8 Focussed
6.4.1.23.9 FormCompletion
6.4.1.23.10 GUIMode
6.4.1.23.11 Hidden
6.4.1.23.12 InitialDir
6.4.1.23.13 LayoutMode
6.4.1.23.14 Modified
6.4.1.23.15 Readonly
6.4.1.23.16 ShowFields
6.4.1.23.17 TextReadFormat
6.4.1.23.18 TextWriteFormat
6.4.1.23.19 TopOffset
6.4.1.23.20 WordWrap
6.4.1.23.21 Zooming
6.4.2 Methods
6.4.2.1 AppendOtherText
6.4.2.2 BlockAdd
6.4.2.3 BlockAppend
6.4.2.4 BlockFind
6.4.2.5 Clear
6.4.2.6 CopyToClipboard
6.4.2.7 CutToClipboard
6.4.2.8 DebugShowParProps
6.4.2.9 DeleteLeadingSpace
6.4.2.10 DeletePage
6.4.2.11 DeleteParWithCondition
6.4.2.12 DeleteStyle
6.4.2.13 DeleteTrailingSpaces
6.4.2.14 EnumDataBlocks
6.4.2.15 EnumParagraphs
6.4.2.16 EnumParSiblings
6.4.2.17 EnumParStyles
6.4.2.18 EnumSelParagraphs
6.4.2.19 EnumTextObj
6.4.2.20 FindFooter
6.4.2.21 FindHeader
6.4.2.22 GetNumberStyle
6.4.2.23 GetObjAtXY
6.4.2.24 GetPageAsMetafile
6.4.2.25 GetPosAtXY
6.4.2.26 GetRTFVariable
6.4.2.27 GetXY
6.4.2.28 LoadFromFile
6.4.2.29 LoadFromStream
6.4.2.30 LoadFromString
6.4.2.31 LoadFromVar
6.4.2.32 MergeText
6.4.2.33 PasteFromClipboard
6.4.2.34 Print
6.4.2.35 PrintPages
6.4.2.36 PtrCommand
6.4.2.37 Reformat
6.4.2.38 ReformatAll
6.4.2.39 RTFDataAdd
6.4.2.40 RTFDataAppendTo
6.4.2.41 RTFDataDelete
6.4.2.42 RTFDataSelect
6.4.2.43 SavePageAsMetafile
6.4.2.44 SaveToFile
6.4.2.45 SaveToStream
6.4.2.46 SaveToString
6.4.2.47 SaveToVar