Lines Matching refs:nAspect
84 void SAL_CALL OleEmbeddedObject::setVisualAreaSize( sal_Int64 nAspect, const awt::Size& aSize ) in setVisualAreaSize() argument
97 xWrappedObject->setVisualAreaSize( nAspect, aSize ); in setVisualAreaSize()
106 …OSL_ENSURE( nAspect != embed::Aspects::MSOLE_ICON, "For iconified objects no graphical replacement… in setVisualAreaSize()
107 if ( nAspect == embed::Aspects::MSOLE_ICON ) in setVisualAreaSize()
122 ( ( getStatus( nAspect ) & embed::EmbedMisc::MS_EMBED_RECOMPOSEONRESIZE ) in setVisualAreaSize()
145 m_pOleComponent->SetExtent( aSizeToSet, nAspect ); // will throw an exception in case of failure in setVisualAreaSize()
153 m_nAspectToSet = nAspect; in setVisualAreaSize()
162 m_nCachedAspect = nAspect; in setVisualAreaSize()
165 awt::Size SAL_CALL OleEmbeddedObject::getVisualAreaSize( sal_Int64 nAspect ) in getVisualAreaSize() argument
178 return xWrappedObject->getVisualAreaSize( nAspect ); in getVisualAreaSize()
186 …OSL_ENSURE( nAspect != embed::Aspects::MSOLE_ICON, "For iconified objects no graphical replacement… in getVisualAreaSize()
187 if ( nAspect == embed::Aspects::MSOLE_ICON ) in getVisualAreaSize()
200 if ( m_pOleComponent && !m_bHasSizeToSet && nAspect == embed::Aspects::MSOLE_CONTENT ) in getVisualAreaSize()
235 aSize = m_pOleComponent->GetExtent( nAspect ); // will throw an exception in case of failure in getVisualAreaSize()
247 … aSize = m_pOleComponent->GetCachedExtent( nAspect ); // will throw an exception in case of failure in getVisualAreaSize()
260 …aSize = m_pOleComponent->GetReccomendedExtent( nAspect ); // will throw an exception in case of fa… in getVisualAreaSize()
276 m_nCachedAspect = nAspect; in getVisualAreaSize()
299 OSL_ENSURE( nAspect == m_nCachedAspect, "Unexpected aspect is requested!\n" ); in getVisualAreaSize()
313 …ualRepresentation SAL_CALL OleEmbeddedObject::getPreferredVisualRepresentation( sal_Int64 nAspect ) in getPreferredVisualRepresentation() argument
326 return xWrappedObject->getPreferredVisualRepresentation( nAspect ); in getPreferredVisualRepresentation()
334 …OSL_ENSURE( nAspect != embed::Aspects::MSOLE_ICON, "For iconified objects no graphical replacement… in getPreferredVisualRepresentation()
335 if ( nAspect == embed::Aspects::MSOLE_ICON ) in getPreferredVisualRepresentation()
410 sal_Int32 SAL_CALL OleEmbeddedObject::getMapUnit( sal_Int64 nAspect ) in getMapUnit() argument
419 return xWrappedObject->getMapUnit( nAspect ); in getMapUnit()
427 …OSL_ENSURE( nAspect != embed::Aspects::MSOLE_ICON, "For iconified objects no graphical replacement… in getMapUnit()
428 if ( nAspect == embed::Aspects::MSOLE_ICON ) in getMapUnit()