diff options
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/pdfextoutdevdata.hxx | 4 | ||||
-rw-r--r-- | include/vcl/pdfwriter.hxx | 5 |
2 files changed, 3 insertions, 6 deletions
diff --git a/include/vcl/pdfextoutdevdata.hxx b/include/vcl/pdfextoutdevdata.hxx index 566ff2abbfc8..23058141756a 100644 --- a/include/vcl/pdfextoutdevdata.hxx +++ b/include/vcl/pdfextoutdevdata.hxx @@ -226,7 +226,7 @@ public: /** provides detailed information about a destination range which previously has been registered using RegisterDest. */ - void DescribeRegisteredDest( sal_Int32 nDestId, const Rectangle& rRect, sal_Int32 nPageNr, PDFWriter::DestAreaType eType = PDFWriter::XYZ ); + void DescribeRegisteredDest( sal_Int32 nDestId, const Rectangle& rRect, sal_Int32 nPageNr, PDFWriter::DestAreaType eType = PDFWriter::DestAreaType::XYZ ); //<---i56629 @@ -246,7 +246,7 @@ public: the destination id (to be used in SetLinkDest) or -1 if page id does not exist */ - sal_Int32 CreateDest( const Rectangle& rRect, sal_Int32 nPageNr = -1, PDFWriter::DestAreaType eType = PDFWriter::XYZ ); + sal_Int32 CreateDest( const Rectangle& rRect, sal_Int32 nPageNr = -1, PDFWriter::DestAreaType eType = PDFWriter::DestAreaType::XYZ ); /** Create a new link on a page @param rRect diff --git a/include/vcl/pdfwriter.hxx b/include/vcl/pdfwriter.hxx index 75f123038a2a..d75b4ac50910 100644 --- a/include/vcl/pdfwriter.hxx +++ b/include/vcl/pdfwriter.hxx @@ -107,10 +107,7 @@ public: enum PDFVersion { PDF_1_2, PDF_1_3, PDF_1_4, PDF_1_5, PDF_A_1 };//i59651, PDF/A-1b & -1a, only -1b implemented for now // for the meaning of DestAreaType please look at PDF Reference Manual // version 1.4 section 8.2.1, page 475 - enum DestAreaType { XYZ, Fit, FitHorizontal, FitVertical, - FitRectangle, FitPageBoundingBox, FitPageBoundingBoxHorizontal, - FitPageBoundingBoxVertical - }; + enum class DestAreaType { XYZ, FitRectangle }; // for a definition of structural element types please refer to // PDF Reference, 3rd ed. section 9.7.4 |