Kaydet (Commit) 3bdce53c authored tarafından Miklos Vajna's avatar Miklos Vajna

ScTabView::getRowColumnHeaders: emit info about last formatted row/col

Change-Id: I6b4f6eacde84433fa3865e62c692a3f97895b887
üst 18bf71a2
...@@ -2290,7 +2290,7 @@ OUString ScTabView::getRowColumnHeaders() ...@@ -2290,7 +2290,7 @@ OUString ScTabView::getRowColumnHeaders()
pDoc->GetTiledRenderingArea(aViewData.GetTabNo(), nEndCol, nEndRow); pDoc->GetTiledRenderingArea(aViewData.GetTabNo(), nEndCol, nEndRow);
boost::property_tree::ptree aRows; boost::property_tree::ptree aRows;
for (SCROW nRow = 0; nRow < nEndRow; ++nRow) for (SCROW nRow = 0; nRow <= nEndRow; ++nRow)
{ {
boost::property_tree::ptree aRow; boost::property_tree::ptree aRow;
sal_uInt16 nSize = pRowBar[SC_SPLIT_BOTTOM]->GetEntrySize(nRow); sal_uInt16 nSize = pRowBar[SC_SPLIT_BOTTOM]->GetEntrySize(nRow);
...@@ -2301,7 +2301,7 @@ OUString ScTabView::getRowColumnHeaders() ...@@ -2301,7 +2301,7 @@ OUString ScTabView::getRowColumnHeaders()
} }
boost::property_tree::ptree aCols; boost::property_tree::ptree aCols;
for (SCCOL nCol = 0; nCol < nEndCol; ++nCol) for (SCCOL nCol = 0; nCol <= nEndCol; ++nCol)
{ {
boost::property_tree::ptree aCol; boost::property_tree::ptree aCol;
sal_uInt16 nSize = pColBar[SC_SPLIT_LEFT]->GetEntrySize(nCol); sal_uInt16 nSize = pColBar[SC_SPLIT_LEFT]->GetEntrySize(nCol);
......
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