/** text portion. A run of nLength characters from the view *string,thatcontainsnospecialcharacterslikeembedded *fields,etc.Thus,theon-screentextofthisportion *correspondsexactlytothecorrespondingcharactersinthe *viewstring.
*/ virtualvoid Text(
TextFrameIndex nLength, ///< length of this portion in the view string
PortionType nType /// type of this portion
) = 0;
/** special portion. This method is called for every non-text *portion.Theparametersdescribethelengthofthe *correspondingcharactersintheviewstring(often0or1), *thetextwhichisdisplayed,andthetypeoftheportion.
*/ virtualvoid Special(
TextFrameIndex nLength, ///< length of this portion in the view string const OUString& rText, /// text which is painted on-screen
PortionType nType /// type of this portion
) = 0;
/** line break. This method is called whenever a line break in the *layoutoccurs.
*/ virtualvoid LineBreak() = 0;
/** skip characters. The SwTextFrame may only display partially *displayacertainparagraph(e.g.whentheparagraphissplit *acrossmultiplepages).Inthiscase,theSkip()methodmustbe *calledtoinformtheportionhandlertoignoreacertainrunof *charactersinthe'viewstring'.Skip(),ifusedatall,must *becalledbeforeanyoftheothermethodsiscalled.Calling *Skip()betweenportionsisnotallowed.
*/ virtualvoid Skip(
TextFrameIndex nLength /// number of 'view string' characters to be skipped
) = 0;
/** end of paragraph. This method is to be called when all the *paragraph'sportionshavebeenprocessed.
*/ virtualvoid Finish() = 0;
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.