KoStyleCollection.h
71 return static_cast<KoParagStyle*>( KoUserStyleCollection::findStyle( name, TQString::fromLatin1( "Standard" ) ) );
Used during loading of Oasis format (and discarded at the end of the loading).
Definition KoOasisContext.h:46
A paragraph style is a combination of a character style and paragraph-layout attributes,...
Definition KoParagStyle.h:55
Used during saving to Oasis format (and discarded at the end of the saving).
Definition KoOasisContext.h:112
TODO rename to KoParagStyleCollection - or should char styles be part of it too?
Definition KoStyleCollection.h:48
KoParagStyle * findStyleByDisplayName(const TQString &name) const
Find style based on the display name displayName.
Definition KoStyleCollection.h:78
KoParagStyle * addStyle(KoParagStyle *sty)
See KoUserStyleCollection::addStyle.
Definition KoStyleCollection.h:62
KoParagStyle * findStyle(const TQString &name) const
Find style based on the internal name name.
Definition KoStyleCollection.h:70
Generic style collection class, for all "user styles" (see KoUserStyle).
Definition KoUserStyleCollection.h:33
KoUserStyle * findStyleByDisplayName(const TQString &displayName) const
Find style based on the display name displayName.
Definition KoUserStyleCollection.cpp:49
TQStringList displayNameList() const
Return the list composed of the display-name of each style in the collection.
Definition KoUserStyleCollection.cpp:91
KoUserStyle * findStyle(const TQString &name, const TQString &defaultStyleName) const
Find style based on the internal name name.
Definition KoUserStyleCollection.cpp:30
KoUserStyle * addStyle(KoUserStyle *sty)
Try adding sty to the collection.
Definition KoUserStyleCollection.cpp:99
A class for writing out XML (to any TQIODevice), with a special attention on performance.
Definition KoXmlWriter.h:37
