Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


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



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.