LibreOffice Module svx (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
svx::ClassificationDialog Class Referencefinal

#include <ClassificationDialog.hxx>

Inheritance diagram for svx::ClassificationDialog:
[legend]
Collaboration diagram for svx::ClassificationDialog:
[legend]

Public Member Functions

 ClassificationDialog (weld::Window *pParent, const css::uno::Reference< css::document::XDocumentProperties > &rDocProps, bool bPerParagraph, std::function< void()> aParagraphSignHandler=[]() {})
 
 ~ClassificationDialog () override
 
std::vector< ClassificationResultgetResult ()
 
void setupValues (std::vector< ClassificationResult > &&rInput)
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OUString &rHelpId)
 
OUString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

 DECL_DLLPRIVATE_LINK (ButtonClicked, weld::Button &, void)
 
 DECL_DLLPRIVATE_LINK (OkHdl, weld::Button &, void)
 
 DECL_DLLPRIVATE_LINK (SelectToolboxHdl, weld::Toggleable &, void)
 
 DECL_DLLPRIVATE_LINK (SelectClassificationHdl, weld::ComboBox &, void)
 
 DECL_DLLPRIVATE_LINK (SelectMarkingHdl, weld::TreeView &, bool)
 
 DECL_DLLPRIVATE_LINK (SelectIPPartNumbersHdl, weld::TreeView &, bool)
 
 DECL_DLLPRIVATE_LINK (SelectRecentlyUsedHdl, weld::ComboBox &, void)
 
 DECL_DLLPRIVATE_LINK (SelectIPPartHdl, weld::TreeView &, bool)
 
 DECL_DLLPRIVATE_LINK (EditWindowModifiedHdl, LinkParamNone *, void)
 
 DECL_DLLPRIVATE_STATIC_LINK (ClassificationDialog, ExpandedHdl, weld::Expander &, void)
 
 DECL_DLLPRIVATE_STATIC_LINK (ClassificationDialog, KeyInput, const KeyEvent &, bool)
 
 DECL_DLLPRIVATE_LINK (OnAsyncExpandHdl, void *, void)
 
void insertField (ClassificationType eType, OUString const &rString, OUString const &rFullString, OUString const &rIdentifier=OUString())
 
void insertCategoryField (sal_Int32 nID)
 
void readIn (std::vector< ClassificationResult > const &rInput)
 
void readRecentlyUsed ()
 
void writeRecentlyUsed ()
 
void toggleWidgetsDependingOnCategory ()
 

Private Attributes

SfxClassificationHelper maHelper
 
SfxClassificationHelper maInternationalHelper
 
const bool m_bPerParagraph
 
const std::function< void()> m_aParagraphSignHandler
 
ImplSVEventm_nAsyncExpandEvent
 
sal_Int32 m_nCurrentSelectedCategory
 
std::vector< std::vector< ClassificationResult > > m_aRecentlyUsedValuesCollection
 
std::vector< ClassificationResultm_aInitialValues
 
std::unique_ptr< weld::Buttonm_xOkButton
 
std::unique_ptr< weld::Buttonm_xSignButton
 
std::unique_ptr< weld::ToggleButtonm_xToolBox
 
std::unique_ptr< weld::ComboBoxm_xRecentlyUsedListBox
 
std::unique_ptr< weld::ComboBoxm_xClassificationListBox
 
std::unique_ptr< weld::ComboBoxm_xInternationalClassificationListBox
 
std::unique_ptr< weld::Labelm_xMarkingLabel
 
std::unique_ptr< weld::TreeViewm_xMarkingListBox
 
std::unique_ptr< weld::TreeViewm_xIntellectualPropertyPartListBox
 
std::unique_ptr< weld::TreeViewm_xIntellectualPropertyPartNumberListBox
 
std::unique_ptr< weld::Buttonm_xIntellectualPropertyPartAddButton
 
std::unique_ptr< weld::Entrym_xIntellectualPropertyPartEdit
 
std::unique_ptr< weld::Expanderm_xIntellectualPropertyExpander
 
std::unique_ptr< ClassificationEditViewm_xEditWindow
 
std::unique_ptr< weld::CustomWeldm_xEditWindowWeld
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 31 of file ClassificationDialog.hxx.

Constructor & Destructor Documentation

◆ ClassificationDialog()

svx::ClassificationDialog::ClassificationDialog ( weld::Window pParent,
const css::uno::Reference< css::document::XDocumentProperties > &  rDocProps,
bool  bPerParagraph,
std::function< void()>  aParagraphSignHandler = []() {} 
)

◆ ~ClassificationDialog()

svx::ClassificationDialog::~ClassificationDialog ( )
override

Member Function Documentation

◆ DECL_DLLPRIVATE_LINK() [1/10]

svx::ClassificationDialog::DECL_DLLPRIVATE_LINK ( ButtonClicked  ,
weld::Button ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [2/10]

svx::ClassificationDialog::DECL_DLLPRIVATE_LINK ( EditWindowModifiedHdl  ,
LinkParamNone ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [3/10]

svx::ClassificationDialog::DECL_DLLPRIVATE_LINK ( OkHdl  ,
weld::Button ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [4/10]

svx::ClassificationDialog::DECL_DLLPRIVATE_LINK ( OnAsyncExpandHdl  ,
void *  ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [5/10]

svx::ClassificationDialog::DECL_DLLPRIVATE_LINK ( SelectClassificationHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [6/10]

svx::ClassificationDialog::DECL_DLLPRIVATE_LINK ( SelectIPPartHdl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_DLLPRIVATE_LINK() [7/10]

svx::ClassificationDialog::DECL_DLLPRIVATE_LINK ( SelectIPPartNumbersHdl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_DLLPRIVATE_LINK() [8/10]

svx::ClassificationDialog::DECL_DLLPRIVATE_LINK ( SelectMarkingHdl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_DLLPRIVATE_LINK() [9/10]

svx::ClassificationDialog::DECL_DLLPRIVATE_LINK ( SelectRecentlyUsedHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [10/10]

svx::ClassificationDialog::DECL_DLLPRIVATE_LINK ( SelectToolboxHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_DLLPRIVATE_STATIC_LINK() [1/2]

svx::ClassificationDialog::DECL_DLLPRIVATE_STATIC_LINK ( ClassificationDialog  ,
ExpandedHdl  ,
weld::Expander ,
void   
)
private

◆ DECL_DLLPRIVATE_STATIC_LINK() [2/2]

svx::ClassificationDialog::DECL_DLLPRIVATE_STATIC_LINK ( ClassificationDialog  ,
KeyInput  ,
const KeyEvent ,
bool   
)
private

◆ getResult()

std::vector< ClassificationResult > svx::ClassificationDialog::getResult ( )

◆ insertCategoryField()

void svx::ClassificationDialog::insertCategoryField ( sal_Int32  nID)
private

◆ insertField()

void svx::ClassificationDialog::insertField ( ClassificationType  eType,
OUString const &  rString,
OUString const &  rFullString,
OUString const &  rIdentifier = OUString() 
)
private

Definition at line 290 of file ClassificationDialog.cxx.

References EE_FEATURE_FIELD(), eType, and m_xEditWindow.

Referenced by insertCategoryField(), and readIn().

◆ readIn()

void svx::ClassificationDialog::readIn ( std::vector< ClassificationResult > const &  rInput)
private

◆ readRecentlyUsed()

void svx::ClassificationDialog::readRecentlyUsed ( )
private

◆ setupValues()

void svx::ClassificationDialog::setupValues ( std::vector< ClassificationResult > &&  rInput)

Definition at line 296 of file ClassificationDialog.cxx.

References m_aInitialValues, and readIn().

◆ toggleWidgetsDependingOnCategory()

void svx::ClassificationDialog::toggleWidgetsDependingOnCategory ( )
private

◆ writeRecentlyUsed()

void svx::ClassificationDialog::writeRecentlyUsed ( )
private

Member Data Documentation

◆ m_aInitialValues

std::vector<ClassificationResult> svx::ClassificationDialog::m_aInitialValues
private

Definition at line 44 of file ClassificationDialog.hxx.

Referenced by setupValues().

◆ m_aParagraphSignHandler

const std::function<void()> svx::ClassificationDialog::m_aParagraphSignHandler
private

Definition at line 38 of file ClassificationDialog.hxx.

◆ m_aRecentlyUsedValuesCollection

std::vector<std::vector<ClassificationResult> > svx::ClassificationDialog::m_aRecentlyUsedValuesCollection
private

◆ m_bPerParagraph

const bool svx::ClassificationDialog::m_bPerParagraph
private

Definition at line 37 of file ClassificationDialog.hxx.

Referenced by ClassificationDialog().

◆ m_nAsyncExpandEvent

ImplSVEvent* svx::ClassificationDialog::m_nAsyncExpandEvent
private

Definition at line 40 of file ClassificationDialog.hxx.

Referenced by ClassificationDialog(), and ~ClassificationDialog().

◆ m_nCurrentSelectedCategory

sal_Int32 svx::ClassificationDialog::m_nCurrentSelectedCategory
private

Definition at line 41 of file ClassificationDialog.hxx.

Referenced by readIn().

◆ m_xClassificationListBox

std::unique_ptr<weld::ComboBox> svx::ClassificationDialog::m_xClassificationListBox
private

◆ m_xEditWindow

std::unique_ptr<ClassificationEditView> svx::ClassificationDialog::m_xEditWindow
private

◆ m_xEditWindowWeld

std::unique_ptr<weld::CustomWeld> svx::ClassificationDialog::m_xEditWindowWeld
private

Definition at line 60 of file ClassificationDialog.hxx.

◆ m_xIntellectualPropertyExpander

std::unique_ptr<weld::Expander> svx::ClassificationDialog::m_xIntellectualPropertyExpander
private

Definition at line 58 of file ClassificationDialog.hxx.

Referenced by ClassificationDialog().

◆ m_xIntellectualPropertyPartAddButton

std::unique_ptr<weld::Button> svx::ClassificationDialog::m_xIntellectualPropertyPartAddButton
private

Definition at line 56 of file ClassificationDialog.hxx.

Referenced by ClassificationDialog().

◆ m_xIntellectualPropertyPartEdit

std::unique_ptr<weld::Entry> svx::ClassificationDialog::m_xIntellectualPropertyPartEdit
private

Definition at line 57 of file ClassificationDialog.hxx.

Referenced by ClassificationDialog().

◆ m_xIntellectualPropertyPartListBox

std::unique_ptr<weld::TreeView> svx::ClassificationDialog::m_xIntellectualPropertyPartListBox
private

Definition at line 54 of file ClassificationDialog.hxx.

Referenced by ClassificationDialog().

◆ m_xIntellectualPropertyPartNumberListBox

std::unique_ptr<weld::TreeView> svx::ClassificationDialog::m_xIntellectualPropertyPartNumberListBox
private

Definition at line 55 of file ClassificationDialog.hxx.

Referenced by ClassificationDialog().

◆ m_xInternationalClassificationListBox

std::unique_ptr<weld::ComboBox> svx::ClassificationDialog::m_xInternationalClassificationListBox
private

◆ m_xMarkingLabel

std::unique_ptr<weld::Label> svx::ClassificationDialog::m_xMarkingLabel
private

Definition at line 52 of file ClassificationDialog.hxx.

Referenced by ClassificationDialog().

◆ m_xMarkingListBox

std::unique_ptr<weld::TreeView> svx::ClassificationDialog::m_xMarkingListBox
private

Definition at line 53 of file ClassificationDialog.hxx.

Referenced by ClassificationDialog(), and readIn().

◆ m_xOkButton

std::unique_ptr<weld::Button> svx::ClassificationDialog::m_xOkButton
private

◆ m_xRecentlyUsedListBox

std::unique_ptr<weld::ComboBox> svx::ClassificationDialog::m_xRecentlyUsedListBox
private

Definition at line 49 of file ClassificationDialog.hxx.

Referenced by ClassificationDialog().

◆ m_xSignButton

std::unique_ptr<weld::Button> svx::ClassificationDialog::m_xSignButton
private

Definition at line 47 of file ClassificationDialog.hxx.

Referenced by ClassificationDialog().

◆ m_xToolBox

std::unique_ptr<weld::ToggleButton> svx::ClassificationDialog::m_xToolBox
private

Definition at line 48 of file ClassificationDialog.hxx.

Referenced by ClassificationDialog().

◆ maHelper

SfxClassificationHelper svx::ClassificationDialog::maHelper
private

Definition at line 34 of file ClassificationDialog.hxx.

Referenced by ClassificationDialog(), insertCategoryField(), and readIn().

◆ maInternationalHelper

SfxClassificationHelper svx::ClassificationDialog::maInternationalHelper
private

Definition at line 35 of file ClassificationDialog.hxx.

Referenced by ClassificationDialog().


The documentation for this class was generated from the following files: