Lines Matching refs:Metadatable

169     virtual void RegisterMetadatableAndCreateID(Metadatable& i_xObject) = 0;
185 virtual bool TryRegisterMetadatable(Metadatable& i_xObject,
198 virtual void UnregisterMetadatable(Metadatable const&) = 0;
202 GetXmlIdForElement(Metadatable const&) const;
205 virtual void RemoveXmlIdForElement(Metadatable const&) = 0;
209 virtual bool LookupXmlId(const Metadatable& i_xObject,
212 virtual Metadatable* LookupElement(const ::rtl::OUString & i_rStreamName,
227 virtual void RegisterMetadatableAndCreateID(Metadatable& i_xObject);
229 virtual bool TryRegisterMetadatable(Metadatable& i_xObject,
232 virtual void UnregisterMetadatable(Metadatable const&);
234 virtual void RemoveXmlIdForElement(Metadatable const&);
238 void RegisterCopy(Metadatable const& i_rSource, Metadatable & i_rCopy,
243 Metadatable const& i_rObject);
246 void JoinMetadatables(Metadatable & i_rMerged, Metadatable const& i_rOther);
249 virtual bool LookupXmlId(const Metadatable& i_xObject,
254 virtual Metadatable* LookupElement(const ::rtl::OUString & i_rStreamName,
264 class MetadatableUndo : public Metadatable
289 class MetadatableClipboard : public Metadatable
321 virtual void RegisterMetadatableAndCreateID(Metadatable& i_xObject);
323 virtual bool TryRegisterMetadatable(Metadatable& i_xObject,
326 virtual void UnregisterMetadatable(Metadatable const&);
328 virtual void RemoveXmlIdForElement(Metadatable const&);
331 MetadatableClipboard & RegisterCopyClipboard(Metadatable & i_rCopy,
336 MetadatableClipboard const* SourceLink(Metadatable const& i_rObject);
339 virtual bool LookupXmlId(const Metadatable& i_xObject,
342 virtual Metadatable* LookupElement(const ::rtl::OUString & i_rStreamName,
376 Metadatable* pObject( LookupElement(i_rReference.First, in GetElementByMetadataReference()
382 XmlIdRegistry::GetXmlIdForElement(const Metadatable& i_rObject) const in GetXmlIdForElement()
422 typedef ::std::list< Metadatable* > XmlIdList_t;
438 typedef ::std::hash_map< const Metadatable*,
439 ::std::pair< ::rtl::OUString, ::rtl::OUString>, PtrHash<Metadatable> >
447 bool TryInsertMetadatable(Metadatable& i_xObject,
450 bool LookupXmlId(const Metadatable& i_xObject,
453 Metadatable* LookupElement(const ::rtl::OUString & i_rStreamName,
477 ::rtl::OUString const & i_rStream, Metadatable const& i_rObject) in rmIter()
483 rList.remove(&const_cast<Metadatable&>(i_rObject)); in rmIter()
513 Metadatable*
533 ::boost::bind( &Metadatable::IsInUndo, _1 ), in LookupElement()
534 ::boost::bind( &Metadatable::IsInClipboard, _1 ) in LookupElement()
546 const Metadatable& i_rObject, in LookupXmlId()
569 Metadatable & i_rObject, in TryInsertMetadatable()
594 ::boost::bind( &Metadatable::IsInUndo, _1 ), in TryInsertMetadatable()
595 ::boost::bind( &Metadatable::IsInClipboard, _1 ) in TryInsertMetadatable()
629 removeLink(Metadatable* i_pObject) in removeLink()
660 const Metadatable& i_rObject, in LookupXmlId()
666 Metadatable*
675 XmlIdRegistryDocument::TryRegisterMetadatable(Metadatable & i_rObject, in TryRegisterMetadatable()
727 XmlIdRegistryDocument::RegisterMetadatableAndCreateID(Metadatable & i_rObject) in RegisterMetadatableAndCreateID()
770 void XmlIdRegistryDocument::UnregisterMetadatable(const Metadatable& i_rObject) in UnregisterMetadatable()
788 void XmlIdRegistryDocument::RemoveXmlIdForElement(const Metadatable& i_rObject) in RemoveXmlIdForElement()
804 void XmlIdRegistryDocument::RegisterCopy(Metadatable const& i_rSource, in RegisterCopy()
805 Metadatable & i_rCopy, const bool i_bCopyPrecedesSource) in RegisterCopy()
848 XmlIdRegistryDocument::CreateUndo(Metadatable const& i_rObject) in CreateUndo()
875 Metadatable & i_rMerged, Metadatable const & i_rOther) in JoinMetadatables()
921 typedef ::std::hash_map< const Metadatable*,
923 PtrHash<Metadatable> >
928 ::std::pair< Metadatable*, Metadatable* >, ::rtl::OUStringHash >
936 bool TryInsertMetadatable(Metadatable& i_xObject,
939 bool LookupXmlId(const Metadatable& i_xObject,
943 Metadatable* LookupElement(const ::rtl::OUString & i_rStreamName,
946 Metadatable* const* LookupEntry(const ::rtl::OUString & i_rStreamName,
949 Metadatable* * LookupEntry(const ::rtl::OUString & i_rStreamName, in LookupEntry()
952 return const_cast<Metadatable**>( in LookupEntry()
966 ::rtl::OUString const & i_rStream, Metadatable const& i_rObject) in rmIter()
970 Metadatable *& rMeta = isContentFile(i_rStream) in rmIter()
985 Metadatable* const*
1011 Metadatable*
1016 Metadatable * const * ppEntry = LookupEntry(i_rStreamName, i_rIdref); in LookupElement()
1022 const Metadatable& i_rObject, in LookupXmlId()
1047 Metadatable & i_rObject, in TryInsertMetadatable()
1056 Metadatable ** ppEntry = LookupEntry(i_rStreamName, i_rIdref); in TryInsertMetadatable()
1072 ? ::std::make_pair( &i_rObject, static_cast<Metadatable*>(0) ) in TryInsertMetadatable()
1073 : ::std::make_pair( static_cast<Metadatable*>(0), &i_rObject ))); in TryInsertMetadatable()
1093 const Metadatable& i_rObject, in LookupXmlId()
1100 Metadatable*
1109 XmlIdRegistryClipboard::TryRegisterMetadatable(Metadatable & i_rObject, in TryRegisterMetadatable()
1162 XmlIdRegistryClipboard::RegisterMetadatableAndCreateID(Metadatable & i_rObject) in RegisterMetadatableAndCreateID()
1189 ? ::std::make_pair( &i_rObject, static_cast<Metadatable*>(0) ) in RegisterMetadatableAndCreateID()
1190 : ::std::make_pair( static_cast<Metadatable*>(0), &i_rObject ))); in RegisterMetadatableAndCreateID()
1196 void XmlIdRegistryClipboard::UnregisterMetadatable(const Metadatable& i_rObject) in UnregisterMetadatable()
1216 void XmlIdRegistryClipboard::RemoveXmlIdForElement(const Metadatable& i_rObject) in RemoveXmlIdForElement()
1242 XmlIdRegistryClipboard::RegisterCopyClipboard(Metadatable & i_rCopy, in RegisterCopyClipboard()
1280 XmlIdRegistryClipboard::SourceLink(Metadatable const& i_rObject) in SourceLink()
1294 Metadatable::~Metadatable() in ~Metadatable()
1299 void Metadatable::RemoveMetadataReference() in RemoveMetadataReference()
1318 Metadatable::GetMetadataReference() const in GetMetadataReference()
1328 Metadatable::SetMetadataReference( in SetMetadataReference()
1359 void Metadatable::EnsureMetadataReference() in EnsureMetadataReference()
1367 const ::sfx2::IXmlIdRegistry& GetRegistryConst(Metadatable const& i_rObject) in GetRegistryConst()
1369 return const_cast< Metadatable& >( i_rObject ).GetRegistry(); in GetRegistryConst()
1373 Metadatable::RegisterAsCopyOf(Metadatable const & i_rSource, in RegisterAsCopyOf()
1430 Metadatable & rLink( in RegisterAsCopyOf()
1491 ::boost::shared_ptr<MetadatableUndo> Metadatable::CreateUndo() const in CreateUndo()
1515 ::boost::shared_ptr<MetadatableUndo> Metadatable::CreateUndoForDelete() in CreateUndoForDelete()
1522 void Metadatable::RestoreMetadata( in RestoreMetadata()
1537 Metadatable::JoinMetadatable(Metadatable const & i_rOther, in JoinMetadatable()
1629 Metadatable *const pObject( GetCoreObject() ); in getMetadataReference()
1647 Metadatable *const pObject( GetCoreObject() ); in setMetadataReference()
1663 Metadatable *const pObject( GetCoreObject() ); in ensureMetadataReference()