StrItem.java 1.97 KB
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.xfa.text;

import com.adobe.xfa.text.TextAttr;
import com.adobe.xfa.text.TextEmbed;
import com.adobe.xfa.text.TextField;
import com.adobe.xfa.text.TextGfxSource;
import com.adobe.xfa.text.TextNullFrame;
import com.adobe.xfa.text.markup.MarkupOut;
import java.util.List;

abstract class StrItem {
    private final int meType;
    private int mnCount;

    StrItem(int eType) {
        this.meType = eType;
        this.mnCount = 1;
    }

    void setCount(int nCount) {
        this.mnCount = nCount;
    }

    final int count() {
        return this.mnCount;
    }

    void addField(List<TextField> oFields) {
    }

    void addEmbed(List<TextEmbed> oEmbeds) {
    }

    TextAttr markup(MarkupOut oMarkup, int nStart, int nSize, boolean bFlattenFields, TextAttr poPrevAttr) {
        return poPrevAttr;
    }

    final int strType() {
        return this.meType;
    }

    int charAt(int nIndex) {
        return 0;
    }

    TextAttr attrAt(int nIndex) {
        return null;
    }

    TextField fieldAt(int nIndex) {
        return null;
    }

    TextEmbed embedAt(int nIndex) {
        return null;
    }

    TextNullFrame nullFrameAt(int nIndex) {
        return null;
    }

    abstract boolean isEqual(StrItem var1);

    StrItem[] split(int nIndex) {
        return null;
    }

    boolean coalesce(StrItem poAfter, int nIndex) {
        return false;
    }

    boolean canCoalesce(StrItem poAfter) {
        return false;
    }

    void delete(int nStart, int nSize) {
    }

    abstract StrItem cloneItem(TextGfxSource var1);

    StrItem clonePart(TextGfxSource oGfxSource, int nStart, int nSize) {
        return this.cloneItem(oGfxSource);
    }

    int attrState() {
        return 0;
    }

    void attrState(int eNewState) {
    }

    void overrideAttr(TextAttr oOverride) {
    }

    void gfxSource(TextGfxSource oGfxSource) {
    }

    void cascadeLegacyLevel(int eLevel) {
    }

    abstract void debug(int var1);
}