Package org.uguess.birt.report.engine.spreadsheet.model

Examples of org.uguess.birt.report.engine.spreadsheet.model.MergeBlock.include()


        if (element.isMerged()) {
            Iterator<MergeBlock> it = modelSheet.mergesIterator();
            while (it.hasNext()) {
                MergeBlock merge = it.next();
                if (merge.include(y, x)) {
                    if (x == merge.getStartColumn() && y == merge.getStartRow()) {
                        x2 = (short) (x + merge.getColumnSpan());
                        y2 = (short) (y + merge.getRowSpan());
                        xlsSheet.addMergedRegion(new Region(y, x, y2, x2));
View Full Code Here


            merge = itr.next();
            if (mbNew.cross(merge)) {
                if (mbNew.equals(merge)) {
                    // if already a same merge block exists.
                    return merge;
                } else if (mbNew.include(merge)) {
                    // if already an overlapped merge block exists, we
                    // should remove it.
                    removes.add(merge);
                    itr.remove();
                } else {
View Full Code Here

        MergeBlock merge = MergeBlockImpl.createEmpty();
        Iterator<MergeBlock> itr = merges.iterator();
        while (itr.hasNext()) {
            MergeBlock mg = itr.next();
            if (mg.include(row, col)) {
                merge = mg;
                itr.remove();
                break;
            }
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.