mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-03 07:12:28 +00:00
Remove QPDFAcroFormDocumentHelper::copyFieldsFromForeignPage
This commit is contained in:
parent
6df6260751
commit
496ca2e4dc
@ -248,19 +248,6 @@ class QPDFAcroFormDocumentHelper: public QPDFDocumentHelper
|
||||
QPDFAcroFormDocumentHelper& from_afdh,
|
||||
std::set<QPDFObjGen>* new_fields = nullptr);
|
||||
|
||||
// copyFieldsFromForeignPage was added in qpdf 10.2 and made to do
|
||||
// nothing in 10.3. It wasn't actually doing the right thing and
|
||||
// would result in broken files in all but the simplest case of a
|
||||
// single page from one file being added to another file, as
|
||||
// happens with qpdf --split-pages.
|
||||
[[deprecated("Use fixCopiedAnnotations instead")]]
|
||||
// ABI: delete this method
|
||||
QPDF_DLL void
|
||||
copyFieldsFromForeignPage(
|
||||
QPDFPageObjectHelper foreign_page,
|
||||
QPDFAcroFormDocumentHelper& foreign_afdh,
|
||||
std::vector<QPDFObjectHandle>* copied_fields = nullptr);
|
||||
|
||||
private:
|
||||
void analyze();
|
||||
void traverseField(
|
||||
|
@ -1143,21 +1143,6 @@ QPDFAcroFormDocumentHelper::transformAnnotations(
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
QPDFAcroFormDocumentHelper::copyFieldsFromForeignPage(
|
||||
QPDFPageObjectHelper foreign_page,
|
||||
QPDFAcroFormDocumentHelper& foreign_afdh,
|
||||
std::vector<QPDFObjectHandle>* copied_fields)
|
||||
{
|
||||
this->qpdf.warn(QPDFExc(
|
||||
qpdf_e_unsupported,
|
||||
"",
|
||||
"",
|
||||
0,
|
||||
"Non-working version of copyFieldsFromForeignPage"
|
||||
" from qpdf 10.2 called; application requires updating"));
|
||||
}
|
||||
|
||||
void
|
||||
QPDFAcroFormDocumentHelper::fixCopiedAnnotations(
|
||||
QPDFObjectHandle to_page,
|
||||
|
@ -64,6 +64,11 @@ For a detailed list of changes, please see the file
|
||||
|
||||
- API: breaking changes
|
||||
|
||||
- Remove
|
||||
``QPDFAcroFormDocumentHelper::copyFieldsFromForeignPage``. This
|
||||
method never worked and only did something in qpdf version
|
||||
10.2.x.
|
||||
|
||||
- Other changes
|
||||
|
||||
- A new chapter on contributing to qpdf has been added to the
|
||||
|
Loading…
Reference in New Issue
Block a user