[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/lib/kofficecore
From: Tomas Mecir <mecirt () gmail ! com>
Date: 2006-03-18 11:45:49
Message-ID: 1142682349.264971.31347.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 519936 by mecir:
Added some styles() function, no idea what it is for, I just did what
Robert Knight told me to - it's necessary to make KSpread compile.
M +5 -0 KoOasisStyles.cpp
M +1 -0 KoOasisStyles.h
--- trunk/koffice/lib/kofficecore/KoOasisStyles.cpp #519935:519936
@@ -123,6 +123,11 @@
return vec;
}
+QDict<QDomElement>& KoOasisStyles::styles(QString family) const
+{
+ return d->m_styles[family];
+}
+
void KoOasisStyles::insertOfficeStyles( const QDomElement& styles )
{
QDomElement e;
--- trunk/koffice/lib/kofficecore/KoOasisStyles.h #519935:519936
@@ -87,6 +87,7 @@
/// @return draw styles ("draw:name" element), hashed by name
const QDict<QDomElement>& drawStyles() const { return m_drawStyles; }
+ QDict<QDomElement>& styles(QString family) const;
//Prefix and suffix are always included into formatStr. Having them as separate fields simply
//allows to extract them from formatStr, to display them in separate widgets.
struct NumericStyleFormat
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic