Hello, I am working in (Merged Cell's borders vanishes when changing sheet direction to (Right-To-Left)). https://bugs.documentfoundation.org/show_bug.cgi?id=34837 I modify the code and now we can make border for the merge cell in RTL mode. First select the cell then select border then merge Go to sheet and select right to left. That way will make the border in both side. But making the merge first then border still needs to solve , beacuse when we make border for merge cell in LTR mode then change the mode to RTL, the border will disappear in RTL . But if we are in RTL mode and set the border for merge cell , we can't see the border but if we back to LTR mode it will be apper. I welcome your ideas or suggestions. Thanking you. regards, Sheikha
diff --git a/svx/source/table/tablelayouter.cxx b/svx/source/table/tablelayouter.cxx index 892b0d9..a6e5e0a 100644 --- a/svx/source/table/tablelayouter.cxx +++ b/svx/source/table/tablelayouter.cxx @@ -327,7 +327,7 @@ bool findMergeOrigin( const TableModelRef& xTable, sal_Int32 nMergedX, sal_Int32 { // check if this cell already the origin or not merged at all Reference< XMergeableCell > xCell( xTable->getCellByPosition( nMergedX, nMergedY ), UNO_QUERY_THROW ); - if( !xCell.is() || !xCell->isMerged() ) + if( !xCell.is()) return true; bool bCheckVert = true;
Attachment:
3.png
Description: PNG image
Attachment:
2.png
Description: PNG image
Attachment:
1.png
Description: PNG image