mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-03 15:17:29 +00:00
Remove some ABI compatibility private methods
Since we have to bump soname, remove some private methods that were just there for binary compatibility
This commit is contained in:
parent
e5abc789a2
commit
e0e9d64674
@ -311,8 +311,6 @@ class QPDFWriter
|
|||||||
std::vector<qpdf_offset_t>& offsets, int first_obj);
|
std::vector<qpdf_offset_t>& offsets, int first_obj);
|
||||||
void writeObjectStream(QPDFObjectHandle object);
|
void writeObjectStream(QPDFObjectHandle object);
|
||||||
void writeObject(QPDFObjectHandle object, int object_stream_index = -1);
|
void writeObject(QPDFObjectHandle object, int object_stream_index = -1);
|
||||||
void writeTrailer(trailer_e which, int size,
|
|
||||||
bool xref_stream, qpdf_offset_t prev = 0);
|
|
||||||
void writeTrailer(trailer_e which, int size,
|
void writeTrailer(trailer_e which, int size,
|
||||||
bool xref_stream, qpdf_offset_t prev,
|
bool xref_stream, qpdf_offset_t prev,
|
||||||
int linearization_pass);
|
int linearization_pass);
|
||||||
@ -358,14 +356,6 @@ class QPDFWriter
|
|||||||
void writeHintStream(int hint_id);
|
void writeHintStream(int hint_id);
|
||||||
qpdf_offset_t writeXRefTable(
|
qpdf_offset_t writeXRefTable(
|
||||||
trailer_e which, int first, int last, int size);
|
trailer_e which, int first, int last, int size);
|
||||||
qpdf_offset_t writeXRefTable(
|
|
||||||
trailer_e which, int first, int last, int size,
|
|
||||||
// for linearization
|
|
||||||
qpdf_offset_t prev,
|
|
||||||
bool suppress_offsets,
|
|
||||||
int hint_id,
|
|
||||||
qpdf_offset_t hint_offset,
|
|
||||||
qpdf_offset_t hint_length);
|
|
||||||
qpdf_offset_t writeXRefTable(
|
qpdf_offset_t writeXRefTable(
|
||||||
trailer_e which, int first, int last, int size,
|
trailer_e which, int first, int last, int size,
|
||||||
// for linearization
|
// for linearization
|
||||||
@ -378,15 +368,6 @@ class QPDFWriter
|
|||||||
qpdf_offset_t writeXRefStream(
|
qpdf_offset_t writeXRefStream(
|
||||||
int objid, int max_id, qpdf_offset_t max_offset,
|
int objid, int max_id, qpdf_offset_t max_offset,
|
||||||
trailer_e which, int first, int last, int size);
|
trailer_e which, int first, int last, int size);
|
||||||
qpdf_offset_t writeXRefStream(
|
|
||||||
int objid, int max_id, qpdf_offset_t max_offset,
|
|
||||||
trailer_e which, int first, int last, int size,
|
|
||||||
// for linearization
|
|
||||||
qpdf_offset_t prev,
|
|
||||||
int hint_id,
|
|
||||||
qpdf_offset_t hint_offset,
|
|
||||||
qpdf_offset_t hint_length,
|
|
||||||
bool skip_compression);
|
|
||||||
qpdf_offset_t writeXRefStream(
|
qpdf_offset_t writeXRefStream(
|
||||||
int objid, int max_id, qpdf_offset_t max_offset,
|
int objid, int max_id, qpdf_offset_t max_offset,
|
||||||
trailer_e which, int first, int last, int size,
|
trailer_e which, int first, int last, int size,
|
||||||
|
@ -1108,13 +1108,6 @@ QPDFWriter::unparseChild(QPDFObjectHandle child, int level, int flags)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
QPDFWriter::writeTrailer(trailer_e which, int size, bool xref_stream,
|
|
||||||
qpdf_offset_t prev)
|
|
||||||
{
|
|
||||||
writeTrailer(which, size, xref_stream, prev, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
QPDFWriter::writeTrailer(trailer_e which, int size, bool xref_stream,
|
QPDFWriter::writeTrailer(trailer_e which, int size, bool xref_stream,
|
||||||
qpdf_offset_t prev, int linearization_pass)
|
qpdf_offset_t prev, int linearization_pass)
|
||||||
@ -2468,18 +2461,7 @@ QPDFWriter::writeHintStream(int hint_id)
|
|||||||
qpdf_offset_t
|
qpdf_offset_t
|
||||||
QPDFWriter::writeXRefTable(trailer_e which, int first, int last, int size)
|
QPDFWriter::writeXRefTable(trailer_e which, int first, int last, int size)
|
||||||
{
|
{
|
||||||
return writeXRefTable(which, first, last, size, 0, false, 0, 0, 0);
|
return writeXRefTable(which, first, last, size, 0, false, 0, 0, 0, 0);
|
||||||
}
|
|
||||||
|
|
||||||
qpdf_offset_t
|
|
||||||
QPDFWriter::writeXRefTable(trailer_e which, int first, int last, int size,
|
|
||||||
qpdf_offset_t prev, bool suppress_offsets,
|
|
||||||
int hint_id, qpdf_offset_t hint_offset,
|
|
||||||
qpdf_offset_t hint_length)
|
|
||||||
{
|
|
||||||
// ABI compatibility
|
|
||||||
return writeXRefTable(which, first, last, size, prev, suppress_offsets,
|
|
||||||
hint_id, hint_offset, hint_length, 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
qpdf_offset_t
|
qpdf_offset_t
|
||||||
@ -2526,7 +2508,6 @@ qpdf_offset_t
|
|||||||
QPDFWriter::writeXRefStream(int objid, int max_id, qpdf_offset_t max_offset,
|
QPDFWriter::writeXRefStream(int objid, int max_id, qpdf_offset_t max_offset,
|
||||||
trailer_e which, int first, int last, int size)
|
trailer_e which, int first, int last, int size)
|
||||||
{
|
{
|
||||||
// ABI compatibility
|
|
||||||
return writeXRefStream(objid, max_id, max_offset,
|
return writeXRefStream(objid, max_id, max_offset,
|
||||||
which, first, last, size, 0, 0, 0, 0, false, 0);
|
which, first, last, size, 0, 0, 0, 0, false, 0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user