aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDF.hh16
-rw-r--r--include/qpdf/QPDFWriter.hh1
2 files changed, 1 insertions, 16 deletions
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<int, int> 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<QPDFObjectHandle>& part);