com.adobe.xfa.text.StrPara Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aem-sdk-api Show documentation
Show all versions of aem-sdk-api Show documentation
The Adobe Experience Manager SDK
The 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");
}
}