Class MergeAggregation

    • Method Detail

      • add

        public MergeAggregation.MergeIndex add​(int row,
                                               int col)
        Add merge info of cell
        Parameters:
        row - the row number
        col - the column number
        Returns:
        index merge info index. Returns -1 if there's no merge info
      • getMergedRect

        public MergedRect getMergedRect​(int row,
                                        int col)
        Returns MergeIndex that added to this MergeAggregation
        Parameters:
        row -
        col -
        Returns:
        MergedRect, returns null if cell not merged
      • getJSONObject

        public org.zkoss.json.JSONObject getJSONObject()
        • r: merge rects
        • cs: merge CSS
        Returns:
      • toJSONString

        public String toJSONString()
        Specified by:
        toJSONString in interface org.zkoss.json.JSONAware