Home
last modified time | relevance | path

Searched refs:nAspect (Results 1 – 25 of 85) sorted by relevance

1234

/aoo42x/main/embeddedobj/source/msole/
H A Dolevisual.cxx97 xWrappedObject->setVisualAreaSize( nAspect, aSize ); in setVisualAreaSize()
107 if ( nAspect == embed::Aspects::MSOLE_ICON ) in setVisualAreaSize()
153 m_nAspectToSet = nAspect; in setVisualAreaSize()
162 m_nCachedAspect = nAspect; in setVisualAreaSize()
178 return xWrappedObject->getVisualAreaSize( nAspect ); in getVisualAreaSize()
187 if ( nAspect == embed::Aspects::MSOLE_ICON ) in getVisualAreaSize()
276 m_nCachedAspect = nAspect; in getVisualAreaSize()
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()
[all …]
H A Dolecomponent.hxx142 void SetExtent( const ::com::sun::star::awt::Size& aVisAreaSize, sal_Int64 nAspect );
144 ::com::sun::star::awt::Size GetExtent( sal_Int64 nAspect );
145 ::com::sun::star::awt::Size GetCachedExtent( sal_Int64 nAspect );
146 ::com::sun::star::awt::Size GetReccomendedExtent( sal_Int64 nAspect );
148 sal_Int64 GetMiscStatus( sal_Int64 nAspect );
H A Dolecomponent.cxx1117 void OleComponent::SetExtent( const awt::Size& aVisAreaSize, sal_Int64 nAspect ) in SetExtent() argument
1122 DWORD nMSAspect = ( DWORD )nAspect; // first 32 bits are for MS aspects in SetExtent()
1139 awt::Size OleComponent::GetExtent( sal_Int64 nAspect ) in GetExtent() argument
1144 DWORD nMSAspect = ( DWORD )nAspect; // first 32 bits are for MS aspects in GetExtent()
1221 awt::Size OleComponent::GetCachedExtent( sal_Int64 nAspect ) in GetCachedExtent() argument
1226 DWORD nMSAspect = ( DWORD )nAspect; // first 32 bits are for MS aspects in GetCachedExtent()
1247 awt::Size OleComponent::GetReccomendedExtent( sal_Int64 nAspect ) in GetReccomendedExtent() argument
1252 DWORD nMSAspect = ( DWORD )nAspect; // first 32 bits are for MS aspects in GetReccomendedExtent()
1262 sal_Int64 OleComponent::GetMiscStatus( sal_Int64 nAspect ) in GetMiscStatus() argument
1268 m_pNativeImpl->m_pOleObject->GetMiscStatus( ( DWORD )nAspect, ( DWORD* )&nResult ); in GetMiscStatus()
/aoo42x/main/embeddedobj/source/commonembedding/
H A Dvisobj.cxx40 void SAL_CALL OCommonEmbeddedObject::setVisualAreaSize( sal_Int64 nAspect, const awt::Size& aSize ) in setVisualAreaSize() argument
53 if ( nAspect == embed::Aspects::MSOLE_ICON ) in setVisualAreaSize()
73 sal_Bool bSuccess = m_pDocHolder->SetExtent( nAspect, aSize ); in setVisualAreaSize()
82 awt::Size SAL_CALL OCommonEmbeddedObject::getVisualAreaSize( sal_Int64 nAspect ) in getVisualAreaSize() argument
113 sal_Bool bSuccess = m_pDocHolder->GetExtent( nAspect, &aResult ); in getVisualAreaSize()
124 sal_Int32 SAL_CALL OCommonEmbeddedObject::getMapUnit( sal_Int64 nAspect ) in getMapUnit() argument
133 if ( nAspect == embed::Aspects::MSOLE_ICON ) in getMapUnit()
154 sal_Int32 nResult = m_pDocHolder->GetMapUnit( nAspect ); in getMapUnit()
165 …epresentation SAL_CALL OCommonEmbeddedObject::getPreferredVisualRepresentation( sal_Int64 nAspect ) in getPreferredVisualRepresentation() argument
183 if ( nAspect == embed::Aspects::MSOLE_ICON ) in getPreferredVisualRepresentation()
[all …]
H A Dspecialobject.cxx104 …presentation SAL_CALL OSpecialEmbeddedObject::getPreferredVisualRepresentation( sal_Int64 nAspect ) in getPreferredVisualRepresentation() argument
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()
143 void SAL_CALL OSpecialEmbeddedObject::setVisualAreaSize( sal_Int64 nAspect, const awt::Size& aSize ) in setVisualAreaSize() argument
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()
162 awt::Size SAL_CALL OSpecialEmbeddedObject::getVisualAreaSize( sal_Int64 nAspect ) in getVisualAreaSize() argument
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()
186 sal_Int32 SAL_CALL OSpecialEmbeddedObject::getMapUnit( sal_Int64 nAspect ) in getMapUnit() argument
[all …]
/aoo42x/main/sd/source/ui/func/
H A Dfuinsert.cxx317 sal_Int64 nAspect = embed::Aspects::MSOLE_CONTENT; in DoExecute() local
329 xObj->setVisualAreaSize( nAspect, aSz ); in DoExecute()
336 aSz = xObj->getVisualAreaSize( nAspect ); in DoExecute()
353 xObj->setVisualAreaSize( nAspect, aSz ); in DoExecute()
418 xObj->setVisualAreaSize( nAspect, aVisualSize ); in DoExecute()
441 sal_Int64 nAspect = embed::Aspects::MSOLE_CONTENT; in DoExecute() local
491 nAspect = embed::Aspects::MSOLE_ICON; in DoExecute()
556 if ( nAspect != embed::Aspects::MSOLE_ICON ) in DoExecute()
561 aSz = xObj->getVisualAreaSize( nAspect ); in DoExecute()
579 xObj->setVisualAreaSize( nAspect, aSz ); in DoExecute()
[all …]
/aoo42x/main/xmloff/source/style/
H A DDrawAspectHdl.cxx59 sal_Int64 nAspect = 0; in importXML() local
61 SvXMLUnitConverter::convertNumber64( nAspect, rStrImpValue ); in importXML()
62 rValue <<= nAspect; in importXML()
64 return nAspect > 0; in importXML()
72 sal_Int64 nAspect = 0; in exportXML() local
73 if( ( rValue >>= nAspect ) && nAspect > 0 ) in exportXML()
76 aOut.append( nAspect ); in exportXML()
/aoo42x/main/sfx2/source/doc/
H A Dobjembed.cxx100 Rectangle SfxObjectShell::GetVisArea( sal_uInt16 nAspect ) const in GetVisArea()
102 if( nAspect == ASPECT_CONTENT ) in GetVisArea()
104 else if( nAspect == ASPECT_THUMBNAIL ) in GetVisArea()
220 sal_uInt16 nAspect ) in DoDraw() argument
223 Size aSize = GetVisArea( nAspect ).GetSize(); in DoDraw()
234 DoDraw_Impl( pDev, rObjPos, aXF, aYF, rSetup, nAspect ); in DoDraw()
244 sal_uInt16 nAspect ) in DoDraw_Impl() argument
246 Rectangle aVisArea = GetVisArea( nAspect ); in DoDraw_Impl()
293 Draw( pDev, rSetup, nAspect ); in DoDraw_Impl()
/aoo42x/main/sc/source/ui/drawfunc/
H A Dfuins2.cxx229 sal_Int64 nAspect = embed::Aspects::MSOLE_CONTENT; in FuInsertOLE() local
273 nAspect = embed::Aspects::MSOLE_ICON; in FuInsertOLE()
332 ::svt::EmbeddedObjectRef aObjRef( xObj, nAspect ); in FuInsertOLE()
337 if ( nAspect == embed::Aspects::MSOLE_ICON ) in FuInsertOLE()
347 aSz = xObj->getVisualAreaSize( nAspect ); in FuInsertOLE()
365 xObj->setVisualAreaSize( nAspect, aSz ); in FuInsertOLE()
390 if ( nAspect != embed::Aspects::MSOLE_ICON ) in FuInsertOLE()
398 awt::Size aSz = xObj->getVisualAreaSize( nAspect ); in FuInsertOLE()
539 const sal_Int64 nAspect = embed::Aspects::MSOLE_CONTENT; in FuInsertChart() local
560 awt::Size aSz = xObj->getVisualAreaSize( nAspect ); in FuInsertChart()
[all …]
/aoo42x/main/embeddedobj/source/general/
H A Ddummyobject.cxx226 void SAL_CALL ODummyEmbeddedObject::setVisualAreaSize( sal_Int64 nAspect, const awt::Size& aSize ) in setVisualAreaSize() argument
235 …OSL_ENSURE( nAspect != embed::Aspects::MSOLE_ICON, "For iconified objects no graphical replacement… in setVisualAreaSize()
236 if ( nAspect == embed::Aspects::MSOLE_ICON ) in setVisualAreaSize()
241 m_nCachedAspect = nAspect; in setVisualAreaSize()
247 awt::Size SAL_CALL ODummyEmbeddedObject::getVisualAreaSize( sal_Int64 nAspect ) in getVisualAreaSize() argument
256 …OSL_ENSURE( nAspect != embed::Aspects::MSOLE_ICON, "For iconified objects no graphical replacement… in getVisualAreaSize()
257 if ( nAspect == embed::Aspects::MSOLE_ICON ) in getVisualAreaSize()
262 if ( !m_bHasCachedSize || m_nCachedAspect != nAspect ) in getVisualAreaSize()
271 sal_Int32 SAL_CALL ODummyEmbeddedObject::getMapUnit( sal_Int64 nAspect ) in getMapUnit() argument
278 …OSL_ENSURE( nAspect != embed::Aspects::MSOLE_ICON, "For iconified objects no graphical replacement… in getMapUnit()
[all …]
/aoo42x/main/offapi/com/sun/star/embed/
H A DXVisualObject.idl69 @param nAspect
85 void setVisualAreaSize( [in] hyper nAspect,
99 @param nAspect
112 ::com::sun::star::awt::Size getVisualAreaSize( [in] hyper nAspect )
125 @param nAspect
143 VisualRepresentation getPreferredVisualRepresentation( [in] hyper nAspect )
152 @param nAspect
166 long getMapUnit( [in] hyper nAspect )
/aoo42x/main/sd/source/ui/docshell/
H A Ddocshel2.cxx62 void DrawDocShell::Draw(OutputDevice* pOut, const JobSetup&, sal_uInt16 nAspect) in Draw() argument
64 if (nAspect == ASPECT_THUMBNAIL) in Draw()
113 Rectangle aVisArea = GetVisArea(nAspect); in Draw()
169 Rectangle DrawDocShell::GetVisArea(sal_uInt16 nAspect) const in GetVisArea()
173 if( ( ASPECT_THUMBNAIL == nAspect ) || ( ASPECT_DOCPRINT == nAspect ) ) in GetVisArea()
186 aVisArea = SfxObjectShell::GetVisArea(nAspect); in GetVisArea()
/aoo42x/main/sw/inc/
H A Dndole.hxx55 SwOLEObj( const String &rName, sal_Int64 nAspect );
61 sal_Int64 nAspect );
99 sal_Int64 nAspect,
134 void SetAspect( sal_Int64 nAspect) { aOLEObj.GetObject().SetViewAspect( nAspect ); } in SetAspect() argument
/aoo42x/main/sc/source/ui/view/
H A Dviewfun7.cxx291 … Size* pDescSize, const Graphic* pReplGraph, const ::rtl::OUString& aMediaType, sal_Int64 nAspect ) in PasteObject() argument
304 svt::EmbeddedObjectRef aObjRef( xObj, nAspect ); in PasteObject()
309 if ( nAspect == embed::Aspects::MSOLE_ICON ) in PasteObject()
317 MapUnit aMapObj = VCLUnoHelper::UnoEmbed2VCLMapUnit( xObj->getMapUnit( nAspect ) ); in PasteObject()
327 xObj->setVisualAreaSize( nAspect, aSz ); in PasteObject()
333 aSz = xObj->getVisualAreaSize( nAspect ); in PasteObject()
351 xObj->setVisualAreaSize( nAspect, aSz ); in PasteObject()
/aoo42x/main/chart2/source/model/main/
H A DChartModel.cxx1045 void SAL_CALL ChartModel::setVisualAreaSize( ::sal_Int64 nAspect, const awt::Size& aSize ) in setVisualAreaSize() argument
1051 if( nAspect == embed::Aspects::MSOLE_CONTENT ) in setVisualAreaSize()
1074 awt::Size SAL_CALL ChartModel::getVisualAreaSize( ::sal_Int64 nAspect ) in getVisualAreaSize() argument
1080 OSL_ENSURE( nAspect == embed::Aspects::MSOLE_CONTENT, in getVisualAreaSize()
1082 (void)(nAspect); // avoid warning in non-debug builds in getVisualAreaSize()
1088 …::VisualRepresentation SAL_CALL ChartModel::getPreferredVisualRepresentation( ::sal_Int64 nAspect ) in getPreferredVisualRepresentation() argument
1094 OSL_ENSURE( nAspect == embed::Aspects::MSOLE_CONTENT, in getPreferredVisualRepresentation()
1096 (void)(nAspect); // avoid warning in non-debug builds in getPreferredVisualRepresentation()
1130 ::sal_Int32 SAL_CALL ChartModel::getMapUnit( ::sal_Int64 nAspect ) in getMapUnit() argument
1134 OSL_ENSURE( nAspect == embed::Aspects::MSOLE_CONTENT, in getMapUnit()
[all …]
/aoo42x/main/svtools/source/misc/
H A Dembedtransfer.cxx49 sal_Int64 nAspect ) in SvEmbedTransferHelper() argument
52 , m_nAspect( nAspect ) in SvEmbedTransferHelper()
200 sal_Int64 nAspect ) in FillTransferableObjectDescriptor() argument
212 rDesc.mnViewAspect = sal::static_int_cast<sal_uInt16>( nAspect ); in FillTransferableObjectDescriptor()
219 if ( nAspect == embed::Aspects::MSOLE_ICON ) in FillTransferableObjectDescriptor()
/aoo42x/main/embeddedobj/source/inc/
H A Dspecialobject.hxx49 …:star::embed::VisualRepresentation SAL_CALL getPreferredVisualRepresentation( ::sal_Int64 nAspect )
55 …virtual void SAL_CALL setVisualAreaSize( sal_Int64 nAspect, const ::com::sun::star::awt::Size& aSi…
61 virtual ::com::sun::star::awt::Size SAL_CALL getVisualAreaSize( sal_Int64 nAspect )
67 virtual sal_Int32 SAL_CALL getMapUnit( sal_Int64 nAspect )
H A Ddummyobject.hxx144 virtual sal_Int64 SAL_CALL getStatus( sal_Int64 nAspect )
154 …virtual void SAL_CALL setVisualAreaSize( sal_Int64 nAspect, const ::com::sun::star::awt::Size& aSi…
160 virtual ::com::sun::star::awt::Size SAL_CALL getVisualAreaSize( sal_Int64 nAspect )
166 …:star::embed::VisualRepresentation SAL_CALL getPreferredVisualRepresentation( ::sal_Int64 nAspect )
172 virtual sal_Int32 SAL_CALL getMapUnit( sal_Int64 nAspect )
/aoo42x/main/sw/source/core/ole/
H A Dndole.cxx260 sal_Int64 nAspect, in SwOLENode() argument
264 aOLEObj( rString, nAspect ), in SwOLENode()
431 const String &rName, sal_Int64 nAspect, SwGrfFmtColl* pGrfColl, SwAttrSet* pAutoAttr ) in MakeOLENode() argument
436 new SwOLENode( rWhere, rName, nAspect, pGrfColl, pAutoAttr ); in MakeOLENode()
693 SwOLEObj::SwOLEObj( const String &rString, sal_Int64 nAspect ) : in SwOLEObj() argument
699 xOLERef.SetViewAspect( nAspect ); in SwOLEObj()
882 …UnloadObject( uno::Reference< embed::XEmbeddedObject > xObj, const SwDoc* pDoc, sal_Int64 nAspect ) in UnloadObject() argument
890 sal_Int64 nMiscStatus = xObj->getStatus( nAspect ); in UnloadObject()
/aoo42x/main/odk/examples/java/EmbedDocument/EmbeddedObject/
H A DOwnEmbeddedObject.java581 …public void setVisualAreaSize(long nAspect, com.sun.star.awt.Size aSize) throws com.sun.star.lang.… in setVisualAreaSize() argument
589 if ( nAspect == com.sun.star.embed.Aspects.MSOLE_ICON ) in setVisualAreaSize()
604 …public com.sun.star.awt.Size getVisualAreaSize(long nAspect) throws com.sun.star.lang.IllegalArgum… in getVisualAreaSize() argument
612 if ( nAspect == com.sun.star.embed.Aspects.MSOLE_ICON ) in getVisualAreaSize()
625 …public VisualRepresentation getPreferredVisualRepresentation(long nAspect) throws com.sun.star.lan… in getPreferredVisualRepresentation() argument
633 if ( nAspect == com.sun.star.embed.Aspects.MSOLE_ICON ) in getPreferredVisualRepresentation()
648 public int getMapUnit(long nAspect) throws com.sun.star.uno.Exception in getMapUnit() argument
656 if ( nAspect == com.sun.star.embed.Aspects.MSOLE_ICON ) in getMapUnit()
1125 public long getStatus(long nAspect) throws com.sun.star.embed.WrongStateException in getStatus() argument
/aoo42x/main/svtools/inc/svtools/
H A Dembedhlp.hxx86 … void Assign( const NS_UNO::Reference < NS_EMBED::XEmbeddedObject >& xObj, sal_Int64 nAspect );
89 …mbeddedObjectRef( const NS_UNO::Reference < NS_EMBED::XEmbeddedObject >& xObj, sal_Int64 nAspect );
101 void SetViewAspect( sal_Int64 nAspect );
/aoo42x/main/sw/source/ui/app/
H A Ddocsh.cxx870 sal_uInt16 nAspect ) in Draw() argument
882 if ( rSetup.GetPrinterName().Len() && ASPECT_THUMBNAIL != nAspect ) in Draw()
890 Rectangle aRect( nAspect == ASPECT_THUMBNAIL ? in Draw()
891 GetVisArea( nAspect ) : GetVisArea( ASPECT_CONTENT ) ); in Draw()
937 Rectangle SwDocShell::GetVisArea( sal_uInt16 nAspect ) const in GetVisArea()
939 if ( nAspect == ASPECT_THUMBNAIL ) in GetVisArea()
948 return SfxObjectShell::GetVisArea( nAspect ); in GetVisArea()
/aoo42x/main/sw/source/filter/ww8/
H A Dwrtww8gr.cxx163 sal_Int64 nAspect = embed::Aspects::MSOLE_CONTENT; in TestOleNeedsGraphic()
165 nAspect = pOLENd->GetAspect(); in TestOleNeedsGraphic()
167 rStorageName,xObjStg,pDoc->GetDocStorage(),aGraph,aRect,aVisArea,0,nErr,0,nAspect); in TestOleNeedsGraphic()
287 sal_Int64 nAspect = rOLENode.GetAspect(); in OutputOLENode() local
288 svt::EmbeddedObjectRef aObjRef( xObj, nAspect ); in OutputOLENode()
290 if ( nAspect == embed::Aspects::MSOLE_ICON ) in OutputOLENode()
/aoo42x/main/sw/source/ui/wrtsh/
H A Dwrtsh1.cxx687 sal_Int64 nAspect = xObj.GetViewAspect(); in CalcAndSetScale() local
688 if ( nAspect == embed::Aspects::MSOLE_ICON ) in CalcAndSetScale()
696 nMisc = xObj->getStatus( nAspect ); in CalcAndSetScale()
710 MapUnit aUnit = VCLUnoHelper::UnoEmbed2VCLMapUnit( xObj->getMapUnit( nAspect ) ); in CalcAndSetScale()
717 xObj->setVisualAreaSize( nAspect, aSz ); in CalcAndSetScale()
783 aSize = xObj->getVisualAreaSize( nAspect ); in CalcAndSetScale()
809 MapUnit aUnit = VCLUnoHelper::UnoEmbed2VCLMapUnit( xObj->getMapUnit( nAspect ) ); in CalcAndSetScale()
/aoo42x/main/reportdesign/source/core/sdr/
H A DReportDrawPage.cxx106 sal_Int64 nAspect = embed::Aspects::MSOLE_CONTENT; in _CreateShape() local
122 pOle2Obj->SetAspect(nAspect); in _CreateShape()
127 xObj->setVisualAreaSize( nAspect, aSz ); in _CreateShape()

Completed in 124 milliseconds

1234