From 04c203ae060458ae39253263c7dd1c603b931bf0 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Thu, 27 Dec 2012 11:39:01 -0500 Subject: Eliminate flattenScalarReferences --- include/qpdf/QPDF.hh | 16 ---------------- include/qpdf/QPDFWriter.hh | 1 + 2 files changed, 1 insertion(+), 16 deletions(-) (limited to 'include') diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh index 64858625..b2e73929 100644 --- a/include/qpdf/QPDF.hh +++ b/include/qpdf/QPDF.hh @@ -352,24 +352,8 @@ class QPDF void optimize(std::map const& object_stream_data, bool allow_changes = true); - // Replace all references to indirect objects that are "scalars" - // (i.e., things that don't have children: not arrays, streams, or - // dictionaries) with direct objects. - QPDF_DLL - void flattenScalarReferences(); - - // Decode all streams, discarding the output. Used to check - // correctness of stream encoding. - QPDF_DLL - void decodeStreams(); - // For QPDFWriter: - // Remove /ID, /Encrypt, and /Prev keys from the trailer - // dictionary since these are regenerated during write. - QPDF_DLL - void trimTrailerForWrite(); - // Get lists of all objects in order according to the part of a // linearized file that they belong to. QPDF_DLL diff --git a/include/qpdf/QPDFWriter.hh b/include/qpdf/QPDFWriter.hh index 725b2be8..611c6aef 100644 --- a/include/qpdf/QPDFWriter.hh +++ b/include/qpdf/QPDFWriter.hh @@ -299,6 +299,7 @@ class QPDFWriter void setDataKey(int objid); int openObject(int objid = 0); void closeObject(int objid); + void prepareFileForWrite(); void writeStandard(); void writeLinearized(); void enqueuePart(std::vector& part); -- cgit v1.2.3-54-g00ecf