LibreOffice Module svx (master) 1
|
Functions | |
OUString | convertClassificationResultToString (std::vector< svx::ClassificationResult > const &rResults) |
OUString | getProperty (uno::Reference< beans::XPropertyContainer > const &rxPropertyContainer, OUString const &rName) |
bool | containsProperty (uno::Sequence< beans::Property > const &rProperties, std::u16string_view rName) |
void | removeAllProperties (uno::Reference< beans::XPropertyContainer > const &rxPropertyContainer) |
bool | addOrInsertDocumentProperty (uno::Reference< beans::XPropertyContainer > const &rxPropertyContainer, OUString const &rsKey, OUString const &rsValue) |
void | insertFullTextualRepresentationAsDocumentProperty (uno::Reference< beans::XPropertyContainer > const &rxPropertyContainer, sfx::ClassificationKeyCreator const &rKeyCreator, std::vector< svx::ClassificationResult > const &rResults) |
void | insertCreationOrigin (uno::Reference< beans::XPropertyContainer > const &rxPropertyContainer, sfx::ClassificationKeyCreator const &rKeyCreator, sfx::ClassificationCreationOrigin eOrigin) |
SVX_DLLPUBLIC OUString | getProperty (css::uno::Reference< css::beans::XPropertyContainer > const &rxPropertyContainer, OUString const &rName) |
SVX_DLLPUBLIC bool | containsProperty (css::uno::Sequence< css::beans::Property > const &rProperties, std::u16string_view rName) |
SVX_DLLPUBLIC void | removeAllProperties (css::uno::Reference< css::beans::XPropertyContainer > const &rxPropertyContainer) |
SVX_DLLPUBLIC bool | addOrInsertDocumentProperty (css::uno::Reference< css::beans::XPropertyContainer > const &rxPropertyContainer, OUString const &rsKey, OUString const &rsValue) |
SVX_DLLPUBLIC void | insertFullTextualRepresentationAsDocumentProperty (css::uno::Reference< css::beans::XPropertyContainer > const &rxPropertyContainer, sfx::ClassificationKeyCreator const &rKeyCreator, std::vector< svx::ClassificationResult > const &rResults) |
SVX_DLLPUBLIC void | insertCreationOrigin (css::uno::Reference< css::beans::XPropertyContainer > const &rxPropertyContainer, sfx::ClassificationKeyCreator const &rKeyCreator, sfx::ClassificationCreationOrigin eOrigin) |
SVX_DLLPUBLIC bool svx::classification::addOrInsertDocumentProperty | ( | css::uno::Reference< css::beans::XPropertyContainer > const & | rxPropertyContainer, |
OUString const & | rsKey, | ||
OUString const & | rsValue | ||
) |
bool svx::classification::addOrInsertDocumentProperty | ( | uno::Reference< beans::XPropertyContainer > const & | rxPropertyContainer, |
OUString const & | rsKey, | ||
OUString const & | rsValue | ||
) |
Definition at line 79 of file ClassificationCommon.cxx.
References containsProperty().
Referenced by insertCreationOrigin(), and insertFullTextualRepresentationAsDocumentProperty().
SVX_DLLPUBLIC bool svx::classification::containsProperty | ( | css::uno::Sequence< css::beans::Property > const & | rProperties, |
std::u16string_view | rName | ||
) |
bool svx::classification::containsProperty | ( | uno::Sequence< beans::Property > const & | rProperties, |
std::u16string_view | rName | ||
) |
Definition at line 61 of file ClassificationCommon.cxx.
Referenced by addOrInsertDocumentProperty().
SVX_DLLPUBLIC OUString svx::classification::convertClassificationResultToString | ( | std::vector< svx::ClassificationResult > const & | rResults | ) |
Definition at line 23 of file ClassificationCommon.cxx.
References svx::CATEGORY, svx::INTELLECTUAL_PROPERTY_PART, svx::MARKING, svx::PARAGRAPH, and svx::TEXT.
Referenced by svx::ClassificationDialog::ClassificationDialog(), and insertFullTextualRepresentationAsDocumentProperty().
SVX_DLLPUBLIC OUString svx::classification::getProperty | ( | css::uno::Reference< css::beans::XPropertyContainer > const & | rxPropertyContainer, |
OUString const & | rName | ||
) |
OUString svx::classification::getProperty | ( | uno::Reference< beans::XPropertyContainer > const & | rxPropertyContainer, |
OUString const & | rName | ||
) |
Definition at line 46 of file ClassificationCommon.cxx.
SVX_DLLPUBLIC void svx::classification::insertCreationOrigin | ( | css::uno::Reference< css::beans::XPropertyContainer > const & | rxPropertyContainer, |
sfx::ClassificationKeyCreator const & | rKeyCreator, | ||
sfx::ClassificationCreationOrigin | eOrigin | ||
) |
void svx::classification::insertCreationOrigin | ( | uno::Reference< beans::XPropertyContainer > const & | rxPropertyContainer, |
sfx::ClassificationKeyCreator const & | rKeyCreator, | ||
sfx::ClassificationCreationOrigin | eOrigin | ||
) |
Definition at line 110 of file ClassificationCommon.cxx.
References addOrInsertDocumentProperty(), sfx::BAF_POLICY, sfx::ClassificationKeyCreator::makeCreationOriginKey(), and sfx::NONE.
SVX_DLLPUBLIC void svx::classification::insertFullTextualRepresentationAsDocumentProperty | ( | css::uno::Reference< css::beans::XPropertyContainer > const & | rxPropertyContainer, |
sfx::ClassificationKeyCreator const & | rKeyCreator, | ||
std::vector< svx::ClassificationResult > const & | rResults | ||
) |
void svx::classification::insertFullTextualRepresentationAsDocumentProperty | ( | uno::Reference< beans::XPropertyContainer > const & | rxPropertyContainer, |
sfx::ClassificationKeyCreator const & | rKeyCreator, | ||
std::vector< svx::ClassificationResult > const & | rResults | ||
) |
Definition at line 100 of file ClassificationCommon.cxx.
References addOrInsertDocumentProperty(), convertClassificationResultToString(), and sfx::ClassificationKeyCreator::makeFullTextualRepresentationKey().
SVX_DLLPUBLIC void svx::classification::removeAllProperties | ( | css::uno::Reference< css::beans::XPropertyContainer > const & | rxPropertyContainer | ) |
void svx::classification::removeAllProperties | ( | uno::Reference< beans::XPropertyContainer > const & | rxPropertyContainer | ) |
Definition at line 67 of file ClassificationCommon.cxx.
References aProperties.