Revision 11547 branches/v10/extensions/extAnnotations/src/com/iver/cit/gvsig/fmap/edition/Annotation_EditableAdapter.java
Annotation_EditableAdapter.java | ||
---|---|---|
501 | 501 |
NumericValue vRotation = (NumericValue)f.getAttribute(mapping.getColumnRotate()); |
502 | 502 |
NumericValue vHeight = (NumericValue)f.getAttribute(mapping.getColumnHeight()); |
503 | 503 |
Value vText = f.getAttribute(mapping.getColumnText()); |
504 |
IGeometry geom=((Annotation_Legend)legend).getTextWrappingGeometry(vHeight.floatValue(),
|
|
504 |
IGeometry geom=lyrAnnotation.getTextWrappingGeometry(vHeight.floatValue(),
|
|
505 | 505 |
vText.toString(),vRotation.doubleValue(),index); |
506 | 506 |
f=new DefaultFeature(geom,f.getAttributes(),s); |
507 | 507 |
edRow = new DefaultRowEdited(f, |
... | ... | |
518 | 518 |
NumericValue vRotation = (NumericValue)f.getAttribute(mapping.getColumnRotate()); |
519 | 519 |
NumericValue vHeight = (NumericValue)f.getAttribute(mapping.getColumnHeight()); |
520 | 520 |
Value vText = f.getAttribute(mapping.getColumnText()); |
521 |
IGeometry geom=((Annotation_Legend)legend).getTextWrappingGeometry(vHeight.floatValue(),
|
|
521 |
IGeometry geom=lyrAnnotation.getTextWrappingGeometry(vHeight.floatValue(),
|
|
522 | 522 |
vText.toString(),vRotation.doubleValue(),index); |
523 | 523 |
// IGeometry geom=getGeometry(labelExpansion.getLabel(num).getBoundBox()); |
524 | 524 |
String s=f.getID(); |
Also available in: Unified diff