28 maOutRange(rOutRange),
33 meDataLayoutType(
None),
34 mbShowFilter(bShowFilter),
35 mbHeaderLayout (false),
77 sal_uInt32 nColumnFields, nRowFields;
80 vector<ScAddress> aAddrs;
93 nCurRow = nRowEnd + 2;
103 SCCOL nColEnd = nColStart +
static_cast<SCCOL>(nColumnFields-1);
105 for (
SCCOL nCol = nColStart; nCol <= nColEnd; ++nCol)
106 aAddrs.emplace_back(nCol, nRow, nTab);
112 sal_uInt32 nColumnFields, nRowFields;
115 vector<ScAddress> aAddrs;
125 SCCOL nColEnd = nColStart +
static_cast<SCCOL>(nRowFields-1);
130 for (
SCCOL nCol = nColStart; nCol <= nColEnd; ++nCol)
131 aAddrs.emplace_back(nCol, nRow, nTab);
137 vector<ScAddress> aAddrs;
150 for (
SCROW nRow = nRowStart; nRow <= nRowEnd; ++nRow)
151 aAddrs.emplace_back(nCol, nRow, nTab);
158 sal_uInt32 nColumnFields, nRowFields;
165 nCurRow = nRowEnd + 2;
171 nCurRow +=
static_cast<SCROW>(nColumnFields);
190 if (rColumnFields > 0)
202std::pair<ScDPOutputGeometry::FieldType, size_t>
206 sal_uInt32 nColumnFields, nRowFields;
214 if (rPos.
Col() == nCol && nRowStart <= rPos.
Row() && rPos.
Row() <= nRowEnd)
216 size_t nPos =
static_cast<size_t>(rPos.
Row() - nRowStart);
217 return std::pair<FieldType, size_t>(
Page,
nPos);
220 nCurRow = nRowEnd + 2;
227 SCROW nRow = nCurRow;
229 SCCOL nColEnd = nColStart +
static_cast<SCCOL>(nColumnFields-1);
230 if (rPos.
Row() == nRow && nColStart <= rPos.
Col() && rPos.
Col() <= nColEnd)
232 size_t nPos =
static_cast<size_t>(rPos.
Col() - nColStart);
233 return std::pair<FieldType, size_t>(
Column,
nPos);
236 nCurRow +=
static_cast<SCROW>(nColumnFields);
244 SCCOL nColEnd = nColStart +
static_cast<SCCOL>(nRowFields-1);
245 if (rPos.
Row() == nCurRow && nColStart <= rPos.
Col() && rPos.
Col() <= nColEnd)
247 size_t nPos =
static_cast<size_t>(rPos.
Col() - nColStart);
248 return std::pair<FieldType, size_t>(
Row,
nPos);
252 return std::pair<FieldType, size_t>(
None, 0);
std::pair< FieldType, size_t > getFieldButtonType(const ScAddress &rPos) const
void setColumnFieldCount(sal_uInt32 nCount)
void adjustFieldsForDataLayout(sal_uInt32 &rColumnFields, sal_uInt32 &rRowFields) const
void setCompactMode(bool bCompactMode)
void setRowFieldCount(sal_uInt32 nCount)
void getPageFieldPositions(::std::vector< ScAddress > &rAddrs) const
void setHeaderLayout(bool bHeaderLayout)
void setPageFieldCount(sal_uInt32 nCount)
void setDataFieldCount(sal_uInt32 nCount)
ScDPOutputGeometry()=delete
void getRowFieldPositions(::std::vector< ScAddress > &rAddrs) const
SCROW getRowFieldHeaderRow() const
void setDataLayoutType(FieldType eType)
FieldType meDataLayoutType
void getColumnFieldPositions(::std::vector< ScAddress > &rAddrs) const
sal_uInt32 mnColumnFields
number of row fields
const wchar_t *typedef int(__stdcall *DllNativeUnregProc)(int