use of eu.transkribus.core.model.beans.pagecontent.CoordsType in project TranskribusCore by Transkribus.
the class Pdf2TrpDoc method rect2Coords.
private static CoordsType rect2Coords(Rectangle r) {
CoordsType coords = new CoordsType();
coords.setPoints(PointStrUtils.pointsToString(r));
return coords;
}
use of eu.transkribus.core.model.beans.pagecontent.CoordsType in project TranskribusCore by Transkribus.
the class KlosterTeiToPageParser method bbToCoords.
static CoordsType bbToCoords(int x, int y, int w, int h) {
CoordsType ct = new CoordsType();
ct.setPoints(bbToCoordsStr(x, y, w, h));
return ct;
}
use of eu.transkribus.core.model.beans.pagecontent.CoordsType in project TranskribusCore by Transkribus.
the class TrpTextLineType method setCoordinates.
@Override
public void setCoordinates(String value, Object who) {
CoordsType coords = new CoordsType();
coords.setPoints(value);
setCoords(coords);
observable.setChangedAndNotifyObservers(new TrpCoordsChangedEvent(who));
}
use of eu.transkribus.core.model.beans.pagecontent.CoordsType in project TranskribusCore by Transkribus.
the class TrpWordType method setCoordinates.
@Override
public void setCoordinates(String value, Object who) {
CoordsType coords = new CoordsType();
coords.setPoints(value);
setCoords(coords);
observable.setChangedAndNotifyObservers(new TrpCoordsChangedEvent(who));
}
use of eu.transkribus.core.model.beans.pagecontent.CoordsType in project TranskribusCore by Transkribus.
the class TrpPrintSpaceType method setCoordinates.
@Override
public void setCoordinates(String value, Object who) {
CoordsType coords = new CoordsType();
coords.setPoints(value);
setCoords(coords);
observable.setChangedAndNotifyObservers(new TrpCoordsChangedEvent(who));
}
Aggregations