Logo Search packages:      
Sourcecode: koffice version File versions

KoTextFormat * KoTextObject::currentFormat (  )  const [virtual]

Support for treating the whole textobject as a single object Use this format for displaying the properties (font/color/...) of the object. Interface for accessing the current format

Implements KoTextFormatInterface.

Definition at line 1909 of file kotextobject.cc.

Referenced by KWTextFrameSet::currentFormat(), and setFormat().

    // We use the formatting of the very first character
    // Should we use a style instead, maybe ?
    KoTextStringChar *ch = textdoc->firstParag()->at( 0 );
    return ch->format();

Generated by  Doxygen 1.6.0   Back to index