20#ifndef INCLUDED_SVX_FRAMELINKARRAY_HXX
21#define INCLUDED_SVX_FRAMELINKARRAY_HXX
74 void Initialize( sal_Int32 nWidth, sal_Int32 nHeight );
77 sal_Int32 GetColCount()
const;
80 sal_Int32 GetRowCount()
const;
83 sal_Int32 GetCellCount()
const;
86 sal_Int32 GetCellIndex( sal_Int32 nCol, sal_Int32 nRow,
bool bRTL)
const;
91 void SetCellStyleLeft( sal_Int32 nCol, sal_Int32 nRow,
const Style& rStyle );
94 void SetCellStyleRight( sal_Int32 nCol, sal_Int32 nRow,
const Style& rStyle );
97 void SetCellStyleTop( sal_Int32 nCol, sal_Int32 nRow,
const Style& rStyle );
100 void SetCellStyleBottom( sal_Int32 nCol, sal_Int32 nRow,
const Style& rStyle );
103 void SetCellStyleTLBR( sal_Int32 nCol, sal_Int32 nRow,
const Style& rStyle );
106 void SetCellStyleBLTR( sal_Int32 nCol, sal_Int32 nRow,
const Style& rStyle );
109 void SetCellStyleDiag( sal_Int32 nCol, sal_Int32 nRow,
const Style& rTLBR,
const Style& rBLTR );
112 void SetColumnStyleLeft( sal_Int32 nCol,
const Style& rStyle );
115 void SetColumnStyleRight( sal_Int32 nCol,
const Style& rStyle );
118 void SetRowStyleTop( sal_Int32 nRow,
const Style& rStyle );
121 void SetRowStyleBottom( sal_Int32 nRow,
const Style& rStyle );
124 void SetCellRotation(sal_Int32 nCol, sal_Int32 nRow,
SvxRotateMode eRotMode,
double fOrientation);
127 bool HasCellRotation()
const;
134 const Style& GetCellStyleLeft( sal_Int32 nCol, sal_Int32 nRow )
const;
141 const Style& GetCellStyleRight( sal_Int32 nCol, sal_Int32 nRow )
const;
148 const Style& GetCellStyleTop( sal_Int32 nCol, sal_Int32 nRow )
const;
155 const Style& GetCellStyleBottom( sal_Int32 nCol, sal_Int32 nRow )
const;
161 const Style& GetCellStyleTLBR( sal_Int32 nCol, sal_Int32 nRow )
const;
167 const Style& GetCellStyleBLTR( sal_Int32 nCol, sal_Int32 nRow )
const;
175 const Style& GetCellStyleTL( sal_Int32 nCol, sal_Int32 nRow )
const;
183 const Style& GetCellStyleBR( sal_Int32 nCol, sal_Int32 nRow )
const;
191 const Style& GetCellStyleBL( sal_Int32 nCol, sal_Int32 nRow )
const;
199 const Style& GetCellStyleTR( sal_Int32 nCol, sal_Int32 nRow )
const;
205 void SetMergedRange( sal_Int32 nFirstCol, sal_Int32 nFirstRow, sal_Int32 nLastCol, sal_Int32 nLastRow );
210 void SetAddMergedLeftSize( sal_Int32 nCol, sal_Int32 nRow, sal_Int32 nAddSize );
215 void SetAddMergedRightSize( sal_Int32 nCol, sal_Int32 nRow, sal_Int32 nAddSize );
220 void SetAddMergedTopSize( sal_Int32 nCol, sal_Int32 nRow, sal_Int32 nAddSize );
225 void SetAddMergedBottomSize( sal_Int32 nCol, sal_Int32 nRow, sal_Int32 nAddSize );
228 bool IsMerged( sal_Int32 nCol, sal_Int32 nRow )
const;
231 void GetMergedOrigin( sal_Int32& rnFirstCol, sal_Int32& rnFirstRow, sal_Int32 nCol, sal_Int32 nRow )
const;
234 void GetMergedRange( sal_Int32& rnFirstCol, sal_Int32& rnFirstRow,
235 sal_Int32& rnLastCol, sal_Int32& rnLastRow, sal_Int32 nCol, sal_Int32 nRow )
const;
248 void SetClipRange( sal_Int32 nFirstCol, sal_Int32 nFirstRow, sal_Int32 nLastCol, sal_Int32 nLastRow );
253 void SetXOffset( sal_Int32 nXOffset );
256 void SetYOffset( sal_Int32 nYOffset );
259 void SetColWidth( sal_Int32 nCol, sal_Int32 nWidth );
262 void SetRowHeight( sal_Int32 nRow, sal_Int32 nHeight );
265 void SetAllColWidths( sal_Int32 nWidth );
268 void SetAllRowHeights( sal_Int32 nHeight );
273 sal_Int32 GetColPosition( sal_Int32 nCol )
const;
278 sal_Int32 GetRowPosition( sal_Int32 nRow )
const;
281 sal_Int32 GetColWidth( sal_Int32 nFirstCol, sal_Int32 nLastCol )
const;
284 sal_Int32 GetRowHeight( sal_Int32 nFirstRow, sal_Int32 nLastRow )
const;
287 sal_Int32 GetWidth()
const;
290 sal_Int32 GetHeight()
const;
297 basegfx::B2DRange GetB2DRange( sal_Int32 nFirstCol, sal_Int32 nFirstRow, sal_Int32 nLastCol, sal_Int32 nLastRow )
const;
310 sal_Int32 nFirstCol, sal_Int32 nFirstRow,
311 sal_Int32 nLastCol, sal_Int32 nLastRow,
312 const Color* pForceColor )
const;
Stores frame styles of an array of cells, supports merged ranges.
std::unique_ptr< ArrayImpl > mxImpl
Contains the widths of primary and secondary line of a frame style.
#define SVXCORE_DLLPUBLIC