Revision 228 trunk/org.gvsig.app.document.layout2.app/org.gvsig.app.document.layout2.app.mainplugin/src/main/java/org/gvsig/app/project/documents/layout/gui/dialogs/FConfigLayoutDialog.java
FConfigLayoutDialog.java | ||
---|---|---|
276 | 276 |
m_layout.getLayoutContext().getAttributes() |
277 | 277 |
.getSizeinUnits(isLand, type); |
278 | 278 |
getTAlto().setText( |
279 |
String.valueOf(nf.format(size.getAlto())));
|
|
279 |
String.valueOf(nf.format(size.getHeight())));
|
|
280 | 280 |
getTAncho().setText( |
281 |
String.valueOf(nf.format(size.getAncho())));
|
|
281 |
String.valueOf(nf.format(size.getWidth())));
|
|
282 | 282 |
setMargin(margin); |
283 | 283 |
if (cbTipoFolio.getSelectedItem().equals( |
284 | 284 |
PluginServices.getText(this, "Personalizado"))) { |
... | ... | |
325 | 325 |
m_layout.getLayoutContext().getAttributes() |
326 | 326 |
.getSizeinUnits(isLand, type); |
327 | 327 |
getTAlto().setText( |
328 |
String.valueOf(nf.format(size.getAncho())));
|
|
328 |
String.valueOf(nf.format(size.getWidth())));
|
|
329 | 329 |
getTAncho().setText( |
330 |
String.valueOf(nf.format(size.getAlto())));
|
|
330 |
String.valueOf(nf.format(size.getHeight())));
|
|
331 | 331 |
setMargin(margin); |
332 | 332 |
} |
333 | 333 |
}); |
... | ... | |
373 | 373 |
Size size = |
374 | 374 |
m_layout.getLayoutContext().getAttributes() |
375 | 375 |
.getSizeinUnits(isLand, type); |
376 |
String s = String.valueOf(nf.format(size.getAncho()));
|
|
376 |
String s = String.valueOf(nf.format(size.getWidth()));
|
|
377 | 377 |
tAncho.setText(s); |
378 | 378 |
if (getCbTipoFolio().getSelectedItem().equals( |
379 | 379 |
PluginServices.getText(this, "Personalizado"))) { |
... | ... | |
397 | 397 |
Size size = |
398 | 398 |
m_layout.getLayoutContext().getAttributes() |
399 | 399 |
.getSizeinUnits(isLand, type); |
400 |
String s = String.valueOf(nf.format(size.getAlto()));
|
|
400 |
String s = String.valueOf(nf.format(size.getHeight()));
|
|
401 | 401 |
tAlto.setText(s); |
402 | 402 |
if (getCbTipoFolio().getSelectedItem().equals( |
403 | 403 |
PluginServices.getText(this, "Personalizado"))) { |
... | ... | |
721 | 721 |
ffv.setDocument(m_layout.getDocument()); |
722 | 722 |
LayoutContext lctxt = m_layout.getLayoutContext(); |
723 | 723 |
ffv.setLayoutContext(lctxt); |
724 |
ffv.setBoundBox(new Rectangle2D.Double(izq, sup, attributes.getPaperSize().getAncho()-(izq+der), attributes.getPaperSize().getAlto()-(sup+inf)));
|
|
724 |
ffv.setBoundBox(new Rectangle2D.Double(izq, sup, attributes.getPaperSize().getWidth()-(izq+der), attributes.getPaperSize().getHeight()-(sup+inf)));
|
|
725 | 725 |
ffv.setView(vd); |
726 | 726 |
lctxt.addFFrame(ffv, true, true); |
727 | 727 |
m_layout.getLayoutControl().setDefaultTool(); |
... | ... | |
831 | 831 |
m_layout.getLayoutContext().getAttributes() |
832 | 832 |
.getSizeinUnits(isLand, type); |
833 | 833 |
getTAncho().setText( |
834 |
String.valueOf(nf.format(size.getAncho())));
|
|
834 |
String.valueOf(nf.format(size.getWidth())));
|
|
835 | 835 |
getTAlto().setText( |
836 |
String.valueOf(nf.format(size.getAlto())));
|
|
836 |
String.valueOf(nf.format(size.getHeight())));
|
|
837 | 837 |
} |
838 | 838 |
}); |
839 | 839 |
} |
... | ... | |
872 | 872 |
m_layout.getLayoutContext().getAttributes() |
873 | 873 |
.getSizeinUnits(isLand, type); |
874 | 874 |
getTAncho().setText( |
875 |
String.valueOf(nf.format(size.getAncho())));
|
|
875 |
String.valueOf(nf.format(size.getWidth())));
|
|
876 | 876 |
getTAlto().setText( |
877 |
String.valueOf(nf.format(size.getAlto())));
|
|
877 |
String.valueOf(nf.format(size.getHeight())));
|
|
878 | 878 |
} |
879 | 879 |
}); |
880 | 880 |
} |
Also available in: Unified diff