Location:
frmtlay.h
Link against: form.lib
CTextLayout
Supported from 5.0
Text layout.
CTextLayout
is the lowest-level text formatting class
in the Text Views API. It obtains text and formatting attributes via
the MLayDoc
interface class and formats the text to a certain
width.
It has functions for drawing the text and performing hit-detection
— that is, converting x-y coordinates to document positions, and vice
versa. It defines many public functions that are not generally useful, but are
called by the higher-level CTextView
class, or exist only for the
convenience of closely associated classes like the printing and pagination
systems. These are identified in the documentation by the text "not generally
useful".
When using the CTextLayout
class, you must be aware of what functions have previously been called. For example:
1) Formatting and scrolling functions must not be called if a
CTextView
object owns the CTextLayout
object, because
the CTextView
object may be reformatting the
CTextLayout
object asynchronously by means of an active object, or
may hold some state information about the CTextLayout
object that
would be invalidated by reformatting. These functions are identified in the
documentation by the text "Do not use if a CTextView
object owns
this CTextLayout
object.".
2) Functions that raise out of memory exceptions can leave the
object in an inconsistent state; these functions can be identified as usual by
their trailing L
. When this occurs, it is necessary to discard the
formatting information by calling DiscardFormat()
.
3) Some functions change formatting parameters like the wrap width or band height, but do not reformat to reflect the change. These functions are identified in the documentation by the text "Reformat needed".
|
Defined in CTextLayout
:
AdjustVerticalAlignment()
, Anonymous
, BandHeight()
, CalculateHorizontalExtremesL()
, ChangeBandTopL()
, CustomDraw()
, DiscardFormat()
, DocPosToXyPosL()
, DocumentLength()
, DrawBorders()
, DrawL()
, EFAllParagraphsNotWrapped
, EFAllowScrollingBlankSpace
, EFCharacterInsert
, EFDisallowScrollingBlankSpace
, EFFormatAllText
, EFFormatBand
, EFIndividualChars
, EFLeftDelete
, EFMaximumLineWidth
, EFNoCurrentFormat
, EFNotInCurrentFormat
, EFParagraphDelimiter
, EFParagraphsWrappedByDefault
, EFRightDelete
, EFScrollRedrawWholeScreen
, EFViewDiscardAllFormat
, EFViewDontDiscardFormat
, EFWholeLinesOnly
, ExcludingPartialLines()
, FirstCharOnLine()
, FirstDocPosFullyInBand()
, FirstFormattedPos()
, FirstLineInBand()
, FontHeightIncreaseFactor()
, ForceNoWrapping()
, FormatBandL()
, FormatCharRangeL()
, FormatLineL()
, FormatNextLineL()
, FormattedHeightInPixels()
, FormattedLength()
, GetCharacterHeightAndAscentL()
, GetFontHeightAndAscentL()
, GetLineRect()
, GetLineRectL()
, GetMinimumSizeL()
, HandleAdditionalCharactersAtEndL()
, HandleBlockChangeL()
, HandleCharEditL()
, InvertRangeL()
, IsBackgroundFormatting()
, IsFormattingBand()
, IsWrapping()
, MinimumLineDescent()
, NewL()
, NonPrintingCharsVisibility()
, NotifyTerminateBackgroundFormatting()
, NumFormattedLines()
, PageDownL()
, PageUpL()
, ParagraphHeight()
, ParagraphRectL()
, PictureRectangleL()
, PixelsAboveBand()
, PosInBand()
, PosIsFormatted()
, PosRangeInBand()
, ReformatVerticalSpaceL()
, ScrollLinesL()
, ScrollParagraphsL()
, SetAmountToFormat()
, SetBandHeight()
, SetCustomDraw()
, SetExcludePartialLines()
, SetFontHeightIncreaseFactor()
, SetFormatMode()
, SetImageDeviceMap()
, SetLabelsDeviceMap()
, SetLabelsMarginWidth()
, SetLayDoc()
, SetMinimumLineDescent()
, SetNonPrintingCharsVisibility()
, SetTruncating()
, SetTruncatingEllipsis()
, SetViewL()
, SetWrapWidth()
, TAllowDisallow
, TAmountFormatted
, TCurrentFormat
, TDiscard
, ToParagraphStart()
, Truncating()
, TruncatingEllipsis()
, XyPosToDocPosL()
, YBottomLastFormattedLine()
, ~CTextLayout()
Inherited from CBase
:
operator new()
static CTextLayout *NewL(MLayDoc *aDoc,TInt aWrapWidth);
Allocates and constructs a CTextLayout
object. By
default, the formatting is set to the entire document
(EFFormatAllText
).
Reformat needed.
|
|
~CTextLayout();
The destructor frees all resources owned by the object, prior to its destruction.
void SetBandHeight(TInt aHeight);
Sets the height of the band in pixels or twips. This is the height
of the visible text, or the view window, and it is also the page height for the
purposes of scrolling up and down by page. If aHeight
is less than
1 the value 1 is used. If the current mode is screen mode
(CLayoutData::EFScreenMode
) or what-you-see-is-what-you-get mode
(CLayoutData::EFWysiwygMode
), aHeight
is in pixels,
otherwise it is in twips.
Reformat needed.
|
TInt BandHeight() const;
Gets the height of the band in pixels or twips.
|
void SetAmountToFormat(TAmountFormatted aAmountOfFormat=EFFormatBand);
Sets whether to format all the text (if aAmountOfFormat
is EFFormatAllText
), or just the visible band (if
aAmountOfFormat
is EFFormatBand
). If band formatting
is selected, enough text is formatted to fill the visible height.
Reformat needed.
|
TBool IsFormattingBand() const;
Tests whether band formatting is on, as set by
CTextLayout::SetAmountToFormat()
.
|
TInt PosRangeInBand(TInt& aDocPos) const;
Returns the number of fully or partially visible characters in the visible band.
|
|
TBool PosInBand(TInt aDocPos,TPoint& aXyPos) const;
Tests whether the document position aDocPos
is fully or
partially visible. If it is, puts the y coordinate of the left-hand end of the
baseline of the line
containing aDocPos
into aXyPos
.
|
|
TInt FirstLineInBand() const;
Returns the line number, counting from 0, of the first fully visible line.
|
TInt FirstDocPosFullyInBand() const;
Gets the first document position in a line that starts at or below the top of the visible area. If there is no such line, returns the position after the last formatted character.
|
TInt PixelsAboveBand() const;
Returns the height in pixels of any formatted text above the visible region.
|
void SetWrapWidth(TInt aWrapWidth);
Sets the wrap width. If the current format mode is screen mode
(CLayoutData::EFScreenMode
) aWrapWidth
is in pixels,
otherwise it is in twips.
Reformat needed.
|
void ForceNoWrapping(TBool aNoWrapping=EFAllParagraphsNotWrapped);
Turns wrapping on
(if aNoWrapping
is EFParagraphsWrappedByDefault
) or off
(if aNoWrapping
is EFAllParagraphsNotWrapped
).
Overrides the paragraph format when wrapping is turned off —
paragraphs are not broken into lines even if the iWrap
member
of CParaFormat
is true. If wrapping is turned
on, CParaFormat::iWrap
is honoured.
Reformat needed.
|
TBool IsWrapping() const;
Tests whether wrapping is on or off.
|
void SetTruncating(TBool aOn);
Supported from 6.0
Sets the truncation mode. If truncation is on, lines that exceed the wrap width, either because they have no legal line break, or because wrapping is off, are truncated, and an ellipsis is inserted.
|
TBool Truncating() const;
Supported from 6.0
Tests whether truncation is on (as set
by SetTruncating()
).
|
void SetTruncatingEllipsis(TChar aEllipsis);
Supported from 6.0
Sets the ellipsis character to be used if truncation is on. Specify the value 0xFFFF (the illegal Unicode character) if no ellipsis character should be used. By default, the ellipsis character is 0x2026, the ordinary horizontal ellipsis.
|
TChar TruncatingEllipsis() const;
Supported from 6.0
Returns the ellipsis character used when truncation is on. The value 0xFFFF (the illegal Unicode character) means that no ellipsis character is appended to truncated text.
|
void GetMinimumSizeL(TInt aWrapWidth,TSize& aSize);
Supported from 6.0
Gets the width and height of the bounding box of the text, including indents and margins, when formatted to the specified wrap width.
This is useful for applications like a web browser that need to determine
the minimum width for a piece of text: if you specify zero as the wrap width,
the returned aSize.iWidth
contains the minimum width that could be
used for the text without illegal line breaks, and if you
specify KMaxTInt
for aWrapWidth
, the
returned aSize.iHeight
contains the minimum height: the height when
each paragraph is a single line of unlimited length.
|
void DiscardFormat();
Discards all formatting information. This function is used by
the CTextView
and the printing classes, but should be called by
higher-level classes that need to clean up after
any CTextLayout
function has caused an out-of-memory
exception.
void SetFormatMode(CLayoutData::TFormatMode aFormatMode,TInt aWrapWidth,MGraphicsDeviceMap* aFormatDevice);
Sets the format mode and wrap width and (for certain format modes only) sets the formatting device.
Reformat needed.
Notes:
If aFormatMode
is CLayoutData::EFWysiwygMode
or CLayoutData::EFPrintPreviewMode
, the
format device is set to aFormatDevice
, which must not be
NULL.
If aFormatMode
is CLayoutData::EFScreenMode
or
CLayoutData::EFPrintMode
, aFormatDevice
is ignored and
should be NULL; the format device is set to the image device.
The wrap width is set in either twips or pixels using the same rule as
for SetWrapWidth()
.
|
TBool IsBackgroundFormatting() const;
Tests whether background formatting is currently taking place. Background
formatting is managed by CTextView
, using an active object, when
the CTextLayout
object is owned by
a CTextView
object.
Not generally useful.
|
void NotifyTerminateBackgroundFormatting();
CTextView
calls this function when background formatting has
ended. It allows the CTextLayout
object to discard information
used only during background formatting.
Not generally useful.
TInt FormattedHeightInPixels() const;
Returns the height in pixels of the formatted text.
|
TInt FirstFormattedPos() const;
Supported from 5.1
Returns the document position of the first formatted character.
|
TBool PosIsFormatted(TInt aDocPos) const;
Tests whether the character aDocPos
is formatted.
Note:
If a section of text contains characters p to q, it contains document positions p to q + 1; but this function returns true for positions p to q only, so it refers to characters, not positions. However, it will return true for q if q is the end of the document.
|
|
TInt FormattedLength() const;
Returns the number of formatted characters. This will be one more than expected if the formatted text runs to the end of the document, because it will include the end-of-text character.
|
TInt NumFormattedLines() const;
Gets the number of formatted lines.
|
void SetImageDeviceMap(MGraphicsDeviceMap *aGd);
Sets the device map used for drawing and formatting. This device map is
also used for formatting and drawing paragraph labels unless a separate label
device map has been set (see SetLabelsDeviceMap()
).
Reformat needed.
Note:
Although the name of the function suggests that only the image device is set, the formatting device is also set.
|
void SetLabelsDeviceMap(MGraphicsDeviceMap *aDeviceMap);
Sets the device map used for formatting and drawing paragraph labels. If not set, the device map used for labels will be the same as that used for the text.
Reformat needed.
|
TBool DocPosToXyPosL(TInt aDocPos,TPoint& aPos,TUint aFlags=CLayoutData::EFIndividualChars) const;
Returns the x-y coordinates of the document
position aDocPos
in aPos
. The return value is true if
the postion is formatted, or false if it is not, in which
case aPos
is undefined.
|
|
TInt XyPosToDocPosL(TPoint &aPos,TUint aFlags=CLayoutData::EFIndividualChars) const;
Returns the document position of the nearest character edge
to aPos
. Sets aPos
to the actual position of the
intersection of the line's baseline with the character's edge.
If aPos
is before the start of the formatted area, returns the
first formatted character; if it is after the end of the formatted area,
returns the position after the last formatted character, or the end of the
document, whichever is less.
|
|
TInt FirstCharOnLine(TInt aLineNo) const;
Gets the document position of the first character in the specified line,
counting the first line as line one (not zero) in the band. If the line is
after the band, returns the last character position of the band. If there is no
formatted text, returns CTextLayout::EFNoCurrentFormat
.
|
|
TInt GetLineRect(TInt aYPos,TRect& aLine) const;
Gets the rectangle enclosing the formatted line that contains or is
closest to y coordinate aYPos
. If aYPos
is above the
first formatted line, the rectangle returned is that of the first formatted
line. If aYPos
is below the last formatted line the rectangle
returned is that of the last formatted line. If there is no formatted text,
returns CTextLayout::EFNoCurrentFormat
.
|
|
TRect GetLineRectL(TInt aDocPos1,TInt aDocPos2) const;
Gets a rectangle enclosing two formatted document positions on the same line. If the second position is less than the first, or on a different line, it is taken to indicate the end of the line. This function panics if either position is unformatted.
|
|
TBool PictureRectangleL(TInt aDocPos,TRect& aPictureRect,TBool* const aCanScaleOrCrop=NULL) const;
TBool PictureRectangleL(const TPoint& aXyPos,TRect& aPictureRect,TBool* const aCanScaleOrCrop=NULL) const;
Gets the bounding rectangle of the picture, if any, located at the
document position or coordinates specified, and returns it
in aPictureRect
. If aCanScaleOrCrop
is non-null,
sets aCanScaleOrCrop
to indicate whether the picture can be scaled
or cropped. Returns true if the operation was successful. Returns false
otherwise; that is, if there is no picture at the position, or if the position
is unformatted.
|
|
TInt ToParagraphStart(TInt& aDocPos) const;
Sets aDocPos
to the paragraph start and returns the amount
by which aDocPos
has changed, as a non-negative number.
|
|
TInt ParagraphHeight(TInt aDocPos) const;
Returns the height of the paragraph containing aDocPos
. If
the paragraph is not formatted, returns zero. If the paragraph is partially
formatted, returns the height of the formatted part.
|
|
TRect ParagraphRectL(TInt aDocPos) const;
Returns the rectangle enclosing the paragraph
containing aDocPos
. If the paragraph is not formatted, returns an
empty rectangle. If the paragraph is partially formatted, returns the rectangle
enclosing the formatted part.
|
|
TInt DocumentLength() const;
Returns the document length in characters, including all the text, not just the formatted portion, but not including the final paragraph delimiter (the "end-of-text character") if any. Thus the length of an empty document is zero.
|
TInt YBottomLastFormattedLine() const;
Returns the y coordinate of the bottom of the last formatted line, relative to the top of the visible region.
|
TBool CalculateHorizontalExtremesL(TInt& aLeftX,TInt& aRightX,TBool aOnlyVisibleLines,TBool aIgnoreWrapCharacters=EFalse) const;
Returns the left and right extremes, in layout coordinates, of the formatted text.
|
|
void GetCharacterHeightAndAscentL(TInt aDocPos,TInt& aHeight,TInt& aAscent) const;
Gets the height (ascent + descent) and ascent of the font of the
character at aDocPos
, as created using the graphics device map
used for drawing (the "image device") and returns them
in aHeight
and aAscent
, after
increasing aHeight
by the font height increase factor
(see SetFontHeightIncreaseFactor()
).
|
void GetFontHeightAndAscentL(const TFontSpec& aFontSpec,TInt& aHeight,TInt& aAscent) const;
Gets the height (ascent + descent) and ascent of the font specified
by aFontSpec
, as created using the graphics device map used for
drawing (the "image device") and puts them
into aHeight
and aAscent
, after
increasing aHeight
by the font height increase factor
(see SetFontHeightIncreaseFactor()
).
|
void SetFontHeightIncreaseFactor(TInt aPercentage);
Supported from 5.1
Sets the percentage by which font heights are increased in order to
provide automatic extra spacing (leading) between lines. This amount is set
to CLayoutData::EFFontHeightIncreaseFactor
, which is 7, when
a CTextLayout
object is created.
Reformat needed.
|
TInt FontHeightIncreaseFactor() const;
Supported from 5.1
Returns the font height increase factor as a percentage (i.e. a return value of 7 means that font heights are increased by 7% to provide automatic extra spacing between lines).
|
void SetMinimumLineDescent(TInt aPixels);
Supported from 5.1
Sets the minimum line descent in pixels. This amount is set
to CLayoutData::EFMinimumLineDescent
, which is 3, when
a CTextLayout
object is created.
Reformat needed.
|
TInt MinimumLineDescent() const;
Supported from 5.1
Returns the minimum line descent in pixels.
|
void SetLayDoc(MLayDoc *aDoc);
Sets the layout object's source text to aDoc
.
Reformat needed.
|
void SetLabelsMarginWidth(TInt aWidth);
Sets the width in pixels of the margin in which labels are drawn.
Reformat needed.
|
void SetNonPrintingCharsVisibility(TNonPrintingCharVisibility aVisibility);
Specifies which non-printing characters (e.g. space, paragraph break, etc.) are to be drawn using symbols.
Reformat needed (because non-printing characters may differ in width from their visible representations).
|
TNonPrintingCharVisibility NonPrintingCharsVisibility() const;
Returns which non-printing characters are drawn using symbols.
|
void SetExcludePartialLines(TBool aExcludePartialLines=ETrue);
Specifies whether partially displayed lines (at the top and bottom of the view) are to be prevented from being drawn, and whether the top of the display is to be aligned to the nearest line. This function takes effect only when the text is next formatted or scrolled.
Note:
This function was designed for non-editable text in the Agenda
application, and there is an important restriction:CTextView
functions
that reformat the text after editing must not be used while partial lines are
excluded; these functions are CTextView::HandleCharEditL()
, CTextView::HandleInsertDeleteL()
and CTextView::HandleRangeFormatChangeL()
.
|
TBool ExcludingPartialLines() const;
Tests whether partial lines at the top and bottom of the view are currently excluded.
|
void FormatBandL();
Formats enough text to fill the visible band.
Note:
Do not use if a CTextView
object owns
this CTextLayout
object.
void FormatCharRangeL(TInt aStartDocPos,TInt aEndDocPos);
Sets the formatted text to begin at the start of the paragraph
including aStartPos
and end at aEndPos
. Moves the line
containing aStartDocPos
to the top of the visible area.
Notes:
This function is not generally useful; it exists for the convenience of the printing system.
Do not use if a CTextView
object owns
this CTextLayout
object.
|
TBool FormatNextLineL(TInt& aBotPixel);
A special function to support background formatting by the higher
level CTextView
class. It formats the next pending line. The return
value is true if there is more formatting to do. On
entry, aBotPixel
contains the y coordinate of the bottom of the
formatted text; this is updated by the function.
Notes:
Not generally useful.
Do not use if a CTextView
object owns
this CTextLayout
object.
|
|
TBool FormatLineL(CParaFormat* aParaFormat,TInt& aDocPos,TInt& aHeight,TBool& aPageBreak);
Controls the height of a single line, for use by the pagination system
only. Using the format supplied in aParaFormat
, determines the
height of the line containing aDocPos
and returns it
in aHeight
. Changes aDocPos
to the end of the line and
returns true if that position is not the end of the paragraph.
Notes:
Not generally useful; it exists for use by the pagination system only.
Do not use if a CTextView
object owns
this CTextLayout
object.
|
|
TInt ScrollParagraphsL(TInt& aNumParas,TAllowDisallow aScrollBlankSpace);
Scrolls the text up or down by aNumParas
paragraphs,
disallowing blank space at the bottom of the visible area
if aScrollBlankSpace
is CTextLayout::EFDisallowScrollingBlankSpace
.
Do not use if a CTextView
object owns
this CTextLayout
object.
|
|
TInt ScrollLinesL(TInt& aNumLines, TAllowDisallow aScrollBlankSpace=EFDisallowScrollingBlankSpace);
Scrolls the text up or down by aNumLines
lines, disallowing
blank space at the bottom of the visible area if aScrollBlankSpace
is CTextLayout::EFDisallowScrollingBlankSpace
.
Do not use if a CTextView
object owns
this CTextLayout
object.
|
|
TInt ChangeBandTopL(TInt& aPixels,TAllowDisallow aScrollBlankSpace=EFDisallowScrollingBlankSpace);
Scrolls the text up or down by aPixels
pixels, disallowing
blank space at the bottom of the visible area if aScrollBlankSpace
is CTextLayout::EFDisallowScrollingBlankSpace
.
The return value (not aPixels
, as you would expect
from ScrollParagraphsL()
and ScrollLinesL()
) contains
the number of pixels not successfully scrolled, that is, the original value
of aPixels
, minus the number of pixels actually scrolled. On
return, aPixels
is set to the number of pixels actually
scrolled.
Do not use if a CTextView
object owns
this CTextLayout
object.
|
|
void PageUpL(TInt& aYCursorPos,TInt& aPixelsScrolled);
Scrolls up by a page (that is the band height as set
by SetBandHeight()
, or half that amount if scrolling over lines
taller than this), moving the text downwards. The current desired vertical
cursor position is passed in aYCursorPos
and updated to a new
suggested position as near as possible to it, but within the visible text and
on a baseline.
Do not use if a CTextView
object owns
this CTextLayout
object.
|
void PageDownL(TInt& aYCursorPos,TInt& aPixelsScrolled);
Scrolls down by a page (that is the band height as set
by SetBandHeight()
, or half that amount if scrolling over lines
taller than this), moving the text upwards. The current desired vertical cursor
position is passed in aYCursorPos
and updated to a new suggested
position as near as possible to it, but within the visible text and on a
baseline.
Do not use if a CTextView
object owns
this CTextLayout
object.
|
TInt SetViewL(TInt aDocPos,TInt& aYPos,TViewYPosQualifier aYPosQualifier, TDiscard aDiscardFormat=EFViewDontDiscardFormat);
Changes the top of the visible area so that the line
containing aDocPos
is vertically positioned at aYPos
.
Which part of the line is set to appear at aYPos
(top, baseline,
or bottom) is controlled by the TViewYPosQualifier
argument, which
also specifies whether the visible area is to be filled and whether the line
should be made fully visible if possible.
Do not use if a CTextView
object owns
this CTextLayout
object.
|
|
TBool HandleCharEditL(TUint aType,TInt& aCursorPos,TInt& aGood,TInt& aFormattedUpTo,TInt& aFormattedFrom,TInt& aScroll,TBool aFormatChanged);
Reformats to reflect a single character edit.
Do not use if a CTextView
object owns
this CTextLayout
object.
|
|
void HandleBlockChangeL(TCursorSelection aSelection,TInt aOldCharsChanged,TViewRectChanges& aViewChanges,TBool aFormatChanged);
Reformats to reflect changes to a block of text.
Do not use if a CTextView
object owns
this CTextLayout
object.
|
void HandleAdditionalCharactersAtEndL(TInt& aFirstPixel,TInt& aLastPixel);
Reformats to reflect the addition of one or more complete paragraphs at the end of the text.
Do not use if a CTextView
object owns
this CTextLayout
object.
|
void ReformatVerticalSpaceL();
Reformats to reflect changes to the space above and below paragraphs
(CParaFormat::iSpaceBeforeInTwips
and iSpaceAfterInTwips
).
Do not use if a CTextView
object owns
this CTextLayout
object.
void AdjustVerticalAlignment(CParaFormat::TAlignment aVerticalAlignment);
Temporarily changes the vertical alignment of the text with respect to the visible height.
Notes:
Not generally useful; intended for the Agenda application.
Do not use if a CTextView
object owns
this CTextLayout
object.
|
static void DrawBorders(const MGraphicsDeviceMap* aGd,CGraphicsContext& aGc,const TRect& aRect, const TParaBorderArray& aBorder,const TRgb* aBackground=NULL,TRegion *aClipRegion=NULL,const TRect* aDrawRect=NULL);
Draws paragraph borders, optionally with a background colour for the border and a clip region. Provided for applications that display a menu of border styles, like a wordprocessor.
|
void DrawL(const TRect& aDrawRect,const TDrawTextLayoutContext* aDrawTextLayoutContext,const TCursorSelection* aHighlight=NULL);
Draws the text. Draws any lines that intersect aDrawRect
,
which is specified in window coordinates. The drawing parameters, including the
graphics context, are given in aDrawTextLayoutContext
.
If aHighlight
is non-null, highlights (by exclusive-ORing) the
specified range of text.
|
void InvertRangeL(const TCursorSelection& aHighlight,const TRect& aDrawRect,const TDrawTextLayoutContext* aDrawTextLayoutContext);
Toggles the range of text in aHighlight
by exclusive-ORing.
Highlights only those lines that intersect aDrawRect
, which is
specified in window coordinates. The drawing parameters, including the graphics
context, are given in aDrawTextLayoutContext
.
|
void SetCustomDraw(const MFormCustomDraw* aCustomDraw);
Supported from 6.0
Sets the custom drawing object, for customising the way text and its background are drawn.
|
const MFormCustomDraw* CustomDraw() const;
Supported from 6.0
Returns a pointer to the current custom drawing implementation. Returns NULL if custom drawing is not in force.
|
Anonymous
Amount of vertical scroll. Used by CTextLayout::SetViewL()
.
|
Anonymous
Maximum line width.
|
TCurrentFormat
Formatting information.
|
TDiscard
Flags used by CTextLayout::SetViewL()
.
|
Anonymous
Flags used by CTextView::HandleCharEditL()
.
|
TAmountFormatted
Amount to format.
Used by CTextLayout::SetAmountToFormat()
.
|
TAllowDisallow
Indicates whether blank space should scroll.
Used by several CTextView
and CTextLayout
scrolling functions.
|
Anonymous
Indicates whether wrapping should be forced on or off. Used by CTextLayout::ForceNoWrapping()
.
|
Anonymous
Flags used by CTextLayout::XyPosToDocPosL()
and DocPosToXyPosL()
.
|