docx import: fix incorrect nested table margins
Change-Id: I07f0f47fcbd3d463d7831820cde338d8d59d9b68
This commit is contained in:
@@ -414,7 +414,9 @@ TableStyleSheetEntry * DomainMapperTableHandler::endTableGetTableStyle(TableInfo
|
||||
{
|
||||
aTableBorder.LeftLine = aLeftBorder;
|
||||
aTableBorder.IsLeftLineValid = sal_True;
|
||||
rInfo.nLeftBorderDistance += aLeftBorder.LineWidth * 0.5;
|
||||
// Only top level table position depends on border width
|
||||
if (rInfo.nNestLevel == 1)
|
||||
rInfo.nLeftBorderDistance += aLeftBorder.LineWidth * 0.5;
|
||||
}
|
||||
if (lcl_extractTableBorderProperty(m_aTableProperties, PROP_RIGHT_BORDER, rInfo, aBorderLine))
|
||||
{
|
||||
|
Reference in New Issue
Block a user