Revision 21299 branches/v2_0_0_prep/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/layout/fframes/FFrameBasic.java
FFrameBasic.java | ||
---|---|---|
55 | 55 |
|
56 | 56 |
import javax.print.attribute.PrintRequestAttributeSet; |
57 | 57 |
|
58 |
import org.gvsig.data.ReadException; |
|
58 | 59 |
import org.gvsig.fmap.geom.Geometry; |
59 |
|
|
60 |
import org.gvsig.fmap.core.shapes.FShape; |
|
61 |
import org.gvsig.fmap.core.shapes.adapters.PolygonAdapter; |
|
62 | 60 |
import org.gvsig.fmap.mapcontext.rendering.symbols.IFillSymbol; |
63 | 61 |
import org.gvsig.fmap.mapcontext.rendering.symbols.SimpleLineSymbol; |
64 | 62 |
import org.gvsig.fmap.mapcontext.rendering.symbols.SymbologyFactory; |
65 | 63 |
|
66 |
import com.hardcode.gdbms.driver.exceptions.ReadDriverException; |
|
67 | 64 |
import com.iver.andami.PluginServices; |
68 | 65 |
import com.iver.cit.gvsig.ProjectExtension; |
69 | 66 |
import com.iver.cit.gvsig.project.Project; |
70 | 67 |
import com.iver.cit.gvsig.project.documents.exceptions.OpenException; |
71 | 68 |
import com.iver.cit.gvsig.project.documents.exceptions.SaveException; |
72 | 69 |
import com.iver.cit.gvsig.project.documents.layout.fframes.gui.dialogs.IFFrameDialog; |
70 |
import com.iver.cit.gvsig.project.documents.layout.geometryadapters.PolygonAdapter; |
|
73 | 71 |
import com.iver.cit.gvsig.project.documents.layout.gui.Layout; |
74 | 72 |
import com.iver.utiles.XMLEntity; |
75 | 73 |
|
... | ... | |
127 | 125 |
* @param imgBase Imagen para acelerar el dibujado. |
128 | 126 |
*/ |
129 | 127 |
public void draw(Graphics2D g, AffineTransform at, Rectangle2D rv, |
130 |
BufferedImage imgBase) throws ReadDriverException {
|
|
128 |
BufferedImage imgBase) throws ReadException { |
|
131 | 129 |
fframeGraphics.draw(g,at,rv,imgBase); |
132 | 130 |
if (fframe!=null) |
133 | 131 |
fframe.draw(g,at,rv,imgBase); |
... | ... | |
195 | 193 |
* java.awt.geom.AffineTransform) |
196 | 194 |
*/ |
197 | 195 |
public void print(Graphics2D g, AffineTransform at,Geometry geom, PrintRequestAttributeSet printingProperties) |
198 |
throws ReadDriverException {
|
|
196 |
throws ReadException { |
|
199 | 197 |
// fframeGraphics.setPrintingProperties(printingProperties); |
200 |
fframeGraphics.print(g,at,shape, printingProperties);
|
|
198 |
fframeGraphics.print(g,at,geom, printingProperties);
|
|
201 | 199 |
// fframeGraphics.setPrintingProperties(null); |
202 | 200 |
if (fframe!=null) { |
203 |
fframe.print(g,at,shape, printingProperties);
|
|
201 |
fframe.print(g,at,geom, printingProperties);
|
|
204 | 202 |
} |
205 | 203 |
} |
206 | 204 |
|
Also available in: Unified diff