Lines Matching refs:embed

56     m_nObjectState = embed::EmbedStates::LOADED;  in OSpecialEmbeddedObject()
66 static_cast< embed::XEmbeddedObject* >( this ), in queryInterface()
67 static_cast< embed::XInplaceObject* >( this ), in queryInterface()
68 static_cast< embed::XVisualObject* >( this ), in queryInterface()
69 static_cast< embed::XClassifiedObject* >( this ), in queryInterface()
70 static_cast< embed::XComponentSupplier* >( this ), in queryInterface()
93 ::getCppuType( (const uno::Reference< embed::XEmbeddedObject >*)NULL ), in getTypes()
94 … ::getCppuType( (const uno::Reference< embed::XInplaceObject >*)NULL ) ); in getTypes()
104 embed::VisualRepresentation SAL_CALL OSpecialEmbeddedObject::getPreferredVisualRepresentation( sal_… in getPreferredVisualRepresentation()
106 embed::WrongStateException, in getPreferredVisualRepresentation()
115 if ( m_nObjectState == -1 || m_nObjectState == embed::EmbedStates::LOADED ) in getPreferredVisualRepresentation()
116 …throw embed::WrongStateException( ::rtl::OUString::createFromAscii( "The own object has no model!\… in getPreferredVisualRepresentation()
119 …OSL_ENSURE( nAspect != embed::Aspects::MSOLE_ICON, "For iconified objects no graphical replacement… in getPreferredVisualRepresentation()
120 if ( nAspect == embed::Aspects::MSOLE_ICON ) in getPreferredVisualRepresentation()
122 throw embed::WrongStateException( ::rtl::OUString::createFromAscii( "Illegal call!\n" ), in getPreferredVisualRepresentation()
126 embed::VisualRepresentation aVisualRepresentation; in getPreferredVisualRepresentation()
145 embed::WrongStateException, in setVisualAreaSize()
153 …OSL_ENSURE( nAspect != embed::Aspects::MSOLE_ICON, "For iconified objects no graphical replacement… in setVisualAreaSize()
154 if ( nAspect == embed::Aspects::MSOLE_ICON ) in setVisualAreaSize()
156 throw embed::WrongStateException( ::rtl::OUString::createFromAscii( "Illegal call!\n" ), in setVisualAreaSize()
164 embed::WrongStateException, in getVisualAreaSize()
172 …OSL_ENSURE( nAspect != embed::Aspects::MSOLE_ICON, "For iconified objects no graphical replacement… in getVisualAreaSize()
173 if ( nAspect == embed::Aspects::MSOLE_ICON ) in getVisualAreaSize()
175 throw embed::WrongStateException( ::rtl::OUString::createFromAscii( "Illegal call!\n" ), in getVisualAreaSize()
179 …throw embed::WrongStateException( ::rtl::OUString::createFromAscii( "The own object has no model!\… in getVisualAreaSize()
194 …OSL_ENSURE( nAspect != embed::Aspects::MSOLE_ICON, "For iconified objects no graphical replacement… in getMapUnit()
195 if ( nAspect == embed::Aspects::MSOLE_ICON ) in getMapUnit()
197 throw embed::WrongStateException( ::rtl::OUString::createFromAscii( "Illegal call!\n" ), in getMapUnit()
200 return embed::EmbedMapUnits::ONE_100TH_MM; in getMapUnit()
204 throw ( ::com::sun::star::embed::UnreachableStateException, in changeState()
205 ::com::sun::star::embed::WrongStateException, in changeState()
209 if ( nNewState == embed::EmbedStates::UI_ACTIVE ) in changeState()
210 nNewState = embed::EmbedStates::INPLACE_ACTIVE; in changeState()
216 embed::WrongStateException, in doVerb()
217 embed::UnreachableStateException, in doVerb()
226 …throw embed::WrongStateException( ::rtl::OUString::createFromAscii( "The object has no persistence… in doVerb()
236 throw embed::UnreachableStateException(); in doVerb()