com.adobe.xfa.text.FrameLineInfo 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;
import com.adobe.xfa.ut.UnitSpan;
/**
* @exclude from published api.
*/
class FrameLineInfo {
private TextSparseStream mpoStream;
private int mnFrameIndex;
private int mnLineIndex;
private int mnAbsLineIndex;
private UnitSpan moOffset = UnitSpan.ZERO;
FrameLineInfo (TextSparseStream poStream, int nFrameIndex, int nLineIndex, int nAbsLineIndex) {
mpoStream = poStream;
mnFrameIndex = nFrameIndex;
mnLineIndex = nLineIndex;
mnAbsLineIndex = nAbsLineIndex;
}
FrameLineInfo (TextSparseStream poStream) {
this (poStream, 0, 0, 0);
}
TextSparseStream getStream () {
return mpoStream;
}
void setStream (TextSparseStream poStream) {
mpoStream = poStream;
}
int getFrameIndex () {
return mnFrameIndex;
}
void setFrameIndex (int nFrameIndex) {
mnFrameIndex = nFrameIndex;
}
int getLineIndex () {
return mnLineIndex;
}
void setLineIndex (int nLineIndex) {
mnLineIndex = nLineIndex;
}
int getAbsLineIndex () {
return mnAbsLineIndex;
}
void setAbsLineIndex (int nAbsLineIndex) {
mnAbsLineIndex = nAbsLineIndex;
}
UnitSpan getOffset () {
return moOffset;
}
void setOffset (UnitSpan oOffset) {
moOffset = oOffset;
}
FrameLineInfo copyFrom (FrameLineInfo oSource) {
if (this != oSource) {
mpoStream = oSource.mpoStream;
mnFrameIndex = oSource.mnFrameIndex;
mnLineIndex = oSource.mnLineIndex;
mnAbsLineIndex = oSource.mnAbsLineIndex;
moOffset = oSource.moOffset;
}
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy