summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-08-24 12:46:00 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-09-10 04:14:45 +0200
commit85f42858043b07eb52b32cc42fe8c22a8333a21e (patch)
tree44bbb12395e2dd8876c9c95bfd802f4a348aead4 /include
parent3187eeab10df77a6c0dd6397be993a68276d7141 (diff)
get correct vba project name
Change-Id: I48efd62ca1df00b8a0cbecb01b394814ca40c2e9
Diffstat (limited to 'include')
-rw-r--r--include/oox/ole/vbaexport.hxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/oox/ole/vbaexport.hxx b/include/oox/ole/vbaexport.hxx
index 3217e1b8b9b1..8c3094b6312b 100644
--- a/include/oox/ole/vbaexport.hxx
+++ b/include/oox/ole/vbaexport.hxx
@@ -19,6 +19,7 @@
namespace com { namespace sun { namespace star {
namespace container { class XNameContainer; }
namespace frame { class XModel; }
+ namespace script { class XLibraryContainer; }
} } }
class OOX_DLLPUBLIC VbaExport
@@ -28,14 +29,19 @@ public:
void exportVBA();
+ bool containsVBAProject();
+
private:
css::uno::Reference<css::container::XNameContainer>
getBasicLibrary();
- css::uno::Reference<css::frame::XModel> mxModel;
+ css::uno::Reference<css::script::XLibraryContainer>
+ getLibraryContainer();
- OUString maProjectName;
+ OUString getProjectName();
+
+ css::uno::Reference<css::frame::XModel> mxModel;
};
class VBACompressionChunk