summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-06-18 14:44:53 +0200
committerMiklos Vajna <vmiklos@collabora.com>2020-06-18 16:51:59 +0200
commitf9ac4ab61fa2ebcafa8ea8957db01104a927bff2 (patch)
treeb6a5f6c6de1767c264008b53b98e8cf1cb078d4f /vcl/inc
parent9197a52c1bd79bbdc0756724c74fd2a679b9f626 (diff)
sd signature line: teach PDFDocument how to use PDFObjectCopier
This will allow using the object copier in PDFDocument::WriteAppearanceObject(), so we can include the signature line pdf export result in a pdf signature of the original pdf. Change-Id: Iabc508081c5820f4ca997a2d264de9bdb06f82bd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96607 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/pdf/objectcontainer.hxx36
1 files changed, 0 insertions, 36 deletions
diff --git a/vcl/inc/pdf/objectcontainer.hxx b/vcl/inc/pdf/objectcontainer.hxx
deleted file mode 100644
index ca4898737e10..000000000000
--- a/vcl/inc/pdf/objectcontainer.hxx
+++ /dev/null
@@ -1,36 +0,0 @@
-/* -*- 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/.
- */
-
-#pragma once
-
-#include <sal/types.h>
-
-namespace vcl
-{
-/// Allows creating, updating and writing PDF objects in a container.
-class SAL_NO_VTABLE SAL_DLLPUBLIC_RTTI PDFObjectContainer
-{
-public:
- /* adds an entry to m_aObjects and returns its index+1,
- * sets the offset to ~0
- */
- virtual sal_Int32 createObject() = 0;
- /* sets the offset of object n to the current position of output file+1
- */
- virtual bool updateObject(sal_Int32 n) = 0;
-
- // Write pBuffer to the end of the output.
- virtual bool writeBuffer(const void* pBuffer, sal_uInt64 nBytes) = 0;
-
-protected:
- ~PDFObjectContainer() noexcept = default;
-};
-}
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */