ndgrf.hxx (9ff67546) | ndgrf.hxx (51d7d8e8) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 107 unchanged lines hidden (view full) --- 116 input parameter - name of substorage. Can be empty. 117 118 @return XStorage 119 reference to substorage or the root storage 120 */ 121 ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > _GetDocSubstorageOrRoot( 122 const String& aStgName ) const; 123 | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 107 unchanged lines hidden (view full) --- 116 input parameter - name of substorage. Can be empty. 117 118 @return XStorage 119 reference to substorage or the root storage 120 */ 121 ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > _GetDocSubstorageOrRoot( 122 const String& aStgName ) const; 123 |
124 /// allow reaction on change of content of GraphicObject, so always call 125 /// when GraphicObject content changes 126 void onGraphicChanged(); 127 |
|
124public: 125 virtual ~SwGrfNode(); 126 const Graphic& GetGrf() const { return maGrfObj.GetGraphic(); } 127 const GraphicObject& GetGrfObj() const { return maGrfObj; } 128 const GraphicObject* GetReplacementGrfObj() const; 129 virtual SwCntntNode *SplitCntntNode( const SwPosition & ); 130 131 /// isolated only way to set GraphicObject to allow more actions when doing so 132 void SetGraphic(const Graphic& rGraphic, const String& rLink); 133 134 /// wrappers for non-const calls at GraphicObject 135 void ReleaseGraphicFromCache() { maGrfObj.ReleaseFromCache(); } 136 void StartGraphicAnimation(OutputDevice* pOut, const Point& rPt, const Size& rSz, long nExtraData = 0, const GraphicAttr* pAttr = NULL, sal_uLong nFlags = GRFMGR_DRAW_STANDARD, OutputDevice* pFirstFrameOutDev = NULL) { maGrfObj.StartAnimation(pOut, rPt, rSz, nExtraData, pAttr, nFlags, pFirstFrameOutDev); } 137 void StopGraphicAnimation(OutputDevice* pOut = NULL, long nExtraData = 0) { maGrfObj.StopAnimation(pOut, nExtraData); } 138 | 128public: 129 virtual ~SwGrfNode(); 130 const Graphic& GetGrf() const { return maGrfObj.GetGraphic(); } 131 const GraphicObject& GetGrfObj() const { return maGrfObj; } 132 const GraphicObject* GetReplacementGrfObj() const; 133 virtual SwCntntNode *SplitCntntNode( const SwPosition & ); 134 135 /// isolated only way to set GraphicObject to allow more actions when doing so 136 void SetGraphic(const Graphic& rGraphic, const String& rLink); 137 138 /// wrappers for non-const calls at GraphicObject 139 void ReleaseGraphicFromCache() { maGrfObj.ReleaseFromCache(); } 140 void StartGraphicAnimation(OutputDevice* pOut, const Point& rPt, const Size& rSz, long nExtraData = 0, const GraphicAttr* pAttr = NULL, sal_uLong nFlags = GRFMGR_DRAW_STANDARD, OutputDevice* pFirstFrameOutDev = NULL) { maGrfObj.StartAnimation(pOut, rPt, rSz, nExtraData, pAttr, nFlags, pFirstFrameOutDev); } 141 void StopGraphicAnimation(OutputDevice* pOut = NULL, long nExtraData = 0) { maGrfObj.StopAnimation(pOut, nExtraData); } 142 |
139 /// allow reaction on change of content of GraphicObject, so always call 140 /// when GraphicObject content changes 141 void onGraphicChanged(); 142 | |
143 virtual Size GetTwipSize() const; 144#ifndef _FESHVIEW_ONLY_INLINE_NEEDED 145 void SetTwipSize( const Size& rSz ); 146 147 sal_Bool IsTransparent() const; 148 149 inline sal_Bool IsAnimated() const { return maGrfObj.IsAnimated(); } 150 --- 95 unchanged lines hidden --- | 143 virtual Size GetTwipSize() const; 144#ifndef _FESHVIEW_ONLY_INLINE_NEEDED 145 void SetTwipSize( const Size& rSz ); 146 147 sal_Bool IsTransparent() const; 148 149 inline sal_Bool IsAnimated() const { return maGrfObj.IsAnimated(); } 150 --- 95 unchanged lines hidden --- |