com.adobe.xfa.text.FrameGfxDraw 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;
/**
* @exclude from published api.
*/
class FrameGfxDraw extends FrameHelper {
private final DrawParm moParm;
private boolean mbFits;
FrameGfxDraw (TextSparseStream poStream, DrawParm oParm, int eProcess) {
super (poStream, eProcess);
moParm = oParm;
mbFits = true;
}
FrameGfxDraw (TextSparseStream poStream, DrawParm oParm) {
this (poStream, oParm, PROCESS_LOADED_FRAMES);
}
boolean fits () {
return mbFits;
}
protected boolean processOneFrame (TextFrame poFrame) {
if (poFrame != null) {
boolean bFits = poFrame.gfxDraw (moParm, getOffset());
if (! bFits) {
mbFits = false;
}
}
return true;
}
}