[calc] merge cells borders
Kohei Yoshida
kohei.yoshida at collabora.com
Fri Jun 13 05:42:13 PDT 2014
On Thu, 2014-06-12 at 06:45 +0000, Faisal M. Alotaibi wrote:
> Hi,
>
> i am working on this Bug 34837
> could anyone help me to get the code that responsible for merge cells
> in calc
Merge cells are defined by virtue of cell attributes. The top left (or
top right in case of RTL) merge cell contains the size of the merged
area (column x row) while the rest of the cells have "overlapped
vertical" or "overlapped horizontal" flag, or both. Grep the code in sc
for ATTR_MERGE and ATTR_MERGE_FLAG for how merged cells are handled.
Cell attributes are stored with each column. Take a look at ScColumn
which has pAttrArray of type ScAttrArray as its member, which is where
all cell attributes are stored.
Kohei
More information about the LibreOffice
mailing list