Kaydet (Commit) 4606ca07 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Calculate positions of cell-anchored objects upon ods import.

Since we no longer re-calc row heights on ods import, we need to do
this manually, in order to position cell-anchored objects correctly.
Previously we were getting this for free since the row height recalc
code path did it as part of it.

Change-Id: I8ab5dd1fe7cd8a45b7968e101c893b442d7ce132
üst 0038f19b
...@@ -3101,8 +3101,11 @@ throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeE ...@@ -3101,8 +3101,11 @@ throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeE
SCTAB nTabCount = pDoc->GetTableCount(); SCTAB nTabCount = pDoc->GetTableCount();
for (SCTAB nTab=0; nTab<nTabCount; ++nTab) for (SCTAB nTab=0; nTab<nTabCount; ++nTab)
{
pDoc->SetDrawPageSize(nTab);
if (!pSheetData->IsSheetBlocked( nTab )) if (!pSheetData->IsSheetBlocked( nTab ))
pDoc->SetStreamValid( nTab, true ); pDoc->SetStreamValid( nTab, true );
}
} }
aTables.FixupOLEs(); aTables.FixupOLEs();
} }
......
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