LibreOffice Module sfx2 (master) 1
dinfdlg.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#ifndef INCLUDED_SFX2_DINFDLG_HXX
20#define INCLUDED_SFX2_DINFDLG_HXX
21
22#include <config_options.h>
23#include <sal/config.h>
24#include <sfx2/dllapi.h>
25
26#include <com/sun/star/beans/PropertyValue.hpp>
27#include <com/sun/star/util/DateTime.hpp>
28#include <com/sun/star/util/Duration.hpp>
29#include <com/sun/star/document/CmisProperty.hpp>
30
31#include <svl/numformat.hxx>
32#include <svl/stritem.hxx>
33#include <svtools/ctrlbox.hxx>
34
35#include <vcl/idle.hxx>
36#include <vcl/weldutils.hxx>
37
38#include <sfx2/tabdlg.hxx>
39
40#include <optional>
41#include <memory>
42#include <vcl/abstdlg.hxx>
43
44namespace com::sun::star::beans { struct PropertyValue; }
45
46namespace com::sun::star {
47 namespace document {
48 class XDocumentProperties;
49 }
50}
51
52struct CustomProperty;
53class SvtCalendarBox;
54
55// class SfxDocumentInfoItem ---------------------------------------------
56
57class UNLESS_MERGELIBS(SFX2_DLLPUBLIC) SfxDocumentInfoItem final : public SfxStringItem
58{
59private:
60 sal_Int32 m_AutoloadDelay;
61 OUString m_AutoloadURL;
62 bool m_isAutoloadEnabled;
63 OUString m_DefaultTarget;
64 OUString m_TemplateName;
65 OUString m_Author;
66 css::util::DateTime m_CreationDate;
67 OUString m_ModifiedBy;
68 css::util::DateTime m_ModificationDate;
69 OUString m_PrintedBy;
70 css::util::DateTime m_PrintDate;
71 sal_Int16 m_EditingCycles;
72 sal_Int32 m_EditingDuration;
73 OUString m_Description;
74 OUString m_Keywords;
75 OUString m_Subject;
76 OUString m_Title;
77 bool m_bHasTemplate;
78 bool m_bDeleteUserData;
79 bool m_bUseUserData;
80 bool m_bUseThumbnailSave;
81 std::vector< std::unique_ptr<CustomProperty> > m_aCustomProperties;
82 css::uno::Sequence< css::document::CmisProperty > m_aCmisProperties;
83
84public:
85 static SfxPoolItem* CreateDefault();
86 SfxDocumentInfoItem();
87 SfxDocumentInfoItem( const OUString &rFileName,
88 const css::uno::Reference< css::document::XDocumentProperties> & i_xDocProps,
89 const css::uno::Sequence< css::document::CmisProperty> & i_cmisProps,
90 bool bUseUserData, bool bUseThumbnailSave );
91 SfxDocumentInfoItem( const SfxDocumentInfoItem& );
92 virtual ~SfxDocumentInfoItem() override;
93
95 void UpdateDocumentInfo(
96 const css::uno::Reference< css::document::XDocumentProperties> & i_xDocProps,
97 bool i_bDoNotUpdateUserDefined = false)
98 const;
99 bool isCmisDocument() const { return m_aCmisProperties.hasElements();}
100
101 bool isAutoloadEnabled() const { return m_isAutoloadEnabled; }
102 sal_Int32 getAutoloadDelay() const { return m_AutoloadDelay; }
103 const OUString& getAutoloadURL() const { return m_AutoloadURL; }
104 const OUString& getDefaultTarget() const { return m_DefaultTarget; }
105 const OUString& getTemplateName() const { return m_TemplateName; }
106 const OUString& getAuthor() const { return m_Author; }
107
108 const css::util::DateTime&
109 getCreationDate() const { return m_CreationDate; }
110 const OUString& getModifiedBy() const { return m_ModifiedBy; }
111
112 const css::util::DateTime&
113 getModificationDate() const { return m_ModificationDate; }
114 const OUString& getPrintedBy() const { return m_PrintedBy; }
115 const css::util::DateTime&
116 getPrintDate() const { return m_PrintDate; }
117 sal_Int16 getEditingCycles() const { return m_EditingCycles; }
118 sal_Int32 getEditingDuration() const { return m_EditingDuration; }
119 const OUString& getDescription() const { return m_Description; }
120 void setDescription(const OUString& i_val) { m_Description = i_val; }
121 const OUString& getKeywords() const { return m_Keywords; }
122 void setKeywords(const OUString& i_val) { m_Keywords = i_val; }
123 const OUString& getSubject() const { return m_Subject; }
124 void setSubject(const OUString& i_val) { m_Subject = i_val; }
125 const OUString& getTitle() const { return m_Title; }
126 void setTitle(const OUString& i_val) { m_Title = i_val; }
127
129 void resetUserData(const OUString & i_rAuthor);
130
131 void SetTemplate( bool b ) { m_bHasTemplate = b; }
132 bool HasTemplate() const { return m_bHasTemplate; }
133 void SetDeleteUserData( bool bSet );
134 void SetUseUserData( bool bSet );
135 void SetUseThumbnailSave( bool bSet );
136 bool IsUseUserData() const { return m_bUseUserData;}
137 bool IsUseThumbnailSave() const { return m_bUseThumbnailSave;}
138
139
140 std::vector< std::unique_ptr<CustomProperty> > GetCustomProperties() const;
141 void ClearCustomProperties();
142 void AddCustomProperty( const OUString& sName,
143 const css::uno::Any& rValue );
144
145 const css::uno::Sequence< css::document::CmisProperty >&
146 GetCmisProperties() const { return m_aCmisProperties;}
147
148 void SetCmisProperties(const css::uno::Sequence< css::document::CmisProperty >& cmisProps );
149 virtual SfxDocumentInfoItem* Clone( SfxItemPool* pPool = nullptr ) const override;
150 virtual bool operator==( const SfxPoolItem& ) const override;
151 virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;
152 virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override;
153};
154
155// class SfxDocumentPage -------------------------------------------------
156
157class SfxDocumentPage final : public SfxTabPage
158{
159private:
162
165
166 std::unique_ptr<weld::Image> m_xBmp;
167 std::unique_ptr<weld::Label> m_xNameED;
168 std::unique_ptr<weld::Button> m_xChangePassBtn;
169
170 std::unique_ptr<weld::Label> m_xShowTypeFT;
171 std::unique_ptr<weld::LinkButton> m_xFileValEd;
172 std::unique_ptr<weld::Label> m_xShowSizeFT;
173
174 std::unique_ptr<weld::Label> m_xCreateValFt;
175 std::unique_ptr<weld::Label> m_xChangeValFt;
176 std::unique_ptr<weld::Label> m_xSignedValFt;
177 std::unique_ptr<weld::Button> m_xSignatureBtn;
178 std::unique_ptr<weld::Label> m_xPrintValFt;
179 std::unique_ptr<weld::Label> m_xTimeLogValFt;
180 std::unique_ptr<weld::Label> m_xDocNoValFt;
181
182 std::unique_ptr<weld::CheckButton> m_xUseUserDataCB;
183 std::unique_ptr<weld::Button> m_xDeleteBtn;
184 std::unique_ptr<weld::CheckButton> m_xUseThumbnailSaveCB;
185
186 std::unique_ptr<weld::Label> m_xTemplFt;
187 std::unique_ptr<weld::Label> m_xTemplValFt;
188 std::unique_ptr<weld::CheckButton> m_xImagePreferredDpiCheckButton;
189 std::unique_ptr<weld::ComboBox> m_xImagePreferredDpiComboBox;
190
191 DECL_LINK(DeleteHdl, weld::Button&, void);
192 DECL_LINK(SignatureHdl, weld::Button&, void);
193 DECL_LINK(ChangePassHdl, weld::Button&, void);
194 DECL_LINK(ImagePreferredDPICheckBoxClicked, weld::Toggleable&, void);
195
196 void ImplUpdateSignatures();
197 void ImplCheckPasswordState();
198
199 virtual bool FillItemSet( SfxItemSet* ) override;
200 virtual void Reset( const SfxItemSet* ) override;
202
203public:
205 static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* );
206 virtual ~SfxDocumentPage() override;
207
208 void EnableUseUserData();
209};
210
211// class SfxDocumentDescPage ---------------------------------------------
212
213class SfxDocumentDescPage final : public SfxTabPage
214{
215private:
216 SfxDocumentInfoItem* m_pInfoItem;
217 std::unique_ptr<weld::Entry> m_xTitleEd;
218 std::unique_ptr<weld::Entry> m_xThemaEd;
219 std::unique_ptr<weld::Entry> m_xKeywordsEd;
220 std::unique_ptr<weld::TextView> m_xCommentEd;
221
222 virtual bool FillItemSet( SfxItemSet* ) override;
223 virtual void Reset( const SfxItemSet* ) override;
224
225public:
227 virtual ~SfxDocumentDescPage() override;
228 static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* );
229};
230
231// class SfxDocumentInfoDialog -------------------------------------------
232
234{
235 virtual void PageCreated(const OUString& rId, SfxTabPage& rPage) override;
236
237public:
239 void AddFontTabPage();
240};
241
242// class CustomPropertiesRemoveButton ------------------------------------
243struct CustomPropertyLine;
244
246{
247private:
248 std::unique_ptr<SvtCalendarBox> m_xDateField;
249public:
250 ::std::optional<sal_Int16> m_TZ;
251
253 void set_visible(bool bVisible);
254 Date get_date() const;
255 void set_date(const Date& rDate);
257};
258
259namespace weld
260{
261 class TimeFormatter;
262}
263
265{
266public:
267 std::unique_ptr<weld::FormattedSpinButton> m_xTimeField;
268 std::unique_ptr<weld::TimeFormatter> m_xFormatter;
270
271 CustomPropertiesTimeField(std::unique_ptr<weld::FormattedSpinButton> xTimeField);
272 void set_visible(bool bVisible) { m_xTimeField->set_visible(bVisible); }
273 tools::Time get_value() const;
274 void set_value(const tools::Time& rTime);
275
277};
278
280{
281 std::unique_ptr<weld::CheckButton> m_xNegativeCB;
282 std::unique_ptr<weld::SpinButton> m_xYearNF;
283 std::unique_ptr<weld::SpinButton> m_xMonthNF;
284 std::unique_ptr<weld::SpinButton> m_xDayNF;
285 std::unique_ptr<weld::SpinButton> m_xHourNF;
286 std::unique_ptr<weld::SpinButton> m_xMinuteNF;
287 std::unique_ptr<weld::SpinButton> m_xSecondNF;
288 std::unique_ptr<weld::SpinButton> m_xMSecondNF;
289
290public:
291 DurationDialog_Impl(weld::Widget* pParent, const css::util::Duration& rDuration);
292 css::util::Duration GetDuration() const;
293};
294
296{
297 css::util::Duration m_aDuration;
298 std::unique_ptr<weld::Entry> m_xEntry;
299 std::unique_ptr<weld::Button> m_xEditButton;
300 std::shared_ptr<DurationDialog_Impl> m_xDurationDialog;
301
302 DECL_LINK(ClickHdl, weld::Button&, void);
303public:
304 CustomPropertiesDurationField(std::unique_ptr<weld::Entry> xEntry,
305 std::unique_ptr<weld::Button> xEditButton);
306
307 void SetDuration( const css::util::Duration& rDuration );
308 const css::util::Duration& GetDuration() const { return m_aDuration; }
309
310 void set_visible(bool bVisible);
311
313};
314
316{
317private:
318 std::unique_ptr<weld::Widget> m_xTopLevel;
319 std::unique_ptr<weld::RadioButton> m_xYesButton;
320 std::unique_ptr<weld::RadioButton> m_xNoButton;
321
322public:
323 CustomPropertiesYesNoButton(std::unique_ptr<weld::Widget>,
324 std::unique_ptr<weld::RadioButton> xYesButton,
325 std::unique_ptr<weld::RadioButton> xNoButton);
327
328 void CheckYes() { m_xYesButton->set_active(true); }
329 void CheckNo() { m_xNoButton->set_active(true); }
330 bool IsYesChecked() const { return m_xYesButton->get_active(); }
331 void set_visible(bool bVisible) { m_xTopLevel->set_visible(bVisible); }
332};
333
335
336// struct CustomPropertyLine ---------------------------------------------
338{
340
341 std::unique_ptr<weld::Builder> m_xBuilder;
342 std::unique_ptr<weld::Container> m_xLine;
343 std::unique_ptr<weld::ComboBox> m_xNameBox;
344 std::unique_ptr<weld::ComboBox> m_xTypeBox;
345 std::unique_ptr<weld::Entry> m_xValueEdit;
346 std::unique_ptr<weld::Widget> m_xDateTimeBox;
347 std::unique_ptr<CustomPropertiesDateField> m_xDateField;
348 std::unique_ptr<CustomPropertiesTimeField> m_xTimeField;
349 std::unique_ptr<weld::Widget> m_xDurationBox;
350 std::unique_ptr<CustomPropertiesDurationField> m_xDurationField;
351 std::unique_ptr<CustomPropertiesYesNoButton> m_xYesNoButton;
352 std::unique_ptr<weld::Button> m_xRemoveButton;
353
355
357 DECL_LINK(TypeHdl, weld::ComboBox&, void);
358 DECL_LINK(RemoveHdl, weld::Button&, void);
359 DECL_LINK(EditLoseFocusHdl, weld::Widget&, void);
360 DECL_LINK(BoxLoseFocusHdl, weld::Widget&, void);
361
362 void DoTypeHdl(const weld::ComboBox& rBox);
363
364 void Clear();
365 void Hide();
366};
367
368// class CustomPropertiesWindow ------------------------------------------
369
371{
372private:
373 sal_Int32 m_nHeight;
374 sal_Int32 m_nLineHeight;
375 sal_Int32 m_nScrollPos;
376 std::vector<std::unique_ptr<CustomProperty>> m_aCustomProperties;
377 std::vector<std::unique_ptr<CustomPropertyLine>> m_aCustomPropertiesLines;
383
388
389 DECL_LINK(EditTimeoutHdl, Timer *, void);
390 DECL_LINK(BoxTimeoutHdl, Timer *, void);
391
392 bool IsLineValid( CustomPropertyLine* pLine ) const;
393 void ValidateLine( CustomPropertyLine* pLine, bool bIsFromTypeBox );
394 void CreateNewLine();
395 void StoreCustomProperties();
396 sal_uInt32 GetCurrentDataModelPosition() const { return -1 * m_nScrollPos / m_nLineHeight; }
397
398public:
399 CustomPropertiesWindow(weld::Container& rParent, weld::Label& rHeaderAccName,
400 weld::Label& rHeaderAccType, weld::Label& rHeaderAccValue);
402
403 sal_uInt16 GetExistingLineCount() const { return m_aCustomPropertiesLines.size(); }
404 sal_uInt16 GetTotalLineCount() const { return m_aCustomProperties.size(); }
405 void SetVisibleLineCount(sal_uInt32 nCount);
406 sal_Int32 GetHeight() const { return m_nHeight; }
407 void SetHeight(int nHeight) { m_nHeight = nHeight; }
408 sal_Int32 GetLineHeight() const { return m_nLineHeight; }
409 void SetLineHeight(sal_Int32 nLineHeight) { m_nLineHeight = nLineHeight; }
410 void AddLine( const OUString& sName, css::uno::Any const & rAny );
411 bool AreAllLinesValid() const;
412 void ClearAllLines();
413 void DoScroll( sal_Int32 nNewPos );
414 void ReloadLinesContent();
415
416 css::uno::Sequence< css::beans::PropertyValue >
417 GetCustomProperties();
418 void SetCustomProperties(std::vector< std::unique_ptr<CustomProperty> >&& rProperties);
419 void SetRemovedHdl( const Link<void*,void>& rLink ) { m_aRemovedHdl = rLink; }
420
421 void BoxLoseFocus(CustomPropertyLine* pLine);
422 void EditLoseFocus(CustomPropertyLine* pLine);
423 void Remove(const CustomPropertyLine* pLine);
424};
425
426// class CustomPropertiesControl -----------------------------------------
427
429{
430private:
431 sal_Int32 m_nThumbPos;
432
433 std::unique_ptr<weld::Widget> m_xBox;
434 std::unique_ptr<weld::Container> m_xBody;
435 std::unique_ptr<weld::ScrolledWindow> m_xVertScroll;
436 std::unique_ptr<CustomPropertiesWindow> m_xPropertiesWin;
437 std::unique_ptr<weld::Label> m_xName;
438 std::unique_ptr<weld::Label> m_xType;
439 std::unique_ptr<weld::Label> m_xValue;
440
441 DECL_LINK( ResizeHdl, const Size&, void );
442 DECL_LINK( ScrollHdl, weld::ScrolledWindow&, void );
443 DECL_LINK( RemovedHdl, void*, void );
444
445public:
448
449 void AddLine(css::uno::Any const & rAny);
450
451 bool AreAllLinesValid() const { return m_xPropertiesWin->AreAllLinesValid(); }
452 void ClearAllLines() { m_xPropertiesWin->ClearAllLines(); }
453
454 css::uno::Sequence<css::beans::PropertyValue>
456 { return m_xPropertiesWin->GetCustomProperties(); }
457 void SetCustomProperties(std::vector< std::unique_ptr<CustomProperty> >&& rProperties);
458
459 void Init(weld::Builder& rParent);
460};
461
462// class SfxCustomPropertiesPage -----------------------------------------
463
465{
466private:
467 DECL_LINK(AddHdl, weld::Button&, void);
468
469 std::unique_ptr<CustomPropertiesControl> m_xPropertiesCtrl;
470 std::unique_ptr<weld::Button> m_xAdd;
471
472 virtual bool FillItemSet( SfxItemSet* ) override;
473 virtual void Reset( const SfxItemSet* ) override;
474 virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
475
476public:
478 static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* );
479 virtual ~SfxCustomPropertiesPage() override;
480};
481
483{
484 std::unique_ptr<weld::Builder> m_xBuilder;
485 std::unique_ptr<weld::Frame> m_xFrame;
486 std::unique_ptr<weld::Entry> m_xValueEdit;
487
488 CmisValue(weld::Widget* pParent, const OUString& rStr);
489};
490
492{
493 std::unique_ptr<weld::Builder> m_xBuilder;
494 std::unique_ptr<weld::Frame> m_xFrame;
495 std::unique_ptr<SvtCalendarBox> m_xDateField;
496 std::unique_ptr<weld::FormattedSpinButton> m_xTimeField;
497 std::unique_ptr<weld::TimeFormatter> m_xFormatter;
498
499 CmisDateTime(weld::Widget* pParent, const css::util::DateTime& rDateTime);
500};
501
503{
504 std::unique_ptr<weld::Builder> m_xBuilder;
505 std::unique_ptr<weld::Frame> m_xFrame;
506 std::unique_ptr<weld::RadioButton> m_xYesButton;
507 std::unique_ptr<weld::RadioButton> m_xNoButton;
508
509 CmisYesNo(weld::Widget* pParent, bool bValue);
510};
511
512// struct CmisPropertyLine ---------------------------------------------
513
515{
516 std::unique_ptr<weld::Builder> m_xBuilder;
517 OUString m_sId;
518 OUString m_sType;
523 std::unique_ptr<weld::Frame> m_xFrame;
524 std::unique_ptr<weld::Label> m_xName;
525 std::unique_ptr<weld::Label> m_xType;
526 std::vector< std::unique_ptr<CmisValue> > m_aValues;
527 std::vector< std::unique_ptr<CmisDateTime> > m_aDateTimes;
528 std::vector< std::unique_ptr<CmisYesNo> > m_aYesNos;
531};
532
533// class CmisPropertiesWindow ------------------------------------------
534
536{
537private:
538 std::unique_ptr<weld::Container> m_xBox;
540 std::vector< std::unique_ptr<CmisPropertyLine> > m_aCmisPropertiesLines;
541public:
542 CmisPropertiesWindow(std::unique_ptr<weld::Container> xParent);
544
545 void AddLine( const OUString& sId, const OUString& sName,
546 const OUString& sType, const bool bUpdatable,
547 const bool bRequired, const bool bMultiValued,
548 const bool bOpenChoice,
549 css::uno::Any& aChoices,
550 css::uno::Any const & rAny );
551 void ClearAllLines();
552
553 css::uno::Sequence< css::document::CmisProperty >
554 GetCmisProperties() const;
555};
556
557// class CmisPropertiesControl -----------------------------------------
558
560{
561private:
563 std::unique_ptr<weld::ScrolledWindow> m_xScrolledWindow;
564
565public:
567
568 void AddLine( const OUString& sId, const OUString& sName,
569 const OUString& sType, const bool bUpdatable,
570 const bool bRequired, const bool bMultiValude,
571 const bool bOpenChoice,
572 css::uno::Any& aChoices,
573 css::uno::Any const & rAny );
574
575 void ClearAllLines();
576 css::uno::Sequence< css::document::CmisProperty >
578 { return m_aPropertiesWin.GetCmisProperties(); }
579};
580
581// class SfxCmisPropertiesPage -------------------------------------------------
582
584{
585private:
586 std::unique_ptr<CmisPropertiesControl> m_xPropertiesCtrl;
587
588 virtual bool FillItemSet( SfxItemSet* ) override;
589 virtual void Reset( const SfxItemSet* ) override;
590 virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
591
592public:
594 virtual ~SfxCmisPropertiesPage() override;
595 static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet*);
596};
597
598#endif // #ifndef _ INCLUDED_SFX2_DINFDLG_HXX
599
600/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
CmisPropertiesWindow m_aPropertiesWin
Definition: dinfdlg.hxx:562
std::unique_ptr< weld::ScrolledWindow > m_xScrolledWindow
Definition: dinfdlg.hxx:563
css::uno::Sequence< css::document::CmisProperty > GetCmisProperties() const
Definition: dinfdlg.hxx:577
std::unique_ptr< weld::Container > m_xBox
Definition: dinfdlg.hxx:538
std::vector< std::unique_ptr< CmisPropertyLine > > m_aCmisPropertiesLines
Definition: dinfdlg.hxx:540
SvNumberFormatter m_aNumberFormatter
Definition: dinfdlg.hxx:539
css::uno::Sequence< css::document::CmisProperty > GetCmisProperties() const
Definition: dinfdlg.cxx:2260
virtual bool operator==(const SfxPoolItem &rItem) const override
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId) override
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
std::unique_ptr< CustomPropertiesWindow > m_xPropertiesWin
Definition: dinfdlg.hxx:436
std::unique_ptr< weld::Container > m_xBody
Definition: dinfdlg.hxx:434
DECL_LINK(ScrollHdl, weld::ScrolledWindow &, void)
std::unique_ptr< weld::Label > m_xName
Definition: dinfdlg.hxx:437
DECL_LINK(ResizeHdl, const Size &, void)
std::unique_ptr< weld::Widget > m_xBox
Definition: dinfdlg.hxx:433
bool AreAllLinesValid() const
Definition: dinfdlg.hxx:451
std::unique_ptr< weld::Label > m_xValue
Definition: dinfdlg.hxx:439
css::uno::Sequence< css::beans::PropertyValue > GetCustomProperties() const
Definition: dinfdlg.hxx:455
DECL_LINK(RemovedHdl, void *, void)
std::unique_ptr< weld::ScrolledWindow > m_xVertScroll
Definition: dinfdlg.hxx:435
std::unique_ptr< weld::Label > m_xType
Definition: dinfdlg.hxx:438
std::unique_ptr< SvtCalendarBox > m_xDateField
Definition: dinfdlg.hxx:248
::std::optional< sal_Int16 > m_TZ
Definition: dinfdlg.hxx:250
std::unique_ptr< weld::Entry > m_xEntry
Definition: dinfdlg.hxx:298
css::util::Duration m_aDuration
Definition: dinfdlg.hxx:297
const css::util::Duration & GetDuration() const
Definition: dinfdlg.hxx:308
DECL_LINK(ClickHdl, weld::Button &, void)
std::shared_ptr< DurationDialog_Impl > m_xDurationDialog
Definition: dinfdlg.hxx:300
std::unique_ptr< weld::Button > m_xEditButton
Definition: dinfdlg.hxx:299
std::unique_ptr< weld::TimeFormatter > m_xFormatter
Definition: dinfdlg.hxx:268
void set_visible(bool bVisible)
Definition: dinfdlg.hxx:272
std::unique_ptr< weld::FormattedSpinButton > m_xTimeField
Definition: dinfdlg.hxx:267
Link< void *, void > m_aRemovedHdl
Definition: dinfdlg.hxx:382
void SetLineHeight(sal_Int32 nLineHeight)
Definition: dinfdlg.hxx:409
std::vector< std::unique_ptr< CustomPropertyLine > > m_aCustomPropertiesLines
Definition: dinfdlg.hxx:377
sal_Int32 GetLineHeight() const
Definition: dinfdlg.hxx:408
sal_uInt16 GetTotalLineCount() const
Definition: dinfdlg.hxx:404
weld::Label & m_rHeaderAccType
Definition: dinfdlg.hxx:386
DECL_LINK(EditTimeoutHdl, Timer *, void)
sal_Int32 m_nLineHeight
Definition: dinfdlg.hxx:374
SvNumberFormatter m_aNumberFormatter
Definition: dinfdlg.hxx:379
void SetRemovedHdl(const Link< void *, void > &rLink)
Definition: dinfdlg.hxx:419
CustomPropertyLine * m_pCurrentLine
Definition: dinfdlg.hxx:378
sal_Int32 m_nScrollPos
Definition: dinfdlg.hxx:375
weld::Label & m_rHeaderAccValue
Definition: dinfdlg.hxx:387
weld::Label & m_rHeaderAccName
Definition: dinfdlg.hxx:385
sal_uInt16 GetExistingLineCount() const
Definition: dinfdlg.hxx:403
void SetHeight(int nHeight)
Definition: dinfdlg.hxx:407
weld::Container & m_rBody
Definition: dinfdlg.hxx:384
sal_uInt32 GetCurrentDataModelPosition() const
Definition: dinfdlg.hxx:396
sal_Int32 GetHeight() const
Definition: dinfdlg.hxx:406
DECL_LINK(BoxTimeoutHdl, Timer *, void)
std::vector< std::unique_ptr< CustomProperty > > m_aCustomProperties
Definition: dinfdlg.hxx:376
void set_visible(bool bVisible)
Definition: dinfdlg.hxx:331
std::unique_ptr< weld::RadioButton > m_xYesButton
Definition: dinfdlg.hxx:319
std::unique_ptr< weld::Widget > m_xTopLevel
Definition: dinfdlg.hxx:318
std::unique_ptr< weld::RadioButton > m_xNoButton
Definition: dinfdlg.hxx:320
std::unique_ptr< weld::SpinButton > m_xHourNF
Definition: dinfdlg.hxx:285
std::unique_ptr< weld::CheckButton > m_xNegativeCB
Definition: dinfdlg.hxx:281
std::unique_ptr< weld::SpinButton > m_xMinuteNF
Definition: dinfdlg.hxx:286
std::unique_ptr< weld::SpinButton > m_xMSecondNF
Definition: dinfdlg.hxx:288
std::unique_ptr< weld::SpinButton > m_xDayNF
Definition: dinfdlg.hxx:284
std::unique_ptr< weld::SpinButton > m_xSecondNF
Definition: dinfdlg.hxx:287
std::unique_ptr< weld::SpinButton > m_xYearNF
Definition: dinfdlg.hxx:282
std::unique_ptr< weld::SpinButton > m_xMonthNF
Definition: dinfdlg.hxx:283
std::unique_ptr< CmisPropertiesControl > m_xPropertiesCtrl
Definition: dinfdlg.hxx:586
std::unique_ptr< weld::Button > m_xAdd
Definition: dinfdlg.hxx:470
DECL_LINK(AddHdl, weld::Button &, void)
std::unique_ptr< CustomPropertiesControl > m_xPropertiesCtrl
Definition: dinfdlg.hxx:469
std::unique_ptr< weld::Entry > m_xKeywordsEd
Definition: dinfdlg.hxx:219
std::unique_ptr< weld::TextView > m_xCommentEd
Definition: dinfdlg.hxx:220
SfxDocumentInfoItem * m_pInfoItem
Definition: dinfdlg.hxx:216
std::unique_ptr< weld::Entry > m_xThemaEd
Definition: dinfdlg.hxx:218
std::unique_ptr< weld::Entry > m_xTitleEd
Definition: dinfdlg.hxx:217
std::unique_ptr< weld::Label > m_xNameED
Definition: dinfdlg.hxx:167
bool bEnableUseUserData
Definition: dinfdlg.hxx:163
std::unique_ptr< weld::Label > m_xChangeValFt
Definition: dinfdlg.hxx:175
std::unique_ptr< weld::LinkButton > m_xFileValEd
Definition: dinfdlg.hxx:171
std::unique_ptr< weld::Button > m_xSignatureBtn
Definition: dinfdlg.hxx:177
DECL_LINK(SignatureHdl, weld::Button &, void)
bool bHandleDelete
Definition: dinfdlg.hxx:164
std::unique_ptr< weld::ComboBox > m_xImagePreferredDpiComboBox
Definition: dinfdlg.hxx:189
DECL_LINK(DeleteHdl, weld::Button &, void)
DECL_LINK(ChangePassHdl, weld::Button &, void)
std::unique_ptr< weld::Label > m_xShowTypeFT
Definition: dinfdlg.hxx:170
VclPtr< AbstractPasswordToOpenModifyDialog > m_xPasswordDialog
Definition: dinfdlg.hxx:201
std::unique_ptr< weld::Image > m_xBmp
Definition: dinfdlg.hxx:166
std::unique_ptr< weld::Label > m_xCreateValFt
Definition: dinfdlg.hxx:174
std::unique_ptr< weld::Label > m_xShowSizeFT
Definition: dinfdlg.hxx:172
std::unique_ptr< weld::CheckButton > m_xUseUserDataCB
Definition: dinfdlg.hxx:182
std::unique_ptr< weld::Label > m_xTemplValFt
Definition: dinfdlg.hxx:187
OUString m_aUnknownSize
Definition: dinfdlg.hxx:160
std::unique_ptr< weld::Label > m_xDocNoValFt
Definition: dinfdlg.hxx:180
std::unique_ptr< weld::Button > m_xDeleteBtn
Definition: dinfdlg.hxx:183
OUString m_aMultiSignedStr
Definition: dinfdlg.hxx:161
std::unique_ptr< weld::Button > m_xChangePassBtn
Definition: dinfdlg.hxx:168
std::unique_ptr< weld::CheckButton > m_xUseThumbnailSaveCB
Definition: dinfdlg.hxx:184
std::unique_ptr< weld::Label > m_xTemplFt
Definition: dinfdlg.hxx:186
DECL_LINK(ImagePreferredDPICheckBoxClicked, weld::Toggleable &, void)
std::unique_ptr< weld::Label > m_xSignedValFt
Definition: dinfdlg.hxx:176
std::unique_ptr< weld::Label > m_xPrintValFt
Definition: dinfdlg.hxx:178
std::unique_ptr< weld::CheckButton > m_xImagePreferredDpiCheckButton
Definition: dinfdlg.hxx:188
std::unique_ptr< weld::Label > m_xTimeLogValFt
Definition: dinfdlg.hxx:179
virtual SfxStringItem * Clone(SfxItemPool *=nullptr) const override
static SfxPoolItem * CreateDefault()
void Init()
#define SFX2_DLLPUBLIC
Definition: dllapi.h:29
void Clear(EHistoryType eHistory)
std::u16string_view getTitle(std::u16string_view aPath)
void Create(SwFormatVertOrient &rItem, SvStream &rStrm, sal_uInt16 nVersionAbusedAsSize)
const char GetDuration[]
std::unique_ptr< weld::Frame > m_xFrame
Definition: dinfdlg.hxx:494
std::unique_ptr< weld::FormattedSpinButton > m_xTimeField
Definition: dinfdlg.hxx:496
std::unique_ptr< weld::TimeFormatter > m_xFormatter
Definition: dinfdlg.hxx:497
std::unique_ptr< weld::Builder > m_xBuilder
Definition: dinfdlg.hxx:493
std::unique_ptr< SvtCalendarBox > m_xDateField
Definition: dinfdlg.hxx:495
std::vector< std::unique_ptr< CmisYesNo > > m_aYesNos
Definition: dinfdlg.hxx:528
std::vector< std::unique_ptr< CmisValue > > m_aValues
Definition: dinfdlg.hxx:526
std::unique_ptr< weld::Builder > m_xBuilder
Definition: dinfdlg.hxx:516
OUString m_sType
Definition: dinfdlg.hxx:518
std::unique_ptr< weld::Label > m_xType
Definition: dinfdlg.hxx:525
std::unique_ptr< weld::Frame > m_xFrame
Definition: dinfdlg.hxx:523
OUString m_sId
Definition: dinfdlg.hxx:517
std::vector< std::unique_ptr< CmisDateTime > > m_aDateTimes
Definition: dinfdlg.hxx:527
std::unique_ptr< weld::Label > m_xName
Definition: dinfdlg.hxx:524
std::unique_ptr< weld::Entry > m_xValueEdit
Definition: dinfdlg.hxx:486
std::unique_ptr< weld::Builder > m_xBuilder
Definition: dinfdlg.hxx:484
std::unique_ptr< weld::Frame > m_xFrame
Definition: dinfdlg.hxx:485
std::unique_ptr< weld::RadioButton > m_xNoButton
Definition: dinfdlg.hxx:507
std::unique_ptr< weld::Frame > m_xFrame
Definition: dinfdlg.hxx:505
std::unique_ptr< weld::Builder > m_xBuilder
Definition: dinfdlg.hxx:504
std::unique_ptr< weld::RadioButton > m_xYesButton
Definition: dinfdlg.hxx:506
DECL_LINK(BoxLoseFocusHdl, weld::Widget &, void)
DECL_LINK(EditLoseFocusHdl, weld::Widget &, void)
std::unique_ptr< CustomPropertiesYesNoButton > m_xYesNoButton
Definition: dinfdlg.hxx:351
std::unique_ptr< CustomPropertiesTimeField > m_xTimeField
Definition: dinfdlg.hxx:348
std::unique_ptr< weld::Button > m_xRemoveButton
Definition: dinfdlg.hxx:352
std::unique_ptr< weld::Widget > m_xDateTimeBox
Definition: dinfdlg.hxx:346
std::unique_ptr< weld::Container > m_xLine
Definition: dinfdlg.hxx:342
DECL_LINK(RemoveHdl, weld::Button &, void)
DECL_LINK(TypeHdl, weld::ComboBox &, void)
std::unique_ptr< weld::Entry > m_xValueEdit
Definition: dinfdlg.hxx:345
std::unique_ptr< weld::ComboBox > m_xNameBox
Definition: dinfdlg.hxx:343
std::unique_ptr< weld::Widget > m_xDurationBox
Definition: dinfdlg.hxx:349
std::unique_ptr< CustomPropertiesDurationField > m_xDurationField
Definition: dinfdlg.hxx:350
std::unique_ptr< CustomPropertiesDateField > m_xDateField
Definition: dinfdlg.hxx:347
std::unique_ptr< weld::Builder > m_xBuilder
Definition: dinfdlg.hxx:341
CustomPropertiesWindow * m_pParent
Definition: dinfdlg.hxx:339
std::unique_ptr< weld::ComboBox > m_xTypeBox
Definition: dinfdlg.hxx:344
DeactivateRC
Definition: tabdlg.hxx:173
bool bVisible
unsigned char sal_uInt8