summaryrefslogtreecommitdiff
path: root/filter/source/pdf/pdfexport.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/pdf/pdfexport.hxx')
-rw-r--r--filter/source/pdf/pdfexport.hxx76
1 files changed, 37 insertions, 39 deletions
diff --git a/filter/source/pdf/pdfexport.hxx b/filter/source/pdf/pdfexport.hxx
index cdba3a6215d8..688ccadd86a4 100644
--- a/filter/source/pdf/pdfexport.hxx
+++ b/filter/source/pdf/pdfexport.hxx
@@ -32,9 +32,6 @@ class Size;
namespace vcl { class PDFWriter; }
-// - PDFExport -
-
-
class PDFExport
{
private:
@@ -45,31 +42,31 @@ private:
Reference< task::XInteractionHandler > mxIH;
bool mbUseTaggedPDF;
- sal_Int32 mnPDFTypeSelection;
+ sal_Int32 mnPDFTypeSelection;
bool mbExportNotes;
bool mbViewPDF;
bool mbExportNotesPages;
bool mbUseTransitionEffects;
bool mbExportBookmarks;
bool mbExportHiddenSlides;
- sal_Int32 mnOpenBookmarkLevels;
+ sal_Int32 mnOpenBookmarkLevels;
bool mbUseLosslessCompression;
bool mbReduceImageResolution;
bool mbSkipEmptyPages;
bool mbAddStream;
- sal_Int32 mnMaxImageResolution;
- sal_Int32 mnQuality;
- sal_Int32 mnFormsFormat;
+ sal_Int32 mnMaxImageResolution;
+ sal_Int32 mnQuality;
+ sal_Int32 mnFormsFormat;
bool mbExportFormFields;
bool mbAllowDuplicateFieldNames;
- sal_Int32 mnProgressValue;
+ sal_Int32 mnProgressValue;
bool mbRemoveTransparencies;
OUString msWatermark;
-//these variable are here only to have a location in filter/pdf to set the default
-//to be used by the macro (when the FilterData are set by the macro itself)
+ // these variable are here only to have a location in filter/pdf to set the default
+ // to be used by the macro (when the FilterData are set by the macro itself)
bool mbHideViewerToolbar;
bool mbHideViewerMenubar;
bool mbHideViewerWindowControls;
@@ -77,57 +74,58 @@ private:
bool mbCenterWindow;
bool mbOpenInFullScreenMode;
bool mbDisplayPDFDocumentTitle;
- sal_Int32 mnPDFDocumentMode;
- sal_Int32 mnPDFDocumentAction;
- sal_Int32 mnZoom;
- sal_Int32 mnInitialPage;
- sal_Int32 mnPDFPageLayout;
+ sal_Int32 mnPDFDocumentMode;
+ sal_Int32 mnPDFDocumentAction;
+ sal_Int32 mnZoom;
+ sal_Int32 mnInitialPage;
+ sal_Int32 mnPDFPageLayout;
bool mbFirstPageLeft;
bool mbEncrypt;
bool mbRestrictPermissions;
- sal_Int32 mnPrintAllowed;
- sal_Int32 mnChangesAllowed;
+ sal_Int32 mnPrintAllowed;
+ sal_Int32 mnChangesAllowed;
bool mbCanCopyOrExtract;
bool mbCanExtractForAccessibility;
-//--->i56629
+ // #i56629
bool mbExportRelativeFsysLinks;
- sal_Int32 mnDefaultLinkAction;
+ sal_Int32 mnDefaultLinkAction;
bool mbConvertOOoTargetToPDFTarget;
bool mbExportBmkToDest;
bool ImplExportPage( vcl::PDFWriter& rWriter, vcl::PDFExtOutDevData& rPDFExtOutDevData,
- const GDIMetaFile& rMtf );
+ const GDIMetaFile& rMtf );
bool mbSignPDF;
- OUString msSignLocation;
- OUString msSignContact;
- OUString msSignReason;
- OUString msSignPassword;
+ OUString msSignLocation;
+ OUString msSignContact;
+ OUString msSignReason;
+ OUString msSignPassword;
Reference< security::XCertificate > maSignCertificate;
- OUString msSignTSA;
+ OUString msSignTSA;
+
+ void ImplWriteWatermark( vcl::PDFWriter& rWriter, const Size& rPageSize );
- void ImplWriteWatermark( vcl::PDFWriter& rWriter, const Size& rPageSize );
public:
- PDFExport( const Reference< XComponent >& rxSrcDoc,
- const Reference< task::XStatusIndicator >& xStatusIndicator,
- const Reference< task::XInteractionHandler >& xIH,
- const Reference< uno::XComponentContext >& xFact );
- ~PDFExport();
+ PDFExport( const Reference< XComponent >& rxSrcDoc,
+ const Reference< task::XStatusIndicator >& xStatusIndicator,
+ const Reference< task::XInteractionHandler >& xIH,
+ const Reference< uno::XComponentContext >& xFact );
+ ~PDFExport();
bool ExportSelection( vcl::PDFWriter& rPDFWriter,
- Reference< css::view::XRenderable >& rRenderable,
- const Any& rSelection,
- const StringRangeEnumerator& rRangeEnum,
- Sequence< PropertyValue >& rRenderOptions,
- sal_Int32 nPageCount );
+ Reference< css::view::XRenderable >& rRenderable,
+ const Any& rSelection,
+ const StringRangeEnumerator& rRangeEnum,
+ Sequence< PropertyValue >& rRenderOptions,
+ sal_Int32 nPageCount );
bool Export( const OUString& rFile, const Sequence< PropertyValue >& rFilterData );
- void showErrors( const std::set<vcl::PDFWriter::ErrorCode>& );
+ void showErrors( const std::set<vcl::PDFWriter::ErrorCode>& );
};
-#endif
+#endif // INCLUDED_FILTER_SOURCE_PDF_PDFEXPORT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */