25#include <tqvaluelist.h>
27#include <tqvaluestack.h>
31#include "koffice_export.h"
69 KoStyleStack( const char* styleNSURI, const char* foNSURI );
96 void push( const TQDomElement& style );
103 bool hasAttribute( const TQString& name, const TQString& detail = TQString() ) const TDE_DEPRECATED;
109 TQString attribute( const TQString& name, const TQString& detail = TQString() ) const TDE_DEPRECATED;
116 bool hasAttributeNS( const char* nsURI, const char* localName, const char* detail = 0 ) const;
122 TQString attributeNS( const char* nsURI, const char* localName, const char* detail = 0 ) const;
127 bool hasChildNode( const TQString & name ) const TDE_DEPRECATED;
133 TQDomElement childNode( const TQString & name ) const TDE_DEPRECATED;
138 bool hasChildNodeNS( const char* nsURI, const char* localName ) const;
145 TQDomElement childNodeNS( const char* nsURI, const char* localName ) const;
150 double fontSize() const;
158 TQString userStyleName( const TQString& family ) const;
164 TQString userStyleDisplayName( const TQString& family ) const;
173 void setTypeProperties( const char* typeProperties );
176 bool isUserStyle( const TQDomElement& e, const TQString& family ) const;
180 TQValueStack<int> m_marks;
186 TQValueList<TQDomElement> m_stack;
188 TQCString m_propertiesTagName;
190 const char* m_styleNSURI;
191 const char* m_foNSURI;
193 class KoStyleStackPrivate;
194 KoStyleStackPrivate *d;
This class implements a stack for the different styles of an object.
|