TraditionalFrame.java 1023 Bytes
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.xfa.text;

import com.adobe.xfa.text.TextFrame;

abstract class TraditionalFrame
extends TextFrame {
    private int mnCombCells;
    private boolean mbSuppressWordWrap;

    void setCombCells(int nCombCells) {
        this.mnCombCells = nCombCells;
    }

    void setSuppressWordWrap(boolean bNewSuppress) {
        this.mbSuppressWordWrap = bNewSuppress;
    }

    void copyFrom(TraditionalFrame oSource) {
        if (this != oSource) {
            this.mnCombCells = oSource.mnCombCells;
            this.mbSuppressWordWrap = oSource.mbSuppressWordWrap;
            super.copyFrom(oSource);
        }
    }

    @Override
    public TextFrame cloneFrame() {
        assert (false);
        return null;
    }

    @Override
    public int combCells() {
        return this.mnCombCells;
    }

    @Override
    boolean allowExtension() {
        return true;
    }

    @Override
    boolean suppressWordWrap() {
        return this.mbSuppressWordWrap;
    }
}