Changeset View
Changeset View
Standalone View
Standalone View
libs/odf/KoStyleStack.h
Show First 20 Lines • Show All 157 Lines • ▼ Show 20 Line(s) | 60 | public: | |||
---|---|---|---|---|---|
158 | * If @p typeProperties is 0, the stylestack is reset to look for "properties" | 158 | * If @p typeProperties is 0, the stylestack is reset to look for "properties" | ||
159 | * as it does by default. | 159 | * as it does by default. | ||
160 | */ | 160 | */ | ||
161 | void setTypeProperties(const char* typeProperties); | 161 | void setTypeProperties(const char* typeProperties); | ||
162 | 162 | | |||
163 | /** | 163 | /** | ||
164 | * Overloaded method to also set backup properties to search in | 164 | * Overloaded method to also set backup properties to search in | ||
165 | * | 165 | * | ||
166 | * If the list is graphic, paragraph it will search first in graphic-properties and then in paragraph-properites | 166 | * If the list is graphic, paragraph it will search first in graphic-properties and then in paragraph-properties | ||
167 | */ | 167 | */ | ||
168 | void setTypeProperties(const QList<QString> &typeProperties); | 168 | void setTypeProperties(const QList<QString> &typeProperties); | ||
169 | 169 | | |||
170 | private: | 170 | private: | ||
171 | bool isUserStyle(const KoXmlElement& e, const QString& family) const; | 171 | bool isUserStyle(const KoXmlElement& e, const QString& family) const; | ||
172 | 172 | | |||
173 | inline bool hasProperty(const QString &nsURI, const QString &localName, const QString *detail) const; | 173 | inline bool hasProperty(const QString &nsURI, const QString &localName, const QString *detail) const; | ||
174 | 174 | | |||
Show All 25 Lines |