#include <ClassificationDialog.hxx>
|
| 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 () |
|
Definition at line 31 of file ClassificationDialog.hxx.
◆ ClassificationDialog()
svx::ClassificationDialog::ClassificationDialog |
( |
weld::Window * |
pParent, |
|
|
const css::uno::Reference< css::document::XDocumentProperties > & |
rDocProps, |
|
|
bool |
bPerParagraph, |
|
|
std::function< void()> |
aParagraphSignHandler = []() {} |
|
) |
| |
Definition at line 158 of file ClassificationDialog.cxx.
References svx::classification::convertClassificationResultToString(), SfxClassificationHelper::GetBACNames(), SfxClassificationHelper::GetIntellectualPropertyPartNumbers(), SfxClassificationHelper::GetIntellectualPropertyParts(), SfxClassificationHelper::GetMarkings(), KeyInput, LINK, m_aRecentlyUsedValuesCollection, m_bPerParagraph, m_nAsyncExpandEvent, m_xClassificationListBox, m_xEditWindow, m_xIntellectualPropertyExpander, m_xIntellectualPropertyPartAddButton, m_xIntellectualPropertyPartEdit, m_xIntellectualPropertyPartListBox, m_xIntellectualPropertyPartNumberListBox, m_xInternationalClassificationListBox, m_xMarkingLabel, m_xMarkingListBox, m_xOkButton, m_xRecentlyUsedListBox, m_xSignButton, m_xToolBox, maHelper, maInternationalHelper, Application::PostUserEvent(), readRecentlyUsed(), and toggleWidgetsDependingOnCategory().
◆ ~ClassificationDialog()
svx::ClassificationDialog::~ClassificationDialog |
( |
| ) |
|
|
override |
◆ 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]
◆ DECL_DLLPRIVATE_STATIC_LINK() [2/2]
◆ getResult()
Definition at line 512 of file ClassificationDialog.cxx.
References EditEngine::CreateTextObject(), EE_CHAR_WEIGHT(), SvxFieldItem::GetField(), SfxItemSet::GetItem(), EditEngine::GetParaAttribs(), EditEngine::GetText(), SvxWeightItem::GetWeight(), m_xEditWindow, svx::ClassificationField::meType, editeng::Section::mnEnd, editeng::Section::mnParagraph, editeng::Section::mnStart, svx::ClassificationField::msDescription, svx::ClassificationField::msFullClassName, svx::ClassificationField::msIdentifier, svx::PARAGRAPH, svx::TEXT, WEIGHT_BOLD, and WEIGHT_NORMAL.
Referenced by writeRecentlyUsed().
◆ 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 |
◆ readIn()
Definition at line 412 of file ClassificationDialog.cxx.
References svx::CATEGORY, EE_CHAR_WEIGHT(), SfxClassificationHelper::GetAbbreviatedBACName(), SfxClassificationHelper::GetBACNameForIdentifier(), EditEngine::GetParaAttribs(), insertField(), svx::INTELLECTUAL_PROPERTY_PART, m_nCurrentSelectedCategory, m_xClassificationListBox, m_xEditWindow, m_xInternationalClassificationListBox, m_xMarkingListBox, maHelper, svx::MARKING, svx::PARAGRAPH, SfxItemSet::Put(), EditEngine::SetParaAttribs(), sName, svx::TEXT, toggleWidgetsDependingOnCategory(), WEIGHT_BOLD, and WEIGHT_NORMAL.
Referenced by setupValues().
◆ readRecentlyUsed()
void svx::ClassificationDialog::readRecentlyUsed |
( |
| ) |
|
|
private |
Definition at line 302 of file ClassificationDialog.cxx.
References tools::XmlWalker::attribute(), tools::XmlWalker::children(), tools::XmlWalker::content(), eType, fileExists(), tools::XmlWalker::isValid(), m_aRecentlyUsedValuesCollection, tools::XmlWalker::name(), tools::XmlWalker::next(), tools::XmlWalker::open(), tools::XmlWalker::parent(), and svx::TEXT.
Referenced by ClassificationDialog().
◆ setupValues()
◆ toggleWidgetsDependingOnCategory()
void svx::ClassificationDialog::toggleWidgetsDependingOnCategory |
( |
| ) |
|
|
private |
Definition at line 484 of file ClassificationDialog.cxx.
References svx::CATEGORY, EditEngine::GetFieldCount(), EditEngine::GetFieldInfo(), EditEngine::GetParagraphCount(), m_xClassificationListBox, m_xEditWindow, m_xInternationalClassificationListBox, m_xOkButton, svx::ClassificationField::meType, and EFieldInfo::pFieldItem.
Referenced by ClassificationDialog(), and readIn().
◆ writeRecentlyUsed()
void svx::ClassificationDialog::writeRecentlyUsed |
( |
| ) |
|
|
private |
◆ m_aInitialValues
◆ m_aParagraphSignHandler
const std::function<void()> svx::ClassificationDialog::m_aParagraphSignHandler |
|
private |
◆ m_aRecentlyUsedValuesCollection
std::vector<std::vector<ClassificationResult> > svx::ClassificationDialog::m_aRecentlyUsedValuesCollection |
|
private |
◆ m_bPerParagraph
const bool svx::ClassificationDialog::m_bPerParagraph |
|
private |
◆ m_nAsyncExpandEvent
ImplSVEvent* svx::ClassificationDialog::m_nAsyncExpandEvent |
|
private |
◆ m_nCurrentSelectedCategory
sal_Int32 svx::ClassificationDialog::m_nCurrentSelectedCategory |
|
private |
◆ m_xClassificationListBox
std::unique_ptr<weld::ComboBox> svx::ClassificationDialog::m_xClassificationListBox |
|
private |
◆ m_xEditWindow
◆ m_xEditWindowWeld
◆ m_xIntellectualPropertyExpander
std::unique_ptr<weld::Expander> svx::ClassificationDialog::m_xIntellectualPropertyExpander |
|
private |
◆ m_xIntellectualPropertyPartAddButton
std::unique_ptr<weld::Button> svx::ClassificationDialog::m_xIntellectualPropertyPartAddButton |
|
private |
◆ m_xIntellectualPropertyPartEdit
std::unique_ptr<weld::Entry> svx::ClassificationDialog::m_xIntellectualPropertyPartEdit |
|
private |
◆ m_xIntellectualPropertyPartListBox
std::unique_ptr<weld::TreeView> svx::ClassificationDialog::m_xIntellectualPropertyPartListBox |
|
private |
◆ m_xIntellectualPropertyPartNumberListBox
std::unique_ptr<weld::TreeView> svx::ClassificationDialog::m_xIntellectualPropertyPartNumberListBox |
|
private |
◆ m_xInternationalClassificationListBox
std::unique_ptr<weld::ComboBox> svx::ClassificationDialog::m_xInternationalClassificationListBox |
|
private |
◆ m_xMarkingLabel
std::unique_ptr<weld::Label> svx::ClassificationDialog::m_xMarkingLabel |
|
private |
◆ m_xMarkingListBox
std::unique_ptr<weld::TreeView> svx::ClassificationDialog::m_xMarkingListBox |
|
private |
◆ m_xOkButton
std::unique_ptr<weld::Button> svx::ClassificationDialog::m_xOkButton |
|
private |
◆ m_xRecentlyUsedListBox
std::unique_ptr<weld::ComboBox> svx::ClassificationDialog::m_xRecentlyUsedListBox |
|
private |
◆ m_xSignButton
std::unique_ptr<weld::Button> svx::ClassificationDialog::m_xSignButton |
|
private |
◆ m_xToolBox
◆ maHelper
◆ maInternationalHelper
The documentation for this class was generated from the following files: