20#ifndef __kolayouttab_h__
21#define __kolayouttab_h__
23#include <kolayouttabbase.h>
24#include <KoTextFormat.h>
26class KoLayoutTab : public KoLayoutTabBase
32 KoLayoutTab( bool withSubSuperScript, TQWidget* parent=0, const char* name=0, WFlags fl=0 );
35 KoTextFormat::VerticalAlignment getSubSuperScript() const;
36 int getOffsetFromBaseline() const;
37 double getRelativeTextSize() const;
38 bool getAutoHyphenation() const;
40 void setSubSuperScript( KoTextFormat::VerticalAlignment subSuperScript, int offset, double relativeSize );
41 void setAutoHyphenation( bool state );
44 void subSuperScriptChanged();
45 void offsetChanged( int offset );
46 void relativeSizeChanged( double relativeSize );
47 void hyphenationChanged( bool state );
50 void slotSubSuperScriptChanged( int item );
51 void slotRelativeSizeChanged( double relativeSize );
|