Kaydet (Commit) 701cc2aa authored tarafından Noel Power's avatar Noel Power

export page/cell anchoring for xls drawing objects fdo#58360

Change-Id: I8f12ce4fedd3da76bab683ac85169186deeb89dc
üst 55f0c9e0
......@@ -257,9 +257,11 @@ XclExpDffSheetAnchor::XclExpDffSheetAnchor( const XclExpRoot& rRoot ) :
void XclExpDffSheetAnchor::ImplSetFlags( const SdrObject& rSdrObj )
{
// Special case "page anchor" (X==0,Y==1) -> lock pos and size.
const Point& rPos = rSdrObj.GetAnchorPos();
mnFlags = ((rPos.X() == 0) && (rPos.Y() == 1)) ? EXC_ESC_ANCHOR_LOCKED : 0;
// set flags for cell/page anchoring
if ( ScDrawLayer::GetAnchorType( rSdrObj ) == SCA_CELL )
mnFlags = 0;
else
mnFlags = EXC_ESC_ANCHOR_LOCKED;
}
void XclExpDffSheetAnchor::ImplCalcAnchorRect( const Rectangle& rRect, MapUnit eMapUnit )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment