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

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

The newest version!
package com.adobe.xfa.text;

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

class DispEmbed extends DispMapItem {
	private TextEmbed mpoEmbed;

	DispEmbed () {
	}

	DispEmbed (DispEmbed oSource) {
		copyFrom (oSource);
	}

	DispEmbed (DispEmbed source, int index, int length) {
		super (index, length);
		mpoEmbed = source.mpoEmbed;
	}

	DispEmbed (TextEmbed poEmbed) {
		mpoEmbed = poEmbed;
		poEmbed.setDispEmbed (this);
	}

	TextEmbed getEmbed () {
		return mpoEmbed;
	}

	DispMapItem cloneMapItem (int index, int length) {
		return new DispEmbed (this, index, length);
	}

	void copyFrom (DispEmbed source) {
		super.copyFrom (source);
		mpoEmbed = source.mpoEmbed;
		mpoEmbed.setDispEmbed (this);	// note: last one wins
	}

	DispEmbed e () {
		return this;
	}

	void copyFrom (DispMapItem source) {
		assert (source instanceof DispEmbed);
		copyFrom ((DispEmbed) source);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy