| LibreOffice Module sc (master) 1
    | 
Represents the position (anchor) of an object in a Calc document. More...
#include <xlescher.hxx>
| Public Member Functions | |
| XclObjAnchor () | |
| Y offset in bottom row (1/256 of row height).  More... | |
| tools::Rectangle | GetRect (const XclRoot &rRoot, SCTAB nScTab, MapUnit eMapUnit) const | 
| Calculates a rectangle from the contained coordinates.  More... | |
| void | SetRect (const XclRoot &rRoot, SCTAB nScTab, const tools::Rectangle &rRect, MapUnit eMapUnit) | 
| Initializes the anchor coordinates for a sheet.  More... | |
| void | SetRect (const Size &rPageSize, sal_Int32 nScaleX, sal_Int32 nScaleY, const tools::Rectangle &rRect, MapUnit eMapUnit) | 
| Initializes the anchor coordinates for an embedded draw page.  More... | |
|  Public Member Functions inherited from XclRange | |
| XclRange (ScAddress::Uninitialized e) | |
| XclRange () | |
| XclRange (const XclAddress &rPos) | |
| XclRange (sal_uInt16 nCol1, sal_uInt32 nRow1, sal_uInt16 nCol2, sal_uInt32 nRow2) | |
| void | Set (sal_uInt16 nCol1, sal_uInt32 nRow1, sal_uInt16 nCol2, sal_uInt32 nRow2) | 
| sal_uInt16 | GetColCount () const | 
| sal_uInt32 | GetRowCount () const | 
| bool | Contains (const XclAddress &rPos) const | 
| void | Read (XclImpStream &rStrm, bool bCol16Bit=true) | 
| void | Write (XclExpStream &rStrm, bool bCol16Bit=true) const | 
| Public Attributes | |
| sal_uInt16 | mnLX | 
| sal_uInt32 | mnTY | 
| X offset in left column (1/1024 of column width).  More... | |
| sal_uInt16 | mnRX | 
| Y offset in top row (1/256 of row height).  More... | |
| sal_uInt32 | mnBY | 
| X offset in right column (1/1024 of column width).  More... | |
|  Public Attributes inherited from XclRange | |
| XclAddress | maFirst | 
| XclAddress | maLast | 
Represents the position (anchor) of an object in a Calc document.
Definition at line 283 of file xlescher.hxx.
| 
 | explicit | 
Y offset in bottom row (1/256 of row height).
Definition at line 130 of file xlescher.cxx.
| tools::Rectangle XclObjAnchor::GetRect | ( | const XclRoot & | rRoot, | 
| SCTAB | nScTab, | ||
| MapUnit | eMapUnit | ||
| ) | const | 
Calculates a rectangle from the contained coordinates.
Definition at line 138 of file xlescher.cxx.
References XclRoot::GetDoc(), ScDocument::IsLayoutRTL(), XclRange::maFirst, XclRange::maLast, ScDocument::MaxCol(), ScDocument::MaxRow(), mnBY, XclAddress::mnCol, mnLX, XclAddress::mnRow, mnRX, and mnTY.
Referenced by XclImpSheetDrawing::CalcAnchorRect().
| void XclObjAnchor::SetRect | ( | const Size & | rPageSize, | 
| sal_Int32 | nScaleX, | ||
| sal_Int32 | nScaleY, | ||
| const tools::Rectangle & | rRect, | ||
| MapUnit | eMapUnit | ||
| ) | 
Initializes the anchor coordinates for an embedded draw page.
Definition at line 174 of file xlescher.cxx.
References tools::Rectangle::Bottom(), o3tl::convert(), Size::Height(), o3tl::invalid, tools::Rectangle::Left(), XclRange::maFirst, XclRange::maLast, MapToO3tlLength(), o3tl::mm100, mnBY, XclAddress::mnCol, mnLX, XclAddress::mnRow, mnRX, mnTY, tools::Rectangle::Right(), tools::Rectangle::Top(), and Size::Width().
| void XclObjAnchor::SetRect | ( | const XclRoot & | rRoot, | 
| SCTAB | nScTab, | ||
| const tools::Rectangle & | rRect, | ||
| MapUnit | eMapUnit | ||
| ) | 
Initializes the anchor coordinates for a sheet.
Definition at line 154 of file xlescher.cxx.
References tools::Rectangle::Bottom(), ScAddress::Col(), XclRoot::GetDoc(), XclRoot::GetXclMaxPos(), ScDocument::IsLayoutRTL(), tools::Rectangle::Left(), XclRange::maFirst, XclRange::maLast, mnBY, XclAddress::mnCol, mnLX, XclAddress::mnRow, mnRX, mnTY, tools::Rectangle::Right(), ScAddress::Row(), and tools::Rectangle::Top().
Referenced by XclImpChartObj::FinalizeTabChart(), XclExpDffSheetAnchor::ImplCalcAnchorRect(), XclExpDffEmbeddedAnchor::ImplCalcAnchorRect(), and XclExpDffNoteAnchor::XclExpDffNoteAnchor().
| sal_uInt32 XclObjAnchor::mnBY | 
X offset in right column (1/1024 of column width).
Definition at line 288 of file xlescher.hxx.
Referenced by XclImpChartDrawing::CalcAnchorRect(), GetRect(), XclImpDrawObjBase::GetUsedArea(), operator>>(), SetRect(), WriteXclObjAnchor(), and XclExpDffDropDownAnchor::XclExpDffDropDownAnchor().
| sal_uInt16 XclObjAnchor::mnLX | 
Definition at line 285 of file xlescher.hxx.
Referenced by XclImpChartDrawing::CalcAnchorRect(), GetRect(), operator>>(), SetRect(), WriteXclObjAnchor(), and XclExpDffDropDownAnchor::XclExpDffDropDownAnchor().
| sal_uInt16 XclObjAnchor::mnRX | 
Y offset in top row (1/256 of row height).
Definition at line 287 of file xlescher.hxx.
Referenced by XclImpChartDrawing::CalcAnchorRect(), GetRect(), XclImpDrawObjBase::GetUsedArea(), operator>>(), SetRect(), WriteXclObjAnchor(), and XclExpDffDropDownAnchor::XclExpDffDropDownAnchor().
| sal_uInt32 XclObjAnchor::mnTY | 
X offset in left column (1/1024 of column width).
Definition at line 286 of file xlescher.hxx.
Referenced by XclImpChartDrawing::CalcAnchorRect(), GetRect(), operator>>(), SetRect(), WriteXclObjAnchor(), and XclExpDffDropDownAnchor::XclExpDffDropDownAnchor().