/*
 * SDK Pullenti Unitext, version 4.33, fabruary 2026. Copyright (c) 2013-2026, Pullenti. All rights reserved. 
 * Non-Commercial Freeware and Commercial Software. 
 * This class is generated using the converter Unisharping (www.unisharping.ru) from Pullenti C# project. 
 * The latest version of the code is available on the site www.pullenti.ru
 */

package com.pullenti.unitext.internal.rtf;

public class RichTextCell extends RichTextBlock {

    public int colsSpan = 1;

    public int rowsSpan = 1;

    public int columnId;

    public boolean endOf;

    public boolean mergeToTop;

    public boolean mergeBottoms;

    public int fistGrid = -1;

    public int lastGrid = -1;

    public int resColIndex = -1;

    @Override
    public String toString() {
        String str = ("ColId=" + columnId + ", " + super.toString());
        if (colsSpan > 1) 
            str = (str + ", ColSpan=" + colsSpan);
        if (rowsSpan > 1) 
            str = (str + ", RowSpan=" + rowsSpan);
        if (endOf) 
            str += " EndOf";
        if (mergeToTop) 
            str += " MergeToTop";
        if (mergeBottoms) 
            str += " MergeBottoms";
        return str;
    }
    public RichTextCell() {
        super();
    }
}
