Frame Class |
Namespace: WebSupergoo.WordGlue4.Layout
The Frame type exposes the following members.
| Name | Description | |
|---|---|---|
| All |
All the Frames that are currently referenced,
indexed by ID. This property is only set if TrackAll(true) has
previously been called.
|
|
| BaseUri |
The zip URI to the original document on which
this frame was based.
|
|
| Children |
The children of this frame. For example a ParagraphFrame may a number of LineFrames as children. |
|
| DrawAnnotations |
Whether to highlight and annotate this frame
for debugging purposes. The bounds, margins, padding and clip
rectangle will be shown if they are available.
|
|
| LineNumber |
The line number within the original document
on which this frame was based. If there is no obvious relationship
with a particular line then the value will be -1. In this case you
may wish to look at the line associated with the parent object. If
you want to take advantage of the this property you will typically
first want to set Options.FormatXml to true.
|
|
| Margins |
Get the margins for the frame. The margins
extend out from the bounds of the frame and are kept clear of other
content.
|
|
| OriginalSelf |
The original Frame on which this is based. A Frame may spawn siblings. For example if a ParagraphFrame spans two pages it will need to be split into two. However the OriginalSelf for both ParagraphFrames will be the first - original - one. |
|
| Padding |
Get the padding for the frame. The padding
extends in from the bounds of the frame and is kept clear of
content within the frame.
|
|
| Parent |
The parent of this Frame. For example the parent of a TextRunFrame is typically a LineFrame. The parent of that is a ParagraphFrame. |
|
| ReflowCount |
The number of times which this Frame has been
asked to reflow.
|
|
| StyleStore |
The CascadingStyleStore for this Frame.
|
|
| Summary |
A human readable summary of this frame and the
properties associated with it.
|
| Name | Description | |
|---|---|---|
| Adopt |
Adopt a Frame updating references as
appropriate. This function should be called after adding a Frame to
the Children of another Frame.
|
|
| GetOriginalXml |
Gets from within the Word package, the
original document on which a frame was based.
|
|
| Scan |
Perform an action on this frame and all frames
underneath it in the tree.
|
|
| TrackAll |
Enable or disable tracking of Frames. When
tracking is enabled Frames are available via the All property. When
this function is called the next ID is reset to zero.
|
| Name | Description | |
|---|---|---|
| Bounds |
The bounds of this Frame.
|
|
| ID |
The ID for this Frame. IDs are allocated
incrementally.
|