Revision 28368 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/layout/fframes/FFrameText.java
FFrameText.java | ||
---|---|---|
57 | 57 |
|
58 | 58 |
import javax.print.attribute.PrintRequestAttributeSet; |
59 | 59 |
|
60 |
import com.hardcode.gdbms.driver.exceptions.ReadDriverException; |
|
61 | 60 |
import com.iver.andami.PluginServices; |
62 | 61 |
import com.iver.cit.gvsig.fmap.core.FShape; |
63 | 62 |
import com.iver.cit.gvsig.project.documents.exceptions.SaveException; |
... | ... | |
97 | 96 |
private Color titleColor = Color.BLACK; // The title's color |
98 | 97 |
private Font m_f = null; |
99 | 98 |
private boolean transicionPixelsMilimetros = true; |
99 |
private PrintRequestAttributeSet properties; |
|
100 | 100 |
|
101 | 101 |
/** |
102 | 102 |
* Crea un nuevo FFrameText. |
... | ... | |
215 | 215 |
* @param imgBase Imagen para acelerar el dibujado. |
216 | 216 |
*/ |
217 | 217 |
public void draw(Graphics2D g, AffineTransform at, Rectangle2D rv, |
218 |
BufferedImage imgBase) throws ReadDriverException {
|
|
218 |
BufferedImage imgBase) { |
|
219 | 219 |
g.setColor(Color.BLACK); |
220 | 220 |
|
221 | 221 |
Rectangle2D.Double rec = getBoundingBox(at); |
... | ... | |
431 | 431 |
* @see com.iver.cit.gvsig.project.documents.layout.fframes.IFFrame#print(java.awt.Graphics2D, |
432 | 432 |
* java.awt.geom.AffineTransform) |
433 | 433 |
*/ |
434 |
public void print(Graphics2D g, AffineTransform at, FShape shape, PrintRequestAttributeSet properties) throws ReadDriverException { |
|
434 |
public void print(Graphics2D g, AffineTransform at, FShape shape, PrintRequestAttributeSet properties) { |
|
435 |
this.properties=properties; |
|
435 | 436 |
draw(g, at, null, null); |
437 |
this.properties=null; |
|
438 |
|
|
436 | 439 |
} |
437 | 440 |
|
438 | 441 |
/** |
Also available in: Unified diff