diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-10-05 21:44:45 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-10-06 10:16:35 +0200 |
commit | d0b2f5f65e80a4262425bb87d5716d7b4341dfea (patch) | |
tree | 06454afb84511a05b2bf6a40b465f04982061244 /include/vcl/filter | |
parent | f8983580f67b06461b23fa34dd1bfdefbb33012a (diff) |
pdfium: drop not needed annot.patch.1
If FORM_OnAfterLoadPage() is called, then FPDFAnnot_GetFontSize() can do
what we need.
Change-Id: I8aa3acbbda5c040f30b28db36f8b3332115b50e5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140997
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include/vcl/filter')
-rw-r--r-- | include/vcl/filter/PDFiumLibrary.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/vcl/filter/PDFiumLibrary.hxx b/include/vcl/filter/PDFiumLibrary.hxx index 1541fcb689e4..f0a642847cc6 100644 --- a/include/vcl/filter/PDFiumLibrary.hxx +++ b/include/vcl/filter/PDFiumLibrary.hxx @@ -102,7 +102,7 @@ public: virtual std::vector<basegfx::B2DPoint> getAttachmentPoints(size_t nIndex) = 0; virtual std::vector<basegfx::B2DPoint> getLineGeometry() = 0; virtual PDFFormFieldType getFormFieldType(PDFiumDocument* pDoc) = 0; - virtual float getFormFontSize(PDFiumDocument* pDoc) = 0; + virtual float getFontSize(PDFiumDocument* pDoc) = 0; virtual OUString getFormFieldAlternateName(PDFiumDocument* pDoc) = 0; virtual int getFormFieldFlags(PDFiumDocument* pDoc) = 0; }; @@ -194,6 +194,8 @@ public: virtual bool hasTransparency() = 0; virtual bool hasLinks() = 0; + + virtual void onAfterLoadPage(PDFiumDocument* pDoc) = 0; }; /// Represents one digital signature, as exposed by PDFium. |