mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-03 07:12:28 +00:00
QPDFPageObjectHelper::removeUnreferencedResources works with form XObjects
This commit is contained in:
parent
6154221edb
commit
afb48d23a9
@ -1,5 +1,9 @@
|
|||||||
2020-12-31 Jay Berkenbilt <ejb@ql.org>
|
2020-12-31 Jay Berkenbilt <ejb@ql.org>
|
||||||
|
|
||||||
|
* QPDFPageObjectHelper::removeUnreferencedResources can now be
|
||||||
|
called with a QPDFPageObjectHelper created from a form XObject.
|
||||||
|
The method already recursed into form XObjects.
|
||||||
|
|
||||||
* Rename some QPDFPageObjectHelper methods and make them support
|
* Rename some QPDFPageObjectHelper methods and make them support
|
||||||
form XObjects as well as pages. The old names will be preserved
|
form XObjects as well as pages. The old names will be preserved
|
||||||
from compatibility.
|
from compatibility.
|
||||||
|
@ -186,7 +186,8 @@ class QPDFPageObjectHelper: public QPDFObjectHelper
|
|||||||
// QPDFPageDocumentHelper::pushInheritedAttributesToPage(). This
|
// QPDFPageDocumentHelper::pushInheritedAttributesToPage(). This
|
||||||
// method is used by page splitting code to avoid copying unused
|
// method is used by page splitting code to avoid copying unused
|
||||||
// objects in files that used shared resource dictionaries across
|
// objects in files that used shared resource dictionaries across
|
||||||
// multiple pages.
|
// multiple pages. This method recurses into form XObjects and can
|
||||||
|
// be called with a form XObject as well as a page.
|
||||||
QPDF_DLL
|
QPDF_DLL
|
||||||
void removeUnreferencedResources();
|
void removeUnreferencedResources();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user