Class TWPRTFReader
Hierarchy
System.TObject | WPRTEDefs.TWPToolsReaderWriter | WPRTEDefs.TWPCustomTextReader | TWPRTFReader
Subclasses
Description for Class TWPCustomTextReader
TWPCustomTextReader basic functionality All reader classes must be registered using WPRegisterReader and override the functions UseForContents and UseForFilterName to allow checking Each Reader creates a new 'wpIsLoadedBody' TWPRTFDataBlock object which can be then inserted into the destination text or added to the collectionProperties
Property OptApplyCharStyles : Boolean
Property OptCallRequestHTTPImage : Boolean
Property OptDontFixAttr : Boolean
Property OptDontUseParStyles : Boolean
Property OptHiEditFields : Boolean
Property OptIgnoreFontStyle : Boolean
Property OptIgnoreRowHeight : Boolean
Property OptIgnoreRowMerge : Boolean
Property OptIgnoreTableSETags : Boolean
Property OptIgnoreTableWidth : Boolean
Property OptIngoreSections : Boolean
Property OptNoCharStyles : Boolean
Property OptNoParStyles : Boolean
Property OptOnlyAddUsedStyles : Boolean
Property OptParAsNewLine : Boolean
Property OptReadWPT4Fields : Boolean
Property OptSingleLevelBookmarks : Boolean
Property TableDepth : Integer
Property TableVar[index] : TWPRTFTableStack
Property WrittenByGenerator : AnsiString
Property WrittenByWPToolsVersion : Extended
Methods
Procedure ApplyFrameModeParams(FrameParam:Integer; ModeParam:Integer; txtobj:TWPTextObj)
Procedure ApplyShapeProps(txtobj:TWPTextObj)
Procedure ChangeDestination(idestCode:Integer; Value:Integer)
Procedure ChangeProp(ipropCode:Integer; Value:Integer; Alt:Boolean)
Procedure CheckOpenCell(i:Integer)
Procedure CloseDestination(CurrentDest:TWPRDS; NewDest:TWPRDS)
Function ColorMapTable(index:Integer) : Integer
Create(RTFDataCollection:TWPRTFDataCollectionBase)
Function CreateObject : TWPObject
Function CurrentParagraph : TParagraph
Function GetTableDepth : Integer
Procedure InNewSection(par:TParagraph)
Procedure LoadIntoRTFDataBlock(rtfdataobj:TWPRTFDataBlock)
Procedure LoadLinkedImage(txtobj:TWPTextObj; fname:string; params:string)
Procedure Pardefault(only_props:Boolean; RowDef:Boolean)
Function Parse(datastream:TStream) : TWPRTFDataBlock
Function ParseEscapeCode(ch:Integer) : TWPToolsIOErrCode
Function PopStack : Boolean
Procedure ReadFontTblChar(ch:Char)
Function RowReading : Boolean
Procedure SetOptions(optstr:string)
Procedure SetTableDepth(x:Integer)
Procedure SkippedText(aCh:Integer)
Function StartNewSection(par:TParagraph) : Boolean
Function UseForContents(First500Char:AnsiString) : Boolean
Function UseForFilterName(Filtername:string) : Boolean
Function UseThisFont(aFont:string; aFontTbl:PTWPRTFFontTable) : TThreeState