summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-07-27 22:30:35 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-09-10 02:12:24 +0200
commitb15b372c7cc64315e14c7600429f0995ed2b2666 (patch)
tree1b14d9f58f54bfb0b3d2fa55646e700b9e6e4114 /include
parent86aebe9e5b084a737ce18e4620e8d8f0998eb5a1 (diff)
structure for vba export
Change-Id: I8094b64185ef8730355841e9b6f9d4ba412568dc
Diffstat (limited to 'include')
-rw-r--r--include/oox/ole/vbaexport.hxx40
1 files changed, 40 insertions, 0 deletions
diff --git a/include/oox/ole/vbaexport.hxx b/include/oox/ole/vbaexport.hxx
new file mode 100644
index 000000000000..88a0561a8717
--- /dev/null
+++ b/include/oox/ole/vbaexport.hxx
@@ -0,0 +1,40 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef __INCLUDED_INCLUDE_OOX_OLE_VBAEXPORT_HXX__
+#define __INCLUDED_INCLUDE_OOX_OLE_VBAEXPORT_HXX__
+
+#include <com/sun/star/uno/XInterface.hpp>
+#include <oox/dllapi.h>
+
+namespace com { namespace sun { namespace star {
+ namespace container { class XNameContainer; }
+ namespace frame { class XModel; }
+} } }
+
+class OOX_DLLPUBLIC VbaExport
+{
+public:
+ VbaExport(css::uno::Reference<css::frame::XModel> xModel);
+
+ void exportVBA();
+
+private:
+
+ css::uno::Reference<css::container::XNameContainer>
+ getBasicLibrary();
+
+ css::uno::Reference<css::frame::XModel> mxModel;
+
+ OUString maProjectName;
+};
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */