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, bool bPerParagraph, const std::function< void()> &rParagraphSignHandler=[](){})
 
 ~ClassificationDialog () override
 
short run () override
 
std::vector< ClassificationResultgetResult ()
 
void setupValues (std::vector< ClassificationResult > const &rInput)
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
const DialoggetConstDialog () const
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OString &rHelpId)
 
OString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

 DECL_LINK (ButtonClicked, weld::Button &, void)
 
 DECL_LINK (SelectToolboxHdl, weld::ToggleButton &, void)
 
 DECL_LINK (SelectClassificationHdl, weld::ComboBox &, void)
 
 DECL_LINK (SelectMarkingHdl, weld::TreeView &, bool)
 
 DECL_LINK (SelectIPPartNumbersHdl, weld::TreeView &, bool)
 
 DECL_LINK (SelectRecentlyUsedHdl, weld::ComboBox &, void)
 
 DECL_LINK (SelectIPPartHdl, weld::TreeView &, bool)
 
 DECL_LINK (EditWindowModifiedHdl, LinkParamNone *, void)
 
 DECL_STATIC_LINK (ClassificationDialog, ExpandedHdl, weld::Expander &, void)
 
 DECL_STATIC_LINK (ClassificationDialog, KeyInput, const KeyEvent &, bool)
 
 DECL_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 25 of file ClassificationDialog.hxx.

Constructor & Destructor Documentation

svx::ClassificationDialog::ClassificationDialog ( weld::Window pParent,
bool  bPerParagraph,
const std::function< void()> &  rParagraphSignHandler = [](){} 
)
svx::ClassificationDialog::~ClassificationDialog ( )
override

Member Function Documentation

svx::ClassificationDialog::DECL_LINK ( ButtonClicked  ,
weld::Button ,
void   
)
private
svx::ClassificationDialog::DECL_LINK ( SelectToolboxHdl  ,
weld::ToggleButton ,
void   
)
private
svx::ClassificationDialog::DECL_LINK ( SelectClassificationHdl  ,
weld::ComboBox ,
void   
)
private
svx::ClassificationDialog::DECL_LINK ( SelectMarkingHdl  ,
weld::TreeView ,
bool   
)
private
svx::ClassificationDialog::DECL_LINK ( SelectIPPartNumbersHdl  ,
weld::TreeView ,
bool   
)
private
svx::ClassificationDialog::DECL_LINK ( SelectRecentlyUsedHdl  ,
weld::ComboBox ,
void   
)
private
svx::ClassificationDialog::DECL_LINK ( SelectIPPartHdl  ,
weld::TreeView ,
bool   
)
private
svx::ClassificationDialog::DECL_LINK ( EditWindowModifiedHdl  ,
LinkParamNone ,
void   
)
private
svx::ClassificationDialog::DECL_LINK ( OnAsyncExpandHdl  ,
void ,
void   
)
private
svx::ClassificationDialog::DECL_STATIC_LINK ( ClassificationDialog  ,
ExpandedHdl  ,
weld::Expander ,
void   
)
private
svx::ClassificationDialog::DECL_STATIC_LINK ( ClassificationDialog  ,
KeyInput  ,
const KeyEvent ,
bool   
)
private
std::vector< ClassificationResult > svx::ClassificationDialog::getResult ( )
void svx::ClassificationDialog::insertCategoryField ( sal_Int32  nID)
private
void svx::ClassificationDialog::insertField ( ClassificationType  eType,
OUString const &  rString,
OUString const &  rFullString,
OUString const &  rIdentifier = OUString() 
)
private

Definition at line 298 of file ClassificationDialog.cxx.

References EE_FEATURE_FIELD, and m_xEditWindow.

Referenced by insertCategoryField(), and readIn().

void svx::ClassificationDialog::readIn ( std::vector< ClassificationResult > const &  rInput)
private
void svx::ClassificationDialog::readRecentlyUsed ( )
private
short svx::ClassificationDialog::run ( )
overridevirtual
void svx::ClassificationDialog::setupValues ( std::vector< ClassificationResult > const &  rInput)

Definition at line 304 of file ClassificationDialog.cxx.

References m_aInitialValues.

void svx::ClassificationDialog::toggleWidgetsDependingOnCategory ( )
private
void svx::ClassificationDialog::writeRecentlyUsed ( )
private

Member Data Documentation

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

Definition at line 38 of file ClassificationDialog.hxx.

Referenced by run(), and setupValues().

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

Definition at line 32 of file ClassificationDialog.hxx.

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

Definition at line 37 of file ClassificationDialog.hxx.

Referenced by readRecentlyUsed(), run(), and writeRecentlyUsed().

const bool svx::ClassificationDialog::m_bPerParagraph
private

Definition at line 31 of file ClassificationDialog.hxx.

Referenced by ClassificationDialog().

ImplSVEvent* svx::ClassificationDialog::m_nAsyncExpandEvent
private

Definition at line 34 of file ClassificationDialog.hxx.

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

sal_Int32 svx::ClassificationDialog::m_nCurrentSelectedCategory
private

Definition at line 35 of file ClassificationDialog.hxx.

Referenced by readIn().

std::unique_ptr<weld::ComboBox> svx::ClassificationDialog::m_xClassificationListBox
private
std::unique_ptr<ClassificationEditView> svx::ClassificationDialog::m_xEditWindow
private
std::unique_ptr<weld::CustomWeld> svx::ClassificationDialog::m_xEditWindowWeld
private

Definition at line 54 of file ClassificationDialog.hxx.

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

Definition at line 52 of file ClassificationDialog.hxx.

Referenced by ClassificationDialog().

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

Definition at line 50 of file ClassificationDialog.hxx.

Referenced by ClassificationDialog().

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

Definition at line 51 of file ClassificationDialog.hxx.

Referenced by ClassificationDialog().

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

Definition at line 48 of file ClassificationDialog.hxx.

Referenced by ClassificationDialog().

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

Definition at line 49 of file ClassificationDialog.hxx.

Referenced by ClassificationDialog().

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

Definition at line 46 of file ClassificationDialog.hxx.

Referenced by ClassificationDialog().

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

Definition at line 47 of file ClassificationDialog.hxx.

Referenced by ClassificationDialog(), and readIn().

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

Definition at line 40 of file ClassificationDialog.hxx.

Referenced by toggleWidgetsDependingOnCategory().

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

Definition at line 43 of file ClassificationDialog.hxx.

Referenced by ClassificationDialog(), and run().

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

Definition at line 41 of file ClassificationDialog.hxx.

Referenced by ClassificationDialog().

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

Definition at line 42 of file ClassificationDialog.hxx.

Referenced by ClassificationDialog().

SfxClassificationHelper svx::ClassificationDialog::maHelper
private

Definition at line 28 of file ClassificationDialog.hxx.

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

SfxClassificationHelper svx::ClassificationDialog::maInternationalHelper
private

Definition at line 29 of file ClassificationDialog.hxx.

Referenced by ClassificationDialog().


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