20#ifndef KWORD_TEXTFRAMESET_IFACE_H
21#define KWORD_TEXTFRAMESET_IFACE_H
23#include <KoDocumentIface.h>
29#include "KWordFrameSetIface.h"
33class KWordTextFrameSetIface : public KWordFrameSetIface
37 KWordTextFrameSetIface( KWTextFrameSet *_frametext );
40 virtual DCOPRef startEditing();
41 bool hasSelection() const;
42 int numberOfParagraphs();
43 int paragraphsSelected();
44 TQString name() const;
45 TQString selectedText() const;
46 void selectAll( bool select );
47 void setBoldText( bool b );
48 void setItalicText( bool b );
49 void setUnderlineText( bool b );
50 void setDoubleUnderlineText( bool on);
51 void setStrikeOutText( bool b );
52 void setTextColor( const TQColor &col );
53 void setTextPointSize( int s );
54 void setTextSubScript( bool b );
55 void setTextSuperScript( bool b );
56 void setTextDefaultFormat();
57 void setTextBackgroundColor( const TQColor & col);
58 void setTextFamilyFont( const TQString &font);
59 void setUnderlineColor( const TQColor & color );
61 void changeCaseOfText( const TQString & caseType);
63 TQColor textColor() const;
64 TQFont textFont() const;
65 TQString textFontFamily() const;
66 TQColor textBackgroundColor() const;
67 TQColor textUnderlineColor() const;
70 bool textItalic() const;
71 bool textBold() const;
72 bool textUnderline() const;
73 bool textDoubleUnderline() const;
75 bool textStrikeOut() const;
76 bool textSubScript() const;
77 bool textSuperScript() const;
78 void setProtectContent ( bool _protect );
79 bool isProtectContent() const;
85 double relativeTextSize() const;
86 void setRelativeTextSize( double _size );
88 bool wordByWord() const;
89 void setWordByWord( bool _b );
91 TQString fontAttibute() const;
93 TQString underlineLineStyle() const;
94 TQString strikeOutLineStyle() const;
98 KWTextFrameSet *m_frametext;
Class: KWTextFrameSet Contains text (KoTextObject) and frames to display that text.
|