20#ifndef __kofontdia_h__
21#define __kofontdia_h__
23#include <tdefontdialog.h>
24#include <tqtabwidget.h>
25#include <KoTextFormat.h>
26#include <tqcheckbox.h>
27#include <koffice_export.h>
30#include "KoHighlightingTab.h"
31#include "KoDecorationTab.h"
32#include "KoLayoutTab.h"
33#include "KoLanguageTab.h"
35#include "KoFontDiaPreview.h"
37#include <tdespell2/broker.h>
51 KSpell2::Broker::Ptr broker = 0,
52 TQWidget* parent = 0, const char* name = 0 );
54 int changedFlags() const { return m_changedFlags; }
62 void slotFontFamilyChanged();
63 void slotFontBoldChanged();
64 void slotFontItalicChanged();
65 void slotFontSizeChanged();
66 void slotFontColorChanged( const TQColor& color );
67 void slotBackgroundColorChanged( const TQColor& color );
68 void slotCapitalisationChanged( int item );
69 void slotUnderlineChanged( int item );
70 void slotUnderlineStyleChanged( int item );
71 void slotUnderlineColorChanged( const TQColor &color );
72 void slotStrikethroughChanged( int item );
73 void slotStrikethroughStyleChanged( int item );
74 void slotWordByWordChanged( bool state );
75 void slotShadowDistanceChanged( double distance );
76 void slotShadowDirectionChanged( int direction );
77 void slotShadowColorChanged( const TQColor &color );
78 void slotSubSuperChanged();
79 void slotOffsetChanged( int offset );
80 void slotRelativeSizeChanged( double relativeSize );
81 void slotHyphenationChanged( bool state );
82 void slotLanguageChanged();
92 KoHighlightingTab *highlightingTab;
93 KoDecorationTab *decorationTab;
94 KoLayoutTab *layoutTab;
95 KoLanguageTab *languageTab;
Each character (KoTextStringChar) points to a KoTextFormat that defines the formatting of that charac...
|