summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/QRCodeContext.hxx
diff options
context:
space:
mode:
authorShubham Goyal <22shubh22@gmail.com>2019-07-25 07:56:59 +0530
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-08-22 13:45:28 +0200
commit437fe778a81f3c39b8b259acd2d960c285d4f244 (patch)
tree2097fb4382d96889af6f1263e42703b938375822 /xmloff/source/draw/QRCodeContext.hxx
parentbf1638f8fc629fa211a8c57f962b9a3c4c40152f (diff)
QR Code : ODF import/export
Change-Id: I6c1ae63a89d5ed34d2fa245279d4552949bb64a7 Reviewed-on: https://gerrit.libreoffice.org/74853 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'xmloff/source/draw/QRCodeContext.hxx')
-rw-r--r--xmloff/source/draw/QRCodeContext.hxx26
1 files changed, 26 insertions, 0 deletions
diff --git a/xmloff/source/draw/QRCodeContext.hxx b/xmloff/source/draw/QRCodeContext.hxx
new file mode 100644
index 000000000000..74709bab40f8
--- /dev/null
+++ b/xmloff/source/draw/QRCodeContext.hxx
@@ -0,0 +1,26 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
+/*
+ * 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/.
+ */
+
+#pragma once
+
+#include <com/sun/star/drawing/XShape.hpp>
+#include <xmloff/xmlictxt.hxx>
+
+// Used to import QR code properties from a QR code in ODF document
+// @see ximpshap
+
+class QRCodeContext : public SvXMLImportContext
+{
+public:
+ QRCodeContext(SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLocalName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList,
+ const css::uno::Reference<css::drawing::XShape>& rxShape);
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */