All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.adobe.xfa.text.StrPara Maven / Gradle / Ivy

There is a newer version: 2024.11.18598.20241113T125352Z-241000
Show newest version
package com.adobe.xfa.text;

import com.adobe.xfa.text.markup.MarkupOut;

/**
 * @exclude from published api.
 */

class StrPara extends StrItem {

	StrPara () {
		super (TextItem.PARA);
	}

// Inherited from class TextStrItem.
	TextAttr markup (MarkupOut oMarkup, int nStart, int nSize, boolean bFlattenFields, TextAttr poPrevAttr) {
		oMarkup.para();
		return poPrevAttr;
	}

	int charAt (int nIndex) {
		return '\n';
	}

	boolean isEqual (StrItem poCompare) {
		return true;
	}

	StrItem cloneItem (TextGfxSource oGfxSource) {
		return new StrPara();
	}

// For debugging.
	void debug (int indent) {
		System.out.println (Pkg.doIndent (indent+1) + "Paragraph");
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy