![JAR search and dependency download from the Maven repository](/logo.png)
com.adobe.xfa.text.FrameLineHelper 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
package com.adobe.xfa.text;
/**
* @exclude from published api.
*/
abstract class FrameLineHelper extends FrameHelper {
private DispLineWrapped mpoLine;
FrameLineHelper (TextSparseStream poStream, int eProcess) {
super (poStream, eProcess);
mpoLine = null;
}
protected boolean processOneFrame (TextFrame poFrame) {
if (poFrame != null) {
int nAbsLineIndex = getAbsLineIndex();
int nLines = poFrame.getLineCount();
for (int i = 0; i < nLines; i++) {
setLineIndex (i);
setAbsLineIndex (nAbsLineIndex + i);
mpoLine = poFrame.getLine (i);
if (! processOneLine (mpoLine)) {
return false;
}
}
}
return true;
}
protected boolean finish () {
mpoLine = null;
return true;
}
abstract boolean processOneLine (DispLineWrapped poLine);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy