*
* @see org.kabeja.tools.PostProcessor#process(org.kabeja.dxf.DXFDocument,
* java.util.Map)
*/
public void process(DXFDocument doc, Map<String,String> context) throws ProcessorException {
DXFViewport viewport = null;
Iterator<DXFViewport> i = doc.getDXFViewportIterator();
boolean found = false;
while (i.hasNext() && !found) {
DXFViewport v = (DXFViewport) i.next();
if (v.isActive()) {
viewport = v;
found = true;
}
}