summaryrefslogtreecommitdiff
path: root/sc/inc/orcusxml.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-10-12 21:32:09 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-11-28 13:28:25 -0500
commit6f2013f164c2550073346bf175c1173c1032b598 (patch)
treeca9563407ec63829be24b2630d44ffd54acafe7a /sc/inc/orcusxml.hxx
parent0b69fbe315398fb5d1117d14ca347c171967dec9 (diff)
More progress on the dialog.
Change-Id: Ib07d6d5de7cd0d72356bbb7859342f5038f05f95
Diffstat (limited to 'sc/inc/orcusxml.hxx')
-rw-r--r--sc/inc/orcusxml.hxx11
1 files changed, 8 insertions, 3 deletions
diff --git a/sc/inc/orcusxml.hxx b/sc/inc/orcusxml.hxx
index cdc4679b082b..d615ab6bfcd2 100644
--- a/sc/inc/orcusxml.hxx
+++ b/sc/inc/orcusxml.hxx
@@ -10,10 +10,13 @@
#ifndef __SC_ORCUSXML_HXX__
#define __SC_ORCUSXML_HXX__
+#include "scdllapi.h"
#include "vcl/image.hxx"
#include <boost/ptr_container/ptr_vector.hpp>
+class SvLBoxEntry;
+
/**
* Parameter used during call to ScOrcusFilters::loadXMLStructure().
*/
@@ -22,14 +25,14 @@ struct ScOrcusXMLTreeParam
enum EntryType { ElementDefault, ElementRepeat, Attribute };
/** Custom data stored with each tree item. */
- struct TreeEntryUserData
+ struct EntryData
{
EntryType meType;
- TreeEntryUserData(EntryType eType);
+ SC_DLLPUBLIC EntryData(EntryType eType);
};
- typedef boost::ptr_vector<TreeEntryUserData> UserDataStoreType;
+ typedef boost::ptr_vector<EntryData> UserDataStoreType;
Image maImgElementDefault;
Image maImgElementRepeat;
@@ -40,6 +43,8 @@ struct ScOrcusXMLTreeParam
* the life cycle of user datas.
*/
UserDataStoreType maUserDataStore;
+
+ static SC_DLLPUBLIC EntryData* getUserData(SvLBoxEntry& rEntry);
};
#endif