CascadingStyleStore Class |
Namespace: WebSupergoo.WordGlue4.Layout
The CascadingStyleStore type exposes the following members.
| Name | Description | |
|---|---|---|
| CascadingStyleStore |
Create a new CascadingStyleStore.
|
| Name | Description | |
|---|---|---|
| All |
All the CascadingStyleStores indexed by ID. This property is only set if TrackAll(true) has previously been called. |
|
| BasedOn |
The CascadingStyleStore from which this
inherits.
Properties which are not defined in this CascadingStyleStore will be inherited from the CascadingStyleStore referenced here. |
|
| Entries |
A dictionary containing the values in the
styles store. Add to or change these values to change the styles in
the store. The keys and values you use need to match up with the
possible styles and style values. If they do not then an exception
will be thrown.
|
|
| Frame |
The Frame which contains this CascadingStyleStore. A CascadingStyleStore may be shared by multiple Frames. For example if a ParagraphFrame spans two pages it will need to be split into two. In this case both ParagraphFrames will reference the same CascadingStyleStore. This property represents the original Frame to which this CascadingStyleStore was assigned. |
|
| Parent |
The parent CascadingStyleStore. The parent parallels the Frame.Parent in the document. This is needed because some properties can be specified on multiple objects. For example a cell border might be specified for the entire table but then overridden in a cell. |
|
| StyleName |
The name of this style. The value of this property may be null if no name has been assigned. In the case of a null value, typically the name of the BasedOn CascadingStyleStore is used. |
| Name | Description | |
|---|---|---|
| Clone |
Make a clone of this style store.
|
|
| StartTimers |
Starts style timers. These allow you to
determine how much time is spent on different styles.
|
|
| StopTimers |
Stops any started timers and returns the results. If no results have been gathered the result will be null. If you pass a time then a percentage can be calculated. If you pass null then the percentage will be zero. |
|
| TrackAll |
Enable or disable tracking of
CascadingStyleStores. When tracking is enabled CascadingStyleStores
are available via the All property. When this function is called
the next ID is reset to zero. For this reason you may wish to set
EntryOverrides to null.
|