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

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

There is a newer version: 2024.11.18598.20241113T125352Z-241000
Show 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;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy