Class TWPVirtPage

Hierarchy

System.TObject | TWPVirtPage

Properties

Methods

Function AddFrameRect(x:Integer; Y:Integer; w:Integer; h:Integer; Options:Pointer) : Integer

Function AddImage(ImageRefNr:Integer; Ref:TWPTextObj; x:Integer; Y:Integer; xoff:Integer) : TWPVirtPageImage

Function AddLine(RectNr:Integer; aPar:TParagraph; aLinNr:Integer; x:Integer; y:Integer; w:Integer; h:Integer; txoff:Integer; BeforePageBreak:Boolean; AfterPageBreak:Boolean; LastLineInPar:Boolean) : Integer

Function AddLinkRect(r:TRect; Engine:TObject; Mode:TWPPageHoverRectMode) : TWPPageHoverRects

Function AddRTFData(RTFData:TWPRTFDataBlock) : TWPVirtPageRTFDataFrame

Function BalanceColumns(y:Integer; end_of_page:Boolean) : Integer

Function CalculateFootnoteDataRef(DataRef:TWPVirtPageRTFDataFrame_Record; collection:TWPRTFDataCollectionBase; pagenr:Integer; rtfdataobj:TWPRTFDataBlock; aTextObject:TWPTextObj) : Integer

Procedure ClearAllRTFData

Procedure ClearFreeRects

Procedure ClearLastPrintedYPos

Procedure ClearRTFData(Kinds:TWPPagePropertyKinds)

Create(Owner:TWPRTFDataBlock)

Procedure DeleteImageRefs(Ref:TWPTextObj)

Procedure DeleteImageRefsUntil(nr:Integer)

Function DeleteLastRTFData(rtfobj:TWPRTFDataBlock) : Integer

Procedure DeleteRTFData(nr:Integer)

Destroy

Function ElementPage(Index:Integer; offx:Integer; offy:Integer) : TWPVirtPage

Function EmbeddedObjectCount(Mask:TWPTextObjTypes; RequiredName:string) : Integer

Function EmbeddedObjectGet(Index:Integer) : TWPTextObj

Function FindEndPos(x:Integer; x1:Integer; Y:Integer; w:Integer; h:Integer) : TWPVirtPageFindMode

Function FindFirstTextLine(Par:TParagraph; lin:Integer) : Boolean

Function FindFirstTextPar(posinpar:Integer; IgnoreBands:Boolean) : TParagraph

Function FindFirstTextParStart(IgnoreBands:Boolean) : TParagraph

Function FindImage(Ref:TWPTextObj) : TWPVirtPageImage

Function FindImageOrLink(Engine:TObject; x:Integer; Y:Integer; aImage:TWPVirtPageImage; aLink:TWPPageHoverRects; OverText:TThreeState; InSubLayers:Boolean) : Boolean

Function FindImageXY(x:Integer; Y:Integer; OverText:TThreeState) : TWPVirtPageImage

Function FindLastTextLine : Integer

Function FindLineXY(x:Integer; Y:Integer; OnlyTextIgnoreX:Boolean) : Integer

Function FindLinkXY(x:Integer; Y:Integer; Engine:TObject; Mode:TWPPageHoverRectMode; all:Boolean) : TWPPageHoverRects

Function FindPar(par:TParagraph) : Integer

Function FindParBeforeY(Y:Integer; StartY:Integer; IgnoreBands:Boolean) : TParagraph

Function FindRTFData(datalayer:TWPRTFDataBlock; X:Integer; Y:Integer) : TWPVirtPageRTFDataFrame

Function FindRTFDataXY(x:Integer; Y:Integer) : TWPVirtPageRTFDataFrame

Function FindRTFDataXYRecursive(x:Integer; Y:Integer) : TWPVirtPageRTFDataFrame

Function FindStartPos(minx:Integer; x:Integer; x1:Integer; Y:Integer; w:Integer; h:Integer; nospaceuntil:Integer) : TWPVirtPageFindMode

Function FindTableBorderXY(x:Integer; Y:Integer; FrameBorder:TWPFrameBorder; FindCells:Boolean; EditOptions:TWPEditOptions; zoom:Single) : Integer

Procedure FreeDynamicObject(Owner:TObject; NotUsed:Boolean; All:Boolean)

Procedure FreeImages(par:TParagraph)

Procedure FreeLinks(Engine:TObject; all:Boolean)

Function GetBottomLineCount : Integer

Function GetCellBoxForCell(cell_par:TParagraph) : Integer

Function GetColumnHeight(ColumnSet:Integer) : Integer

Function GetLine(nr:Integer; lineData:TWPVirtPageImageLineRef) : Boolean

Function GetLineTotalHeight(nr:Integer) : Integer

Function GetRTFData(Index:Integer) : TWPVirtPageRTFDataFrame

Procedure Init(logPageNr:Integer; XPixelsPerInch:Integer; YPixelsPerInch:Integer; WidthTW:Integer; HeightTW:Integer; marginleft:Integer; margintop:Integer; marginright:Integer; marginbottom:Integer; frmColumns_y:Integer; ColCount:Integer; offx:Integer; colflags:Integer)

Function InsertAtBottom(rtfDataRec:TWPVirtPageRTFDataFrame_Record) : Integer

Function IsLastPage : Boolean

Procedure LineCallback(CallBack:TWPVirtPagePaintEvent; Sender:TObject; RTFEngine:TWPRTFEngineBasis; PaintInEditor:Boolean; Canvas:TCanvas; PageNo:Integer; xoff:Integer; YOff:Integer; CellsOnly:Boolean)

Function LineNrFromParLin(Par:TParagraph; lin:Integer) : Integer

Function MoveImage(Ref:TWPTextObj; x:Integer; Y:Integer; w:Integer; h:Integer) : Boolean

Function ReduceMaxY(maxy:Integer) : Boolean

Procedure RemoveRTFData(textobj:TWPTextObj)

Procedure RemoveRTFDataLink(RefToText:TWPRTFDataBlock)

Procedure SetBottomLineCount(x:Integer)

Function SetHorzColumns(Y:Integer; ColumnCount:Integer; xoff:Integer; MaxHTw:Integer; frmColumns_y_rest:Integer; Flags:Integer) : Integer

Function TextHeight : Integer

Procedure TXTObjImageMode(Ref:TWPTextObj; imageobj:TWPVirtPageImage)

Used or referenced by

-Procedure TWPRTFEnginePaint.DrawLineBorders(DestCanvas:TCanvas; aPar:TParagraph; aLin:Integer; aBorder:TBorder; aLineRect:TWPVirtPageImageLineRef; LineData:TWPVirtPageImageLineRef; PaintMode:TWPPaintModes; bPaintInGray:Boolean; rtfpage:TWPVirtPage; xoff:Integer; yoff:Integer; IsCell:Boolean)