LibreOffice Module filter (master) 1
impdialog.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20#pragma once
21
22#include <sfx2/tabdlg.hxx>
23#include <sfx2/passwd.hxx>
24
25#include <vcl/pdfwriter.hxx>
27#include <vcl/weld.hxx>
28
29#include <com/sun/star/beans/NamedValue.hpp>
30#include <com/sun/star/lang/XComponent.hpp>
31
36
37using namespace ::com::sun::star::uno;
38using namespace ::com::sun::star::beans;
39using namespace ::com::sun::star::lang;
40
42{
43private:
44 std::unique_ptr<weld::TreeView> m_xErrors;
45 std::unique_ptr<weld::Label> m_xExplanation;
46
47 DECL_LINK(SelectHdl, weld::TreeView&, void);
48
49public:
50 explicit ImplErrorDialog(weld::Window* pParent, const std::set<vcl::PDFWriter::ErrorCode>& rErrorCodes);
51};
52
53
56
57
60{
61 css::uno::Reference<css::lang::XComponent> mrDoc;
62
65
67
68 DECL_LINK(CancelHdl, weld::Button&, void);
69 DECL_LINK(OkHdl, weld::Button&, void);
70
71 // the following data are the configuration used throughout the dialog and pages
78 sal_Int32 mnQuality;
96 sal_Int32 mnFormsType;
104
113 sal_Int32 mnInitialView;
115 sal_Int32 mnZoom;
116 sal_Int32 mnInitialPage;
117
118 sal_Int32 mnPageLayout;
120
122
124 css::uno::Sequence< css::beans::NamedValue > maPreparedOwnerPassword;
125 sal_Int32 mnPrint;
129 css::uno::Reference< css::beans::XMaterialHolder > mxPreparedPasswords;
130
132 OUString msPageRange;
134
136 sal_Int32 mnViewPDFMode;
139
144 OUString msSignReason;
145 css::uno::Reference< css::security::XCertificate > maSignCertificate;
146 OUString msSignTSA;
147
149
150public:
151
156 friend class ImpPDFTabLinksPage;
158
159 ImpPDFTabDialog(weld::Window* pParent, const Sequence< PropertyValue >& rFilterData,
160 const css::uno::Reference< XComponent >& rDoc);
161 virtual ~ImpPDFTabDialog() override;
162
163 Sequence< PropertyValue > GetFilterData();
164
169
170private:
171 virtual void PageCreated(const OUString& rId, SfxTabPage& rPage) override;
172};
173
174
177{
178 friend class ImpPDFTabLinksPage;
179
185
186 std::unique_ptr<weld::RadioButton> mxRbAll;
187 std::unique_ptr<weld::RadioButton> mxRbRange;
188 std::unique_ptr<weld::RadioButton> mxRbSelection;
189 std::unique_ptr<weld::Entry> mxEdPages;
190 std::unique_ptr<weld::RadioButton> mxRbLosslessCompression;
191 std::unique_ptr<weld::RadioButton> mxRbJPEGCompression;
192 std::unique_ptr<weld::Widget> mxQualityFrame;
193 std::unique_ptr<weld::MetricSpinButton> mxNfQuality;
194 std::unique_ptr<weld::CheckButton> mxCbReduceImageResolution;
195 std::unique_ptr<weld::ComboBox> mxCoReduceImageResolution;
196 std::unique_ptr<weld::CheckButton> mxCbPDFA;
197 std::unique_ptr<weld::CheckButton> mxCbPDFUA;
198 std::unique_ptr<weld::ComboBox> mxRbPDFAVersion;
199 std::unique_ptr<weld::CheckButton> mxCbTaggedPDF;
200 std::unique_ptr<weld::CheckButton> mxCbExportFormFields;
201 std::unique_ptr<weld::Widget> mxFormsFrame;
202 std::unique_ptr<weld::ComboBox> mxLbFormsFormat;
203 std::unique_ptr<weld::CheckButton> mxCbAllowDuplicateFieldNames;
204 std::unique_ptr<weld::CheckButton> mxCbExportBookmarks;
205 std::unique_ptr<weld::CheckButton> mxCbExportHiddenSlides;
206 std::unique_ptr<weld::CheckButton> mxCbSinglePageSheets;
207 std::unique_ptr<weld::CheckButton> mxCbExportNotes;
208 std::unique_ptr<weld::CheckButton> mxCbExportNotesInMargin;
209 std::unique_ptr<weld::CheckButton> mxCbViewPDF;
210 std::unique_ptr<weld::CheckButton> mxCbUseReferenceXObject;
211 std::unique_ptr<weld::CheckButton> mxCbExportNotesPages;
212 std::unique_ptr<weld::CheckButton> mxCbExportOnlyNotesPages;
213 std::unique_ptr<weld::CheckButton> mxCbExportEmptyPages;
214 std::unique_ptr<weld::CheckButton> mxCbExportPlaceholders;
215 std::unique_ptr<weld::CheckButton> mxCbAddStream;
216 std::unique_ptr<weld::CheckButton> mxCbWatermark;
217 std::unique_ptr<weld::Label> mxFtWatermark;
218 std::unique_ptr<weld::Entry> mxEdWatermark;
219 std::unique_ptr<weld::Label> mxSlidesFt;
220 std::unique_ptr<weld::Label> mxSheetsFt;
221
222 DECL_LINK(ToggleAllHdl, weld::Toggleable&, void);
224 DECL_LINK(ToggleSelectionHdl, weld::Toggleable&, void);
225 DECL_LINK(ToggleCompressionHdl, weld::Toggleable&, void);
226 DECL_LINK(ToggleReduceImageResolutionHdl, weld::Toggleable&, void);
227 DECL_LINK(ToggleWatermarkHdl, weld::Toggleable&, void);
228 DECL_LINK(ToggleAddStreamHdl, weld::Toggleable&, void);
229 DECL_LINK(ToggleExportFormFieldsHdl, weld::Toggleable&, void);
230 DECL_LINK(ToggleExportNotesPagesHdl, weld::Toggleable&, void);
231
232 void TogglePagesHdl();
234
235 DECL_LINK(TogglePDFVersionOrUniversalAccessibilityHandle, weld::Toggleable&, void);
236
237 std::shared_ptr<weld::MessageDialog> mxPasswordUnusedWarnDialog;
238
239public:
240
242 virtual ~ImpPDFTabGeneralPage() override;
243
244 static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
245
246 void GetFilterConfigItem(ImpPDFTabDialog* paParent);
247 void SetFilterConfigItem(ImpPDFTabDialog* paParent);
248 bool IsPdfaSelected() const { return mxCbPDFA->get_active(); }
249 bool IsPdfUaSelected() const { return mxCbPDFUA->get_active(); }
250};
251
254{
256
258
259 std::unique_ptr<weld::RadioButton> mxRbOpnPageOnly;
260 std::unique_ptr<weld::RadioButton> mxRbOpnOutline;
261 std::unique_ptr<weld::RadioButton> mxRbOpnThumbs;
262 std::unique_ptr<weld::SpinButton> mxNumInitialPage;
263 std::unique_ptr<weld::RadioButton> mxRbMagnDefault;
264 std::unique_ptr<weld::RadioButton> mxRbMagnFitWin;
265 std::unique_ptr<weld::RadioButton> mxRbMagnFitWidth;
266 std::unique_ptr<weld::RadioButton> mxRbMagnFitVisible;
267 std::unique_ptr<weld::RadioButton> mxRbMagnZoom;
268 std::unique_ptr<weld::SpinButton> mxNumZoom;
269 std::unique_ptr<weld::RadioButton> mxRbPgLyDefault;
270 std::unique_ptr<weld::RadioButton> mxRbPgLySinglePage;
271 std::unique_ptr<weld::RadioButton> mxRbPgLyContinue;
272 std::unique_ptr<weld::RadioButton> mxRbPgLyContinueFacing;
273 std::unique_ptr<weld::CheckButton> mxCbPgLyFirstOnLeft;
274
276 DECL_LINK(ToggleRbMagnHdl, weld::Toggleable&, void);
277
279 void ToggleInitialView(ImpPDFTabDialog & rParent);
280
281public:
282 ImpPDFTabOpnFtrPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
283 virtual ~ImpPDFTabOpnFtrPage() override;
284
285 static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet );
286
287 void GetFilterConfigItem( ImpPDFTabDialog* paParent);
289};
290
293{
295
296 std::unique_ptr<weld::CheckButton> m_xCbResWinInit;
297 std::unique_ptr<weld::CheckButton> m_xCbCenterWindow;
298 std::unique_ptr<weld::CheckButton> m_xCbOpenFullScreen;
299 std::unique_ptr<weld::CheckButton> m_xCbDispDocTitle;
300 std::unique_ptr<weld::CheckButton> m_xCbHideViewerMenubar;
301 std::unique_ptr<weld::CheckButton> m_xCbHideViewerToolbar;
302 std::unique_ptr<weld::CheckButton> m_xCbHideViewerWindowControls;
303 std::unique_ptr<weld::CheckButton> m_xCbTransitionEffects;
304 std::unique_ptr<weld::RadioButton> m_xRbAllBookmarkLevels;
305 std::unique_ptr<weld::RadioButton> m_xRbVisibleBookmarkLevels;
306 std::unique_ptr<weld::SpinButton>m_xNumBookmarkLevels;
307
308 DECL_LINK(ToggleRbBookmarksHdl, weld::Toggleable&, void);
309
310public:
311 ImpPDFTabViewerPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
312 virtual ~ImpPDFTabViewerPage() override;
313
314 static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet );
315
316 void GetFilterConfigItem( ImpPDFTabDialog* paParent);
317 void SetFilterConfigItem( const ImpPDFTabDialog* paParent );
318};
319
322{
323 OUString msStrSetPwd;
327 css::uno::Sequence< css::beans::NamedValue > maPreparedOwnerPassword;
329
330 css::uno::Reference< css::beans::XMaterialHolder > mxPreparedPasswords;
331
332 std::unique_ptr<weld::Button> mxPbSetPwd;
333 std::unique_ptr<weld::Widget> mxUserPwdSet;
334 std::unique_ptr<weld::Widget> mxUserPwdUnset;
335 std::unique_ptr<weld::Widget> mxUserPwdPdfa;
336 std::unique_ptr<weld::Widget> mxOwnerPwdSet;
337 std::unique_ptr<weld::Widget> mxOwnerPwdUnset;
338 std::unique_ptr<weld::Widget> mxOwnerPwdPdfa;
339 std::unique_ptr<weld::Widget> mxPrintPermissions;
340 std::unique_ptr<weld::RadioButton> mxRbPrintNone;
341 std::unique_ptr<weld::RadioButton> mxRbPrintLowRes;
342 std::unique_ptr<weld::RadioButton> mxRbPrintHighRes;
343 std::unique_ptr<weld::Widget> mxChangesAllowed;
344 std::unique_ptr<weld::RadioButton> mxRbChangesNone;
345 std::unique_ptr<weld::RadioButton> mxRbChangesInsDel;
346 std::unique_ptr<weld::RadioButton> mxRbChangesFillForm;
347 std::unique_ptr<weld::RadioButton> mxRbChangesComment;
348 std::unique_ptr<weld::RadioButton> mxRbChangesAnyNoCopy;
349 std::unique_ptr<weld::Widget> mxContent;
350 std::unique_ptr<weld::CheckButton> mxCbEnableCopy;
351 std::unique_ptr<weld::CheckButton> mxCbEnableAccessibility;
352 std::unique_ptr<weld::Label> mxPasswordTitle;
353
354 std::shared_ptr< SfxPasswordDialog > mpPasswordDialog;
355 std::shared_ptr< weld::MessageDialog > mpUnsupportedMsgDialog;
356
357 DECL_LINK(ClickmaPbSetPwdHdl, weld::Button&, void);
358
360
361public:
363 virtual ~ImpPDFTabSecurityPage() override;
364
365 static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
366
367 void GetFilterConfigItem( ImpPDFTabDialog* paParent);
368 void SetFilterConfigItem( const ImpPDFTabDialog* paParent );
369 void ImplPDFASecurityControl( bool bEnableSecurity );
371};
372
375{
379
380 std::unique_ptr<weld::CheckButton> m_xCbExprtBmkrToNmDst;
381 std::unique_ptr<weld::CheckButton> m_xCbOOoToPDFTargets;
382 std::unique_ptr<weld::CheckButton> m_xCbExportRelativeFsysLinks;
383 std::unique_ptr<weld::RadioButton> m_xRbOpnLnksDefault;
384 std::unique_ptr<weld::RadioButton> m_xRbOpnLnksLaunch;
385 std::unique_ptr<weld::RadioButton> m_xRbOpnLnksBrowser;
386
387 DECL_LINK(ClickRbOpnLnksDefaultHdl, weld::Toggleable&, void);
388 DECL_LINK(ClickRbOpnLnksBrowserHdl, weld::Toggleable&, void);
389
390public:
391 ImpPDFTabLinksPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet);
392 virtual ~ImpPDFTabLinksPage() override;
393
394 static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet);
395
396 void GetFilterConfigItem( ImpPDFTabDialog* paParent);
397 void SetFilterConfigItem( const ImpPDFTabDialog* paParent );
398
399 void ImplPDFALinkControl( bool bEnableLaunch );
400};
401
402//class to implement the digital signing
404{
405 css::uno::Reference< css::security::XCertificate > maSignCertificate;
406
407 std::unique_ptr<weld::Entry> mxEdSignCert;
408 std::unique_ptr<weld::Button> mxPbSignCertSelect;
409 std::unique_ptr<weld::Button> mxPbSignCertClear;
410 std::unique_ptr<weld::Entry> mxEdSignPassword;
411 std::unique_ptr<weld::Entry> mxEdSignLocation;
412 std::unique_ptr<weld::Entry> mxEdSignContactInfo;
413 std::unique_ptr<weld::Entry> mxEdSignReason;
414 std::unique_ptr<weld::ComboBox> mxLBSignTSA;
415
416 DECL_LINK(ClickmaPbSignCertSelect, weld::Button&, void);
417 DECL_LINK(ClickmaPbSignCertClear, weld::Button&, void);
418
419public:
421 virtual ~ImpPDFTabSigningPage() override;
422
423 static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet );
424
425 void GetFilterConfigItem( ImpPDFTabDialog* paParent);
426 void SetFilterConfigItem( const ImpPDFTabDialog* paParent );
427};
428
429/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Class tabbed dialog.
Definition: impdialog.hxx:60
bool mbUseTransitionEffects
Definition: impdialog.hxx:92
Sequence< PropertyValue > GetFilterData()
Definition: impdialog.cxx:417
bool mbExportOnlyNotesPages
Definition: impdialog.hxx:91
bool mbExportBookmarksUserSelection
Definition: impdialog.hxx:100
sal_Int32 mnChangesAllowed
Definition: impdialog.hxx:126
bool mbUseTaggedPDFUserSelection
Definition: impdialog.hxx:82
bool mbExportFormFields
Definition: impdialog.hxx:97
sal_Int32 mnMagnification
Definition: impdialog.hxx:112
OUString msSignContact
Definition: impdialog.hxx:143
sal_Int32 mnInitialPage
Definition: impdialog.hxx:116
bool mbOpenInFullScreenMode
Definition: impdialog.hxx:110
bool mbDisplayPDFDocumentTitle
Definition: impdialog.hxx:111
sal_Int32 mnInitialView
Definition: impdialog.hxx:113
bool mbSelectionIsChecked
Definition: impdialog.hxx:133
bool mbIsPresentation
Definition: impdialog.hxx:72
bool mbConvertOOoTargets
Definition: impdialog.hxx:137
OUString msSignTSA
Definition: impdialog.hxx:146
bool mbReduceImageResolution
Definition: impdialog.hxx:79
bool mbIsSpreadsheet
Definition: impdialog.hxx:73
sal_Int32 mnPageLayout
Definition: impdialog.hxx:118
bool mbExportBmkToPDFDestination
Definition: impdialog.hxx:138
OUString msSignReason
Definition: impdialog.hxx:144
bool mbHideViewerWindowControls
Definition: impdialog.hxx:107
sal_Int32 mnViewPDFMode
Definition: impdialog.hxx:136
sal_Int32 mnMaxImageResolution
Definition: impdialog.hxx:80
bool mbResizeWinToInit
Definition: impdialog.hxx:108
ImpPDFTabSecurityPage * getSecurityPage() const
Definition: impdialog.cxx:284
css::uno::Sequence< css::beans::NamedValue > maPreparedOwnerPassword
Definition: impdialog.hxx:124
sal_Int32 mnPDFTypeSelection
Definition: impdialog.hxx:83
DECL_LINK(OkHdl, weld::Button &, void)
sal_Int32 mnPrint
Definition: impdialog.hxx:125
bool mbRestrictPermissions
Definition: impdialog.hxx:123
bool mbCanExtractForAccessibility
Definition: impdialog.hxx:128
sal_Int32 mnOpenBookmarkLevels
Definition: impdialog.hxx:103
bool mbSinglePageSheets
Definition: impdialog.hxx:102
virtual ~ImpPDFTabDialog() override
Definition: impdialog.cxx:384
bool mbExportNotesPages
Definition: impdialog.hxx:90
bool mbCanCopyOrExtract
Definition: impdialog.hxx:127
ImpPDFTabGeneralPage * getGeneralPage() const
Definition: impdialog.cxx:315
bool mbExportNotesInMargin
Definition: impdialog.hxx:86
OUString msSignPassword
Definition: impdialog.hxx:141
sal_Int32 mnFormsType
Definition: impdialog.hxx:96
sal_Int32 mnInitialViewUserSelection
Definition: impdialog.hxx:114
DECL_LINK(CancelHdl, weld::Button &, void)
ImpPDFTabOpnFtrPage * getOpenPage() const
Definition: impdialog.cxx:294
virtual void PageCreated(const OUString &rId, SfxTabPage &rPage) override
Definition: impdialog.cxx:390
bool mbExportHiddenSlides
Definition: impdialog.hxx:101
bool mbSelectionPresent
Definition: impdialog.hxx:75
ImpPDFTabLinksPage * getLinksPage() const
Definition: impdialog.cxx:304
bool mbIsExportPlaceholders
Definition: impdialog.hxx:94
ImpPDFTabDialog(weld::Window *pParent, const Sequence< PropertyValue > &rFilterData, const css::uno::Reference< XComponent > &rDoc)
Tabbed PDF dialog implementation Please note: the default used here are the same as per specification...
Definition: impdialog.cxx:54
bool mbAllowDuplicateFieldNames
Definition: impdialog.hxx:98
css::uno::Reference< css::beans::XMaterialHolder > mxPreparedPasswords
Definition: impdialog.hxx:129
bool mbIsSkipEmptyPages
Definition: impdialog.hxx:93
sal_Int32 mnQuality
Definition: impdialog.hxx:78
FilterConfigItem maConfigItem
Definition: impdialog.hxx:63
css::uno::Reference< css::security::XCertificate > maSignCertificate
Definition: impdialog.hxx:145
bool mbUseLosslessCompression
Definition: impdialog.hxx:77
css::uno::Reference< css::lang::XComponent > mrDoc
Definition: impdialog.hxx:61
bool mbPDFUACompliance
Definition: impdialog.hxx:84
OUString msSignLocation
Definition: impdialog.hxx:142
OUString maWatermarkText
Definition: impdialog.hxx:148
bool mbHideViewerToolbar
Definition: impdialog.hxx:105
bool mbExportRelativeFsysLinks
Definition: impdialog.hxx:135
bool mbUseReferenceXObject
Definition: impdialog.hxx:88
OUString msPageRange
Definition: impdialog.hxx:132
bool mbHideViewerMenubar
Definition: impdialog.hxx:106
sal_Int32 mnZoom
Definition: impdialog.hxx:115
bool mbExportBookmarks
Definition: impdialog.hxx:99
bool mbUseReferenceXObjectUserSelection
Definition: impdialog.hxx:89
FilterConfigItem maConfigI18N
Definition: impdialog.hxx:64
Class tab page general.
Definition: impdialog.hxx:177
bool IsPdfaSelected() const
Definition: impdialog.hxx:248
std::unique_ptr< weld::CheckButton > mxCbExportNotesPages
Definition: impdialog.hxx:211
std::unique_ptr< weld::CheckButton > mxCbSinglePageSheets
Definition: impdialog.hxx:206
std::unique_ptr< weld::CheckButton > mxCbAddStream
Definition: impdialog.hxx:215
DECL_LINK(ToggleExportFormFieldsHdl, weld::Toggleable &, void)
DECL_LINK(ToggleCompressionHdl, weld::Toggleable &, void)
DECL_LINK(ToggleWatermarkHdl, weld::Toggleable &, void)
std::unique_ptr< weld::ComboBox > mxLbFormsFormat
Definition: impdialog.hxx:202
std::unique_ptr< weld::RadioButton > mxRbLosslessCompression
Definition: impdialog.hxx:190
std::shared_ptr< weld::MessageDialog > mxPasswordUnusedWarnDialog
Definition: impdialog.hxx:237
std::unique_ptr< weld::CheckButton > mxCbExportOnlyNotesPages
Definition: impdialog.hxx:212
ImpPDFTabDialog * mpParent
Definition: impdialog.hxx:184
std::unique_ptr< weld::Label > mxSheetsFt
Definition: impdialog.hxx:220
DECL_LINK(TogglePagesHdl, weld::Toggleable &, void)
std::unique_ptr< weld::CheckButton > mxCbExportNotesInMargin
Definition: impdialog.hxx:208
bool IsPdfUaSelected() const
Definition: impdialog.hxx:249
std::unique_ptr< weld::CheckButton > mxCbExportBookmarks
Definition: impdialog.hxx:204
DECL_LINK(ToggleExportNotesPagesHdl, weld::Toggleable &, void)
std::unique_ptr< weld::ComboBox > mxRbPDFAVersion
Definition: impdialog.hxx:198
std::unique_ptr< weld::CheckButton > mxCbPDFA
Definition: impdialog.hxx:196
std::unique_ptr< weld::CheckButton > mxCbUseReferenceXObject
Definition: impdialog.hxx:210
DECL_LINK(TogglePDFVersionOrUniversalAccessibilityHandle, weld::Toggleable &, void)
std::unique_ptr< weld::RadioButton > mxRbSelection
Definition: impdialog.hxx:188
ImpPDFTabGeneralPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: impdialog.cxx:527
DECL_LINK(ToggleReduceImageResolutionHdl, weld::Toggleable &, void)
DECL_LINK(ToggleAddStreamHdl, weld::Toggleable &, void)
std::unique_ptr< weld::CheckButton > mxCbTaggedPDF
Definition: impdialog.hxx:199
std::unique_ptr< weld::CheckButton > mxCbViewPDF
Definition: impdialog.hxx:209
std::unique_ptr< weld::CheckButton > mxCbReduceImageResolution
Definition: impdialog.hxx:194
std::unique_ptr< weld::CheckButton > mxCbExportHiddenSlides
Definition: impdialog.hxx:205
std::unique_ptr< weld::ComboBox > mxCoReduceImageResolution
Definition: impdialog.hxx:195
DECL_LINK(ToggleAllHdl, weld::Toggleable &, void)
std::unique_ptr< weld::Entry > mxEdPages
Definition: impdialog.hxx:189
std::unique_ptr< weld::CheckButton > mxCbExportFormFields
Definition: impdialog.hxx:200
bool mbUseTaggedPDFUserSelection
Definition: impdialog.hxx:180
virtual ~ImpPDFTabGeneralPage() override
Definition: impdialog.cxx:572
void EnableExportNotesPages()
Definition: impdialog.cxx:839
std::unique_ptr< weld::Entry > mxEdWatermark
Definition: impdialog.hxx:218
std::unique_ptr< weld::Widget > mxQualityFrame
Definition: impdialog.hxx:192
std::unique_ptr< weld::CheckButton > mxCbExportNotes
Definition: impdialog.hxx:207
std::unique_ptr< weld::Label > mxFtWatermark
Definition: impdialog.hxx:217
DECL_LINK(ToggleSelectionHdl, weld::Toggleable &, void)
std::unique_ptr< weld::CheckButton > mxCbExportEmptyPages
Definition: impdialog.hxx:213
void SetFilterConfigItem(ImpPDFTabDialog *paParent)
Definition: impdialog.cxx:578
std::unique_ptr< weld::Label > mxSlidesFt
Definition: impdialog.hxx:219
std::unique_ptr< weld::CheckButton > mxCbWatermark
Definition: impdialog.hxx:216
std::unique_ptr< weld::RadioButton > mxRbJPEGCompression
Definition: impdialog.hxx:191
std::unique_ptr< weld::CheckButton > mxCbExportPlaceholders
Definition: impdialog.hxx:214
std::unique_ptr< weld::CheckButton > mxCbAllowDuplicateFieldNames
Definition: impdialog.hxx:203
std::unique_ptr< weld::MetricSpinButton > mxNfQuality
Definition: impdialog.hxx:193
std::unique_ptr< weld::RadioButton > mxRbAll
Definition: impdialog.hxx:186
std::unique_ptr< weld::Widget > mxFormsFrame
Definition: impdialog.hxx:201
void GetFilterConfigItem(ImpPDFTabDialog *paParent)
Definition: impdialog.cxx:731
std::unique_ptr< weld::RadioButton > mxRbRange
Definition: impdialog.hxx:187
std::unique_ptr< weld::CheckButton > mxCbPDFUA
Definition: impdialog.hxx:197
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: impdialog.cxx:810
Implements the relative link stuff.
Definition: impdialog.hxx:375
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: impdialog.cxx:1524
DECL_LINK(ClickRbOpnLnksBrowserHdl, weld::Toggleable &, void)
std::unique_ptr< weld::RadioButton > m_xRbOpnLnksLaunch
Definition: impdialog.hxx:384
void ImplPDFALinkControl(bool bEnableLaunch)
Called from general tab, with PDFA/1 selection status.
Definition: impdialog.cxx:1596
bool mbOpnLnksBrowserUserState
Definition: impdialog.hxx:378
std::unique_ptr< weld::CheckButton > m_xCbExportRelativeFsysLinks
Definition: impdialog.hxx:382
ImpPDFTabLinksPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
The link preferences tab page (relative and other stuff)
Definition: impdialog.cxx:1506
bool mbOpnLnksDefaultUserState
Definition: impdialog.hxx:376
DECL_LINK(ClickRbOpnLnksDefaultHdl, weld::Toggleable &, void)
virtual ~ImpPDFTabLinksPage() override
Definition: impdialog.cxx:1520
void SetFilterConfigItem(const ImpPDFTabDialog *paParent)
Definition: impdialog.cxx:1557
bool mbOpnLnksLaunchUserState
Definition: impdialog.hxx:377
std::unique_ptr< weld::CheckButton > m_xCbExprtBmkrToNmDst
Definition: impdialog.hxx:380
std::unique_ptr< weld::RadioButton > m_xRbOpnLnksBrowser
Definition: impdialog.hxx:385
void GetFilterConfigItem(ImpPDFTabDialog *paParent)
Definition: impdialog.cxx:1529
std::unique_ptr< weld::CheckButton > m_xCbOOoToPDFTargets
Definition: impdialog.hxx:381
std::unique_ptr< weld::RadioButton > m_xRbOpnLnksDefault
Definition: impdialog.hxx:383
Class tab page viewer.
Definition: impdialog.hxx:254
ImpPDFTabOpnFtrPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
The option features tab page.
Definition: impdialog.cxx:972
void ToggleInitialView(ImpPDFTabDialog &rParent)
Definition: impdialog.cxx:1121
std::unique_ptr< weld::RadioButton > mxRbOpnOutline
Definition: impdialog.hxx:260
std::unique_ptr< weld::RadioButton > mxRbMagnFitVisible
Definition: impdialog.hxx:266
void ToggleRbPgLyContinueFacingHdl()
Definition: impdialog.cxx:1168
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: impdialog.cxx:1002
DECL_LINK(ToggleRbMagnHdl, weld::Toggleable &, void)
std::unique_ptr< weld::RadioButton > mxRbMagnZoom
Definition: impdialog.hxx:267
std::unique_ptr< weld::RadioButton > mxRbMagnDefault
Definition: impdialog.hxx:263
std::unique_ptr< weld::RadioButton > mxRbMagnFitWidth
Definition: impdialog.hxx:265
std::unique_ptr< weld::SpinButton > mxNumInitialPage
Definition: impdialog.hxx:262
void SetFilterConfigItem(ImpPDFTabDialog *pParent)
Definition: impdialog.cxx:1045
DECL_LINK(ToggleRbPgLyContinueFacingHdl, weld::Toggleable &, void)
std::unique_ptr< weld::RadioButton > mxRbPgLyContinue
Definition: impdialog.hxx:271
std::unique_ptr< weld::RadioButton > mxRbPgLyContinueFacing
Definition: impdialog.hxx:272
void GetFilterConfigItem(ImpPDFTabDialog *paParent)
Definition: impdialog.cxx:1007
std::unique_ptr< weld::CheckButton > mxCbPgLyFirstOnLeft
Definition: impdialog.hxx:273
std::unique_ptr< weld::RadioButton > mxRbOpnPageOnly
Definition: impdialog.hxx:259
std::unique_ptr< weld::RadioButton > mxRbMagnFitWin
Definition: impdialog.hxx:264
std::unique_ptr< weld::RadioButton > mxRbPgLySinglePage
Definition: impdialog.hxx:270
std::unique_ptr< weld::SpinButton > mxNumZoom
Definition: impdialog.hxx:268
std::unique_ptr< weld::RadioButton > mxRbOpnThumbs
Definition: impdialog.hxx:261
std::unique_ptr< weld::RadioButton > mxRbPgLyDefault
Definition: impdialog.hxx:269
virtual ~ImpPDFTabOpnFtrPage() override
Definition: impdialog.cxx:998
Class security tab page.
Definition: impdialog.hxx:322
css::uno::Reference< css::beans::XMaterialHolder > mxPreparedPasswords
Definition: impdialog.hxx:330
std::unique_ptr< weld::RadioButton > mxRbChangesAnyNoCopy
Definition: impdialog.hxx:348
std::unique_ptr< weld::Widget > mxContent
Definition: impdialog.hxx:349
std::unique_ptr< weld::Widget > mxOwnerPwdUnset
Definition: impdialog.hxx:337
css::uno::Sequence< css::beans::NamedValue > maPreparedOwnerPassword
Definition: impdialog.hxx:327
std::unique_ptr< weld::Widget > mxUserPwdPdfa
Definition: impdialog.hxx:335
std::unique_ptr< weld::Label > mxPasswordTitle
Definition: impdialog.hxx:352
std::unique_ptr< weld::CheckButton > mxCbEnableCopy
Definition: impdialog.hxx:350
ImpPDFTabSecurityPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
The Security preferences tab page.
Definition: impdialog.cxx:1254
std::unique_ptr< weld::Widget > mxOwnerPwdSet
Definition: impdialog.hxx:336
std::shared_ptr< SfxPasswordDialog > mpPasswordDialog
Definition: impdialog.hxx:354
std::unique_ptr< weld::RadioButton > mxRbChangesNone
Definition: impdialog.hxx:344
void SetFilterConfigItem(const ImpPDFTabDialog *paParent)
Definition: impdialog.cxx:1332
void GetFilterConfigItem(ImpPDFTabDialog *paParent)
Definition: impdialog.cxx:1299
std::unique_ptr< weld::RadioButton > mxRbChangesComment
Definition: impdialog.hxx:347
std::unique_ptr< weld::RadioButton > mxRbPrintHighRes
Definition: impdialog.hxx:342
std::unique_ptr< weld::Widget > mxChangesAllowed
Definition: impdialog.hxx:343
std::unique_ptr< weld::Widget > mxUserPwdUnset
Definition: impdialog.hxx:334
std::unique_ptr< weld::Button > mxPbSetPwd
Definition: impdialog.hxx:332
std::unique_ptr< weld::Widget > mxPrintPermissions
Definition: impdialog.hxx:339
void ImplPDFASecurityControl(bool bEnableSecurity)
Definition: impdialog.cxx:1498
std::unique_ptr< weld::CheckButton > mxCbEnableAccessibility
Definition: impdialog.hxx:351
DECL_LINK(ClickmaPbSetPwdHdl, weld::Button &, void)
std::unique_ptr< weld::Widget > mxOwnerPwdPdfa
Definition: impdialog.hxx:338
bool hasPassword() const
Definition: impdialog.hxx:370
virtual ~ImpPDFTabSecurityPage() override
Definition: impdialog.cxx:1286
std::unique_ptr< weld::RadioButton > mxRbChangesInsDel
Definition: impdialog.hxx:345
std::unique_ptr< weld::RadioButton > mxRbPrintNone
Definition: impdialog.hxx:340
std::unique_ptr< weld::RadioButton > mxRbPrintLowRes
Definition: impdialog.hxx:341
std::shared_ptr< weld::MessageDialog > mpUnsupportedMsgDialog
Definition: impdialog.hxx:355
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: impdialog.cxx:1294
std::unique_ptr< weld::Widget > mxUserPwdSet
Definition: impdialog.hxx:333
std::unique_ptr< weld::RadioButton > mxRbChangesFillForm
Definition: impdialog.hxx:346
std::unique_ptr< weld::ComboBox > mxLBSignTSA
Definition: impdialog.hxx:414
DECL_LINK(ClickmaPbSignCertSelect, weld::Button &, void)
DECL_LINK(ClickmaPbSignCertClear, weld::Button &, void)
std::unique_ptr< weld::Entry > mxEdSignLocation
Definition: impdialog.hxx:411
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: impdialog.cxx:1762
void GetFilterConfigItem(ImpPDFTabDialog *paParent)
Definition: impdialog.cxx:1768
void SetFilterConfigItem(const ImpPDFTabDialog *paParent)
Definition: impdialog.cxx:1781
std::unique_ptr< weld::Button > mxPbSignCertSelect
Definition: impdialog.hxx:408
std::unique_ptr< weld::Entry > mxEdSignPassword
Definition: impdialog.hxx:410
css::uno::Reference< css::security::XCertificate > maSignCertificate
Definition: impdialog.hxx:405
std::unique_ptr< weld::Entry > mxEdSignCert
Definition: impdialog.hxx:407
std::unique_ptr< weld::Button > mxPbSignCertClear
Definition: impdialog.hxx:409
ImpPDFTabSigningPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
The digital signatures tab page.
Definition: impdialog.cxx:1685
std::unique_ptr< weld::Entry > mxEdSignReason
Definition: impdialog.hxx:413
std::unique_ptr< weld::Entry > mxEdSignContactInfo
Definition: impdialog.hxx:412
virtual ~ImpPDFTabSigningPage() override
Definition: impdialog.cxx:1701
Class tab page viewer.
Definition: impdialog.hxx:293
virtual ~ImpPDFTabViewerPage() override
Definition: impdialog.cxx:1198
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: impdialog.cxx:1207
std::unique_ptr< weld::CheckButton > m_xCbDispDocTitle
Definition: impdialog.hxx:299
std::unique_ptr< weld::CheckButton > m_xCbHideViewerToolbar
Definition: impdialog.hxx:301
std::unique_ptr< weld::SpinButton > m_xNumBookmarkLevels
Definition: impdialog.hxx:306
std::unique_ptr< weld::CheckButton > m_xCbHideViewerWindowControls
Definition: impdialog.hxx:302
void GetFilterConfigItem(ImpPDFTabDialog *paParent)
Definition: impdialog.cxx:1213
std::unique_ptr< weld::CheckButton > m_xCbHideViewerMenubar
Definition: impdialog.hxx:300
std::unique_ptr< weld::CheckButton > m_xCbResWinInit
Definition: impdialog.hxx:296
std::unique_ptr< weld::RadioButton > m_xRbVisibleBookmarkLevels
Definition: impdialog.hxx:305
std::unique_ptr< weld::CheckButton > m_xCbCenterWindow
Definition: impdialog.hxx:297
DECL_LINK(ToggleRbBookmarksHdl, weld::Toggleable &, void)
std::unique_ptr< weld::CheckButton > m_xCbTransitionEffects
Definition: impdialog.hxx:303
std::unique_ptr< weld::RadioButton > m_xRbAllBookmarkLevels
Definition: impdialog.hxx:304
ImpPDFTabViewerPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
The Viewer preferences tab page.
Definition: impdialog.cxx:1179
void SetFilterConfigItem(const ImpPDFTabDialog *paParent)
Definition: impdialog.cxx:1227
std::unique_ptr< weld::CheckButton > m_xCbOpenFullScreen
Definition: impdialog.hxx:298
std::unique_ptr< weld::Label > m_xExplanation
Definition: impdialog.hxx:45
std::unique_ptr< weld::TreeView > m_xErrors
Definition: impdialog.hxx:44
ImplErrorDialog(weld::Window *pParent, const std::set< vcl::PDFWriter::ErrorCode > &rErrorCodes)
Definition: impdialog.cxx:1635
DECL_LINK(SelectHdl, weld::TreeView &, void)