19#ifndef INCLUDED_SW_INC_UNOCOLL_HXX
20#define INCLUDED_SW_INC_UNOCOLL_HXX
23#include <com/sun/star/lang/XServiceInfo.hpp>
24#include <com/sun/star/container/XEnumerationAccess.hpp>
25#include <com/sun/star/container/XNameAccess.hpp>
26#include <com/sun/star/container/XIndexAccess.hpp>
187#define CSS_TEXT_TEXTFIELD_DATE_TIME "com.sun.star.text.textfield.DateTime"
188#define CSS_TEXT_TEXTFIELD_USER "com.sun.star.text.textfield.User"
189#define CSS_TEXT_TEXTFIELD_SET_EXPRESSION "com.sun.star.text.textfield.SetExpression"
190#define CSS_TEXT_TEXTFIELD_GET_EXPRESSION "com.sun.star.text.textfield.GetExpression"
191#define CSS_TEXT_TEXTFIELD_FILE_NAME "com.sun.star.text.textfield.FileName"
192#define CSS_TEXT_TEXTFIELD_PAGE_NUMBER "com.sun.star.text.textfield.PageNumber"
193#define CSS_TEXT_TEXTFIELD_AUTHOR "com.sun.star.text.textfield.Author"
194#define CSS_TEXT_TEXTFIELD_CHAPTER "com.sun.star.text.textfield.Chapter"
195#define CSS_TEXT_TEXTFIELD_GET_REFERENCE "com.sun.star.text.textfield.GetReference"
196#define CSS_TEXT_TEXTFIELD_CONDITIONAL_TEXT "com.sun.star.text.textfield.ConditionalText"
197#define CSS_TEXT_TEXTFIELD_ANNOTATION "com.sun.star.text.textfield.Annotation"
198#define CSS_TEXT_TEXTFIELD_INPUT "com.sun.star.text.textfield.Input"
199#define CSS_TEXT_TEXTFIELD_MACRO "com.sun.star.text.textfield.Macro"
200#define CSS_TEXT_TEXTFIELD_DDE "com.sun.star.text.textfield.DDE"
201#define CSS_TEXT_TEXTFIELD_HIDDEN_PARAGRAPH "com.sun.star.text.textfield.HiddenParagraph"
202#define CSS_TEXT_TEXTFIELD_TEMPLATE_NAME "com.sun.star.text.textfield.TemplateName"
203#define CSS_TEXT_TEXTFIELD_EXTENDED_USER "com.sun.star.text.textfield.ExtendedUser"
204#define CSS_TEXT_TEXTFIELD_REFERENCE_PAGE_SET "com.sun.star.text.textfield.ReferencePageSet"
205#define CSS_TEXT_TEXTFIELD_REFERENCE_PAGE_GET "com.sun.star.text.textfield.ReferencePageGet"
206#define CSS_TEXT_TEXTFIELD_JUMP_EDIT "com.sun.star.text.textfield.JumpEdit"
207#define CSS_TEXT_TEXTFIELD_SCRIPT "com.sun.star.text.textfield.Script"
208#define CSS_TEXT_TEXTFIELD_DATABASE_NEXT_SET "com.sun.star.text.textfield.DatabaseNextSet"
209#define CSS_TEXT_TEXTFIELD_DATABASE_NUMBER_OF_SET "com.sun.star.text.textfield.DatabaseNumberOfSet"
210#define CSS_TEXT_TEXTFIELD_DATABASE_SET_NUMBER "com.sun.star.text.textfield.DatabaseSetNumber"
211#define CSS_TEXT_TEXTFIELD_DATABASE "com.sun.star.text.textfield.Database"
212#define CSS_TEXT_TEXTFIELD_DATABASE_NAME "com.sun.star.text.textfield.DatabaseName"
213#define CSS_TEXT_TEXTFIELD_TABLE_FORMULA "com.sun.star.text.textfield.TableFormula"
214#define CSS_TEXT_TEXTFIELD_PAGE_COUNT "com.sun.star.text.textfield.PageCount"
215#define CSS_TEXT_TEXTFIELD_PARAGRAPH_COUNT "com.sun.star.text.textfield.ParagraphCount"
216#define CSS_TEXT_TEXTFIELD_WORD_COUNT "com.sun.star.text.textfield.WordCount"
217#define CSS_TEXT_TEXTFIELD_CHARACTER_COUNT "com.sun.star.text.textfield.CharacterCount"
218#define CSS_TEXT_TEXTFIELD_TABLE_COUNT "com.sun.star.text.textfield.TableCount"
219#define CSS_TEXT_TEXTFIELD_GRAPHIC_OBJECT_COUNT "com.sun.star.text.textfield.GraphicObjectCount"
220#define CSS_TEXT_TEXTFIELD_EMBEDDED_OBJECT_COUNT "com.sun.star.text.textfield.EmbeddedObjectCount"
221#define CSS_TEXT_TEXTFIELD_DOCINFO_CHANGE_AUTHOR "com.sun.star.text.textfield.docinfo.ChangeAuthor"
222#define CSS_TEXT_TEXTFIELD_DOCINFO_CHANGE_DATE_TIME "com.sun.star.text.textfield.docinfo.ChangeDateTime"
223#define CSS_TEXT_TEXTFIELD_DOCINFO_EDIT_TIME "com.sun.star.text.textfield.docinfo.EditTime"
224#define CSS_TEXT_TEXTFIELD_DOCINFO_DESCRIPTION "com.sun.star.text.textfield.docinfo.Description"
225#define CSS_TEXT_TEXTFIELD_DOCINFO_CREATE_AUTHOR "com.sun.star.text.textfield.docinfo.CreateAuthor"
226#define CSS_TEXT_TEXTFIELD_DOCINFO_CREATE_DATE_TIME "com.sun.star.text.textfield.docinfo.CreateDateTime"
227#define CSS_TEXT_TEXTFIELD_DOCINFO_PRINT_AUTHOR "com.sun.star.text.textfield.docinfo.PrintAuthor"
228#define CSS_TEXT_TEXTFIELD_DOCINFO_PRINT_DATE_TIME "com.sun.star.text.textfield.docinfo.PrintDateTime"
229#define CSS_TEXT_TEXTFIELD_DOCINFO_KEY_WORDS "com.sun.star.text.textfield.docinfo.KeyWords"
230#define CSS_TEXT_TEXTFIELD_DOCINFO_SUBJECT "com.sun.star.text.textfield.docinfo.Subject"
231#define CSS_TEXT_TEXTFIELD_DOCINFO_TITLE "com.sun.star.text.textfield.docinfo.Title"
232#define CSS_TEXT_TEXTFIELD_DOCINFO_REVISION "com.sun.star.text.textfield.docinfo.Revision"
233#define CSS_TEXT_TEXTFIELD_DOCINFO_CUSTOM "com.sun.star.text.textfield.docinfo.Custom"
234#define CSS_TEXT_TEXTFIELD_BIBLIOGRAPHY "com.sun.star.text.textfield.Bibliography"
235#define CSS_TEXT_TEXTFIELD_COMBINED_CHARACTERS "com.sun.star.text.textfield.CombinedCharacters"
236#define CSS_TEXT_TEXTFIELD_DROP_DOWN "com.sun.star.text.textfield.DropDown"
237#define CSS_TEXT_TEXTFIELD_INPUT_USER "com.sun.star.text.textfield.InputUser"
238#define CSS_TEXT_TEXTFIELD_HIDDEN_TEXT "com.sun.star.text.textfield.HiddenText"
239#define CSS_TEXT_FIELDMASTER_USER "com.sun.star.text.fieldmaster.User"
240#define CSS_TEXT_FIELDMASTER_DDE "com.sun.star.text.fieldmaster.DDE"
241#define CSS_TEXT_FIELDMASTER_SET_EXPRESSION "com.sun.star.text.fieldmaster.SetExpression"
242#define CSS_TEXT_FIELDMASTER_DATABASE "com.sun.star.text.fieldmaster.Database"
243#define CSS_TEXT_FIELDMASTER_BIBLIOGRAPHY "com.sun.star.text.fieldmaster.Bibliography"
258 css::container::XNameAccess,
259 css::container::XIndexAccess,
260 css::lang::XServiceInfo
271 virtual sal_Int32 SAL_CALL getCount( )
override;
272 virtual css::uno::Any SAL_CALL getByIndex(sal_Int32
nIndex)
override;
275 virtual css::uno::Any SAL_CALL getByName(
const OUString&
Name)
override;
276 virtual css::uno::Sequence< OUString > SAL_CALL getElementNames()
override;
277 virtual sal_Bool SAL_CALL hasByName(
const OUString&
Name)
override;
280 virtual css::uno::Type SAL_CALL getElementType( )
override;
281 virtual sal_Bool SAL_CALL hasElements( )
override;
294 css::container::XEnumerationAccess,
295 css::container::XNameAccess,
296 css::container::XIndexAccess,
297 css::lang::XServiceInfo
310 virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
createEnumeration()
override;
313 virtual sal_Int32 SAL_CALL
getCount()
override;
314 virtual css::uno::Any SAL_CALL
getByIndex(sal_Int32 nIndex)
override;
317 virtual css::uno::Any SAL_CALL
getByName(
const OUString& Name)
override;
318 virtual css::uno::Sequence< OUString > SAL_CALL
getElementNames()
override;
378 virtual sal_Int32 SAL_CALL
getCount()
override;
382 virtual css::uno::Any SAL_CALL
getByName(
const OUString&
Name)
override;
383 virtual css::uno::Sequence< OUString > SAL_CALL
getElementNames()
override;
406 virtual sal_Int32 SAL_CALL
getCount()
override;
410 virtual css::uno::Any SAL_CALL
getByName(
const OUString&
Name)
override;
411 virtual css::uno::Sequence< OUString > SAL_CALL
getElementNames()
override;
427 css::container::XIndexAccess
437 virtual sal_Int32 SAL_CALL
getCount()
override;
448 css::container::XIndexAccess,
449 css::lang::XServiceInfo
463 virtual sal_Int32 SAL_CALL
getCount()
override;
464 virtual css::uno::Any SAL_CALL
getByIndex(sal_Int32 nIndex)
override;
486 virtual sal_Int32 SAL_CALL
getCount()
override;
490 virtual css::uno::Any SAL_CALL
getByName(
const OUString&
Name)
override;
491 virtual css::uno::Sequence< OUString > SAL_CALL
getElementNames()
override;
virtual ~SwUnoCollection()
SwUnoCollection(SwDoc *p)
virtual void Invalidate()
SwXBookmarks(SwDoc *pDoc)
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override
virtual css::uno::Any SAL_CALL getByName(const OUString &Name) override
virtual ~SwXBookmarks() override
virtual sal_Bool SAL_CALL hasByName(const OUString &Name) override
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) override
virtual OUString SAL_CALL getImplementationName() override
virtual css::uno::Type SAL_CALL getElementType() override
virtual sal_Bool SAL_CALL hasElements() override
virtual sal_Int32 SAL_CALL getCount() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) override
virtual css::uno::Type SAL_CALL getElementType() override
virtual sal_Bool SAL_CALL hasElements() override
virtual sal_Bool SAL_CALL hasByName(const OUString &Name) override
virtual OUString SAL_CALL getImplementationName() override
virtual css::uno::Any SAL_CALL getByName(const OUString &Name) override
SwXFrames(SwDoc *pDoc, FlyCntType eSet)
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override
virtual ~SwXFrames() override
virtual sal_Int32 SAL_CALL getCount() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override
SwXNumberingRulesCollection(SwDoc *pDoc)
virtual css::uno::Type SAL_CALL getElementType() override
virtual sal_Int32 SAL_CALL getCount() override
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) override
virtual sal_Bool SAL_CALL hasElements() override
virtual ~SwXNumberingRulesCollection() override
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override
virtual ~SwXReferenceMarks() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual sal_Int32 SAL_CALL getCount() override
virtual sal_Bool SAL_CALL hasElements() override
SwXReferenceMarks(SwDoc *pDoc)
virtual css::uno::Any SAL_CALL getByName(const OUString &Name) override
virtual sal_Bool SAL_CALL hasByName(const OUString &Name) override
virtual OUString SAL_CALL getImplementationName() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual css::uno::Type SAL_CALL getElementType() override
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) override
static SwServiceType GetProviderType(std::u16string_view rServiceName)
static css::uno::Sequence< OUString > GetAllServiceNames()
static css::uno::Reference< css::uno::XInterface > MakeInstance(SwServiceType nObjectType, SwDoc &rDoc)
static OUString GetProviderName(SwServiceType nObjectType)
virtual OUString SAL_CALL getImplementationName() override
SwXTextEmbeddedObjects(SwDoc *pDoc)
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual ~SwXTextEmbeddedObjects() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual OUString SAL_CALL getImplementationName() override
SwXTextFrames(SwDoc *pDoc)
virtual ~SwXTextFrames() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
SwXTextGraphicObjects(SwDoc *pDoc)
virtual ~SwXTextGraphicObjects() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual OUString SAL_CALL getImplementationName() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual css::uno::Any SAL_CALL getByName(const OUString &Name) override
static css::uno::Reference< css::text::XTextSection > GetObject(SwSectionFormat &rFormat)
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override
virtual OUString SAL_CALL getImplementationName() override
virtual css::uno::Type SAL_CALL getElementType() override
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) override
virtual sal_Bool SAL_CALL hasByName(const OUString &Name) override
SwXTextSections(SwDoc *pDoc)
virtual sal_Bool SAL_CALL hasElements() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual ~SwXTextSections() override
virtual sal_Int32 SAL_CALL getCount() override
virtual css::uno::Reference< css::embed::XEmbeddedObject > GetObject() override
css::uno::Sequence< OUString > getSupportedServiceNames()
OUString getImplementationName()
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
cppu::WeakImplHelper< css::container::XNameAccess, css::container::XIndexAccess, css::lang::XServiceInfo > SwCollectionBaseClass
SwServiceType
entries in this enum are mapped in an array in unocoll.cxx
@ FieldTypeConditionedText
@ FieldTypeDatabaseNumSet
@ FieldTypeGraphicObjectCount
@ FieldMasterBibliography
@ FieldTypeParagraphCount
@ StyleConditionalParagraph
@ FieldTypeDocInfoRevision
@ FieldTypeDatabaseNextSet
@ FieldTypeDocInfoPrintAuthor
@ FieldTypeDocInfoCreateDateTime
@ FieldTypeDocInfoKeywords
@ FieldTypeDocInfoSubject
@ FieldTypeDocInfoDescription
@ FieldTypeCharacterCount
@ FieldTypeDocInfoChangeAuthor
@ FieldTypeEmbeddedObjectCount
@ FieldTypeDocInfoEditTime
@ FieldTypeCombinedCharacters
@ FieldTypeDocInfoCreateAuthor
@ FieldTypeDocInfoPrintDateTime
@ FieldTypeDatabaseSetNum
@ FieldTypeDocInfoChangeDateTime
const SvEventDescription * sw_GetSupportedMacroItems()
cppu::WeakImplHelper< css::container::XIndexAccess, css::lang::XServiceInfo > SwSimpleIndexAccessBaseClass
cppu::WeakImplHelper< css::container::XEnumerationAccess, css::container::XNameAccess, css::container::XIndexAccess, css::lang::XServiceInfo > SwXFramesBaseClass