summaryrefslogtreecommitdiff
path: root/vcl/inc/impgraph.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/inc/impgraph.hxx')
-rw-r--r--vcl/inc/impgraph.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/vcl/inc/impgraph.hxx b/vcl/inc/impgraph.hxx
index 052bed0924a5..36a888c01efc 100644
--- a/vcl/inc/impgraph.hxx
+++ b/vcl/inc/impgraph.hxx
@@ -88,10 +88,19 @@ private:
bool mbSwapOut;
bool mbDummyContext;
VectorGraphicDataPtr maVectorGraphicData;
+
+ /// The PDF stream from which this Graphic is rendered,
+ /// as converted (version downgraded) from the original,
+ /// which should be in GfxLink.
std::shared_ptr<css::uno::Sequence<sal_Int8>> mpPdfData;
std::unique_ptr<GraphicID> mpGraphicID;
GraphicExternalLink maGraphicExternalLink;
+ /// Used with GfxLink and/or PdfData when they store original media
+ /// which might be multi-page (PDF, f.e.) and we need to re-render
+ /// this Graphic (a page) from the source in GfxLink or PdfData.
+ sal_Int32 mnPageNumber;
+
std::chrono::high_resolution_clock::time_point maLastUsed;
bool mbPrepared;