KoStyleStack.h
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;
bool hasAttributeNS(const char *nsURI, const char *localName, const char *detail=0) const
Check if any of the styles on the stack has an attribute called 'name'-'detail' where detail is e....
Definition KoStyleStack.cpp:154
TQDomElement childNode(const TQString &name) const TDE_DEPRECATED
Search for a child node called 'name', starting on top of the stack, and return it.
Definition KoStyleStack.cpp:212
TQDomElement childNodeNS(const char *nsURI, const char *localName) const
Search for a child element which has a child element called 'localName' in the namespace 'nsURI' star...
Definition KoStyleStack.cpp:241
void setTypeProperties(const char *typeProperties)
Set the type of properties that will be looked for.
Definition KoStyleStack.cpp:293
bool hasChildNode(const TQString &name) const TDE_DEPRECATED
Check if any of the styles on the stack has a child node called 'name'.
Definition KoStyleStack.cpp:198
double fontSize() const
Special case for the current font size, due to special handling of fo:font-size="115%".
Definition KoStyleStack.cpp:177
void push(const TQDomElement &style)
Pushes the new style onto the stack.
Definition KoStyleStack.cpp:84
bool hasAttribute(const TQString &name, const TQString &detail=TQString()) const TDE_DEPRECATED
Check if any of the styles on the stack has an attribute called 'name'-'detail' where detail is e....
Definition KoStyleStack.cpp:92
TQString attribute(const TQString &name, const TQString &detail=TQString()) const TDE_DEPRECATED
Search for the attribute called 'name', starting on top of the stack, and return it.
Definition KoStyleStack.cpp:112
TQString attributeNS(const char *nsURI, const char *localName, const char *detail=0) const
Search for the attribute called 'name', starting on top of the stack, and return it.
Definition KoStyleStack.cpp:133
bool hasChildNodeNS(const char *nsURI, const char *localName) const
Check if any of the styles on the stack has a child element called 'localName' in the namespace 'nsUR...
Definition KoStyleStack.cpp:227
void restore()
Restore the stack to the state it was at the corresponding save() call.
Definition KoStyleStack.cpp:62
TQString userStyleDisplayName(const TQString &family) const
Return the display name of the style specified by the user, i.e.
Definition KoStyleStack.cpp:280
TQString userStyleName(const TQString &family) const
Return the name of the style specified by the user, i.e.
Definition KoStyleStack.cpp:266
