SimpleStyleMarkerByIncrementalFontSpecStandardStyleMarkerHelperStandardStyledTextImagerStandardStyledTextImager::InfoSummaryRecordStandardStyledTextImager::StandardStyleMarkerStandardStyledTextImager::StyleDatabasePtrStandardStyledTextImager::StyleDatabaseRepStandardStyledTextImager is not intended to be a general and flexible
style run interface. Rather, it is intended to mimic the usual style-run
support found in other text editors, like MS-Word, or Apples TextEdit.
It keeps style runs in markers which are a subclass of StyledTextImager::StyleMarker,
called StandardStyledTextImager::StandardStyleMarker.
SimpleStyleMarkerByIncrementalFontSpecStandardStyleMarkerHelper [public]
BASECLASSSimple helper class so that SimpleStyleMarkerByIncrementalFontSpec will use the font specification of any
embedded StandardStyledTextImager::StandardStyleMarker will have its associated Led_FontSpecification copied out and used
in the FontSpec.
As a kludge - this class depends on the user ALSO using the template SimpleStyleMarkerWithExtraDraw. We override
its SimpleStyleMarkerWithExtraDraw
The nature of class class could change in the future - so its not recomended that anyone directly use it.
StandardStyledTextImager [public]
virtual StyledTextImagerStandardStyledTextImager is not intended to be a general and flexible
style run interface (like StyledTextImager). Rather, it is intended to mimic
traditional API for handling styled text found in other text editors, like MS-Word,
or Apples TextEdit.
You can specify ranges of text, and apply font styles to them.
And there are routines (like StandardStyledTextImager::GetContinuousStyleInfo etc)
to help find/idenitfiy font style runs, etc.
This class is built trivially ontop of the StyledTextImager.
The rendering of styles and layout issues are all taken care of.
This class is merely responsable for preserving a disjoint cover (partition) of styles
(StandardStyledTextImager::StandardStyleMarker), and coalescing adjacent
ones that have the same font info.
| Member Details |
|---|
|
Create a So for example - if all text in that range has the same face, but different font sizes, then the face attribute will be valid (and set to that common face) and the font size attribute will be set invalid. This is useful for setting menus checked or unchecked in a typical word processor font menu. |
|
Called whenever the |
|
NOW OBSOLETE Code. See See |
StandardStyledTextImager::InfoSummaryRecord [public]
Led_FontSpecificationAdd a length attribute to Led_FontSpecification. Used in specifying style runs by
StandardStyledTextImager.
StandardStyledTextImager::StandardStyleMarker [public]
StyledTextImager::StyleMarkerPrivate, implementation detail class. Part of StandardStyledTextImager implementation.
Should NOT be subclassed. These participate in routines to grab runs of style info, etc, and aren't really designed to be subclassed. Also, all elements of this type in the text buffer are summarily deleted upon deletion of the owning StyleDatabase.
StandardStyledTextImager::StyleDatabasePtr [public]
Led_RefCntPtr < T > , (T=StandardStyledTextImager::StyleDatabaseRep)StandardStyledTextImager::StyleDatabaseRep [public]
MarkerCover < StandardStyleMarker,Led_FontSpecification,Led_IncrementalFontSpecification > Reference counted object which stores all the style runs objects for a
StandardStyledTextImager. An explicit storage object like this is used, instead of using
the StandardStyledTextImager itself, so as too allow you to have either multiple views onto the
same text which use the SAME database of style runs, or to allow using different style info databases,
all live on the same text.