is a pure interface that allows access to the "current text format".
|
Public Member Functions |
|
| KoTextFormatInterface () |
|
virtual | ~KoTextFormatInterface () |
| virtual KoTextFormat * | currentFormat () const =0 |
|
virtual bool | rtl () const =0 |
| virtual KCommand * | setFormatCommand (const KoTextFormat *format, int flags, bool zoomFont=false)=0 |
| virtual const KoParagLayout * | currentParagLayoutFormat () const =0 |
| virtual KCommand * | setParagLayoutFormatCommand (KoParagLayout *newLayout, int flags, int marginIndex=-1)=0 |
|
virtual KCommand * | setChangeCaseOfTextCommand (KoChangeCaseDia::TypeOfCase _type)=0 |
|
KoTextDocCommand * | deleteTextCommand (KoTextDocument *textdoc, int id, int index, const QMemArray< KoTextStringChar > &str, const CustomItemsMap &customItemsMap, const QValueList< KoParagLayout > &oldParagLayouts) |
|
void | setParagLayoutFormat (KoParagLayout *newLayout, int flags, int marginIndex=-1) |
|
void | setFormat (KoTextFormat *newFormat, int flags, bool zoomFont=false) |
|
KCommand * | setBoldCommand (bool on) |
|
KCommand * | setItalicCommand (bool on) |
|
KCommand * | setUnderlineCommand (bool on) |
|
KCommand * | setDoubleUnderlineCommand (bool on) |
|
KCommand * | setUnderlineColorCommand (const QColor &color) |
|
KCommand * | setStrikeOutCommand (bool on) |
|
KCommand * | setTextColorCommand (const QColor &color) |
|
KCommand * | setPointSizeCommand (int s) |
|
KCommand * | setFamilyCommand (const QString &font) |
|
KCommand * | setTextSubScriptCommand (bool on) |
|
KCommand * | setTextSuperScriptCommand (bool on) |
|
KCommand * | setDefaultFormatCommand () |
|
KCommand * | setTextBackgroundColorCommand (const QColor &) |
|
KCommand * | setAlignCommand (int align) |
|
KCommand * | setMarginCommand (QStyleSheetItem::Margin m, double margin) |
|
KCommand * | setTabListCommand (const KoTabulatorList &tabList) |
|
KCommand * | setBackgroundColorCommand (const QColor &color) |
|
KCommand * | setCounterCommand (const KoParagCounter &counter) |
|
KCommand * | setLanguageCommand (const QString &) |
|
KCommand * | setShadowTextCommand (double shadowDistanceX, double shadowDistanceY, const QColor &shadowColor) |
|
KCommand * | setHyphenationCommand (bool _b) |
|
KCommand * | setFontAttributeCommand (KoTextFormat::AttributeStyle _att) |
|
KCommand * | setRelativeTextSizeCommand (double _size) |
|
KCommand * | setOffsetFromBaseLineCommand (int _offset) |
|
KCommand * | setWordByWordCommand (bool _b) |
|
QColor | textColor () const |
|
QFont | textFont () const |
|
QString | textFontFamily () const |
|
QString | language () const |
|
QColor | textBackgroundColor () const |
|
QColor | textUnderlineColor () const |
|
KoTextFormat::UnderlineType | underlineType () const |
|
KoTextFormat::StrikeOutType | strikeOutType () const |
|
KoTextFormat::UnderlineStyle | underlineStyle () const |
|
KoTextFormat::StrikeOutStyle | strikeOutStyle () const |
|
bool | textUnderline () const |
|
bool | textDoubleUnderline () const |
|
bool | textBold () const |
|
bool | textStrikeOut () const |
|
bool | textItalic () const |
|
bool | textSubScript () const |
|
bool | textSuperScript () const |
|
double | shadowDistanceX () const |
|
double | shadowDistanceY () const |
|
QColor | shadowColor () const |
|
KoTextFormat::AttributeStyle | fontAttribute () const |
|
double | relativeTextSize () const |
|
int | offsetFromBaseLine () const |
|
bool | wordByWord () const |
|
bool | hyphenation () const |