organize imports

This commit is contained in:
Redhuan D. Oon 2008-12-22 09:25:48 +00:00
parent ca20aca410
commit 02a5beb71b
31 changed files with 325 additions and 157 deletions

View File

@ -16,11 +16,14 @@
*****************************************************************************/
package org.compiere.print;
import java.awt.print.*;
import org.compiere.model.*;
import org.compiere.print.layout.*;
import org.compiere.util.*;
import org.adempiere.pdf.*;
import java.awt.print.Pageable;
import org.adempiere.pdf.Document;
import org.compiere.model.MArchive;
import org.compiere.model.MClient;
import org.compiere.model.PrintInfo;
import org.compiere.print.layout.LayoutEngine;
import org.compiere.util.CLogger;
/**

View File

@ -16,12 +16,23 @@
*****************************************************************************/
package org.compiere.print;
import java.awt.*;
import java.awt.print.*;
import java.util.*;
import javax.print.attribute.*;
import javax.print.attribute.standard.*;
import org.compiere.util.*;
import java.awt.Insets;
import java.awt.print.PageFormat;
import java.awt.print.Paper;
import java.awt.print.PrinterJob;
import java.util.Properties;
import javax.print.attribute.Attribute;
import javax.print.attribute.HashPrintRequestAttributeSet;
import javax.print.attribute.PrintRequestAttributeSet;
import javax.print.attribute.standard.MediaPrintableArea;
import javax.print.attribute.standard.MediaSize;
import javax.print.attribute.standard.MediaSizeName;
import javax.print.attribute.standard.OrientationRequested;
import org.compiere.util.CLogger;
import org.compiere.util.Language;
import org.compiere.util.Msg;
/**
* Adempiere Paper

View File

@ -16,13 +16,17 @@
*****************************************************************************/
package org.compiere.print;
import java.awt.event.*;
import java.awt.print.*;
import javax.print.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.print.PrinterJob;
import javax.print.PrintService;
import javax.print.PrintServiceLookup;
import javax.swing.DefaultComboBoxModel;
import org.compiere.swing.*;
import org.compiere.util.*;
import org.compiere.swing.CComboBox;
import org.compiere.util.CLogger;
import org.compiere.util.Ini;
/**
* Adempiere Printer Selection

View File

@ -16,11 +16,17 @@
*****************************************************************************/
package org.compiere.print;
import java.awt.*;
import java.util.*;
import java.util.logging.*;
import org.compiere.model.*;
import org.compiere.util.*;
import java.awt.Color;
import java.awt.SystemColor;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.PO;
import org.compiere.model.X_AD_PrintColor;
import org.compiere.util.CCache;
import org.compiere.util.CLogger;
import org.compiere.util.Env;
import org.compiere.util.Util;
/**
* AD_PrintColor Print Color Model

View File

@ -16,11 +16,17 @@
*****************************************************************************/
package org.compiere.print;
import java.awt.*;
import java.util.*;
import java.util.logging.*;
import org.compiere.model.*;
import org.compiere.util.*;
import java.awt.Font;
import java.awt.GraphicsEnvironment;
import java.util.Iterator;
import java.util.Map;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.PO;
import org.compiere.model.X_AD_PrintFont;
import org.compiere.util.CCache;
import org.compiere.util.Env;
/**
* AD_PrintFont Print Font Model

View File

@ -16,11 +16,20 @@
*****************************************************************************/
package org.compiere.print;
import java.sql.*;
import java.util.*;
import java.util.logging.*;
import org.compiere.model.*;
import org.compiere.util.*;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.X_AD_PrintFormatItem;
import org.compiere.util.CCache;
import org.compiere.util.CLogger;
import org.compiere.util.DB;
import org.compiere.util.DisplayType;
import org.compiere.util.Env;
import org.compiere.util.Language;
/**
* Print Format Item Model.

View File

@ -16,9 +16,10 @@
*****************************************************************************/
package org.compiere.print;
import java.math.*;
import java.math.BigDecimal;
import org.compiere.process.*;
import org.compiere.process.ProcessInfoParameter;
import org.compiere.process.SvrProcess;
/**
* MPrintFormat Process.

View File

@ -16,10 +16,10 @@
*****************************************************************************/
package org.compiere.print;
import java.sql.*;
import java.util.*;
import java.sql.ResultSet;
import java.util.Properties;
import org.compiere.model.*;
import org.compiere.model.X_AD_PrintGraph;
/**
* Graph Model

View File

@ -16,12 +16,20 @@
*****************************************************************************/
package org.compiere.print;
import java.sql.*;
import java.util.*;
import javax.print.attribute.*;
import javax.print.attribute.standard.*;
import org.compiere.model.*;
import org.compiere.util.*;
import java.sql.ResultSet;
import java.util.Properties;
import javax.print.attribute.EnumSyntax;
import javax.print.attribute.Size2DSyntax;
import javax.print.attribute.standard.MediaSize;
import javax.print.attribute.standard.MediaSizeName;
import org.compiere.model.PO;
import org.compiere.model.X_AD_PrintPaper;
import org.compiere.util.CCache;
import org.compiere.util.CLogger;
import org.compiere.util.Env;
import org.compiere.util.Language;
/**
* AD_PrintPaper Print Paper Model

View File

@ -16,18 +16,27 @@
*****************************************************************************/
package org.compiere.print;
import java.awt.*;
import java.math.*;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Font;
import java.awt.Image;
import java.awt.Stroke;
import java.awt.Toolkit;
import java.math.BigDecimal;
import java.net.MalformedURLException;
import java.net.URL;
import java.sql.*;
import java.util.*;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
import java.util.logging.*;
import org.compiere.util.*;
import org.compiere.model.MAttachment;
import org.compiere.model.MImage;
import org.compiere.model.X_AD_PrintTableFormat;
import org.compiere.util.CCache;
import org.compiere.util.CLogger;
import org.compiere.util.DB;
import org.compiere.util.Env;
/**
* Table Print Format

View File

@ -16,16 +16,27 @@
*****************************************************************************/
package org.compiere.print;
import java.io.*;
import java.util.*;
import java.util.logging.*;
import javax.xml.parsers.*;
import javax.xml.transform.*;
import javax.xml.transform.dom.*;
import javax.xml.transform.stream.*;
import org.compiere.*;
import org.compiere.util.*;
import org.w3c.dom.*;
import java.io.File;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Properties;
import java.util.logging.Level;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
import org.compiere.Adempiere;
import org.compiere.util.CLogger;
import org.compiere.util.DisplayType;
import org.compiere.util.Trace;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
/**
* Print Data Structure.

View File

@ -16,14 +16,15 @@
*****************************************************************************/
package org.compiere.print;
import java.math.*;
import java.sql.*;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.util.Locale;
import java.math.BigDecimal;
import java.sql.Timestamp;
import org.compiere.model.*;
import org.compiere.util.*;
import org.compiere.model.MLocation;
import org.compiere.util.DisplayType;
import org.compiere.util.Env;
import org.compiere.util.KeyNamePair;
import org.compiere.util.Language;
import org.compiere.util.NamePair;
/**
* Print Data Element

View File

@ -16,8 +16,10 @@
*****************************************************************************/
package org.compiere.print;
import java.math.*;
import org.compiere.util.*;
import java.math.BigDecimal;
import org.compiere.util.DisplayType;
import org.compiere.util.Env;
/**
* Print Data Function

View File

@ -16,8 +16,10 @@
*****************************************************************************/
package org.compiere.print;
import java.util.*;
import java.math.*;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
/**
* Group By Management

View File

@ -16,10 +16,12 @@
*****************************************************************************/
package org.compiere.print;
import java.util.*;
import java.util.ArrayList;
import java.util.Properties;
import org.xml.sax.helpers.*;
import org.xml.sax.*;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;
/**
* SAX Handler for parsing PrintData

View File

@ -16,10 +16,14 @@
*****************************************************************************/
package org.compiere.print;
import java.sql.*;
import java.util.*;
import java.util.logging.*;
import org.compiere.util.*;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.util.CLogger;
import org.compiere.util.DB;
import org.compiere.util.Env;
/**
* Print Format Utilities.

View File

@ -16,14 +16,35 @@
*****************************************************************************/
package org.compiere.print;
import java.awt.print.*;
import java.util.*;
import java.util.logging.*;
import javax.print.*;
import javax.print.attribute.*;
import javax.print.attribute.standard.*;
import javax.swing.*;
import org.compiere.util.*;
import java.awt.print.PageFormat;
import java.awt.print.Pageable;
import java.awt.print.PrinterException;
import java.awt.print.PrinterJob;
import java.util.Properties;
import java.util.logging.Level;
import javax.print.DocFlavor;
import javax.print.PrintService;
import javax.print.PrintServiceLookup;
import javax.print.ServiceUIFactory;
import javax.print.StreamPrintServiceFactory;
import javax.print.attribute.Attribute;
import javax.print.attribute.HashPrintRequestAttributeSet;
import javax.print.attribute.PrintRequestAttributeSet;
import javax.print.attribute.PrintServiceAttributeSet;
import javax.print.attribute.standard.Copies;
import javax.print.attribute.standard.JobName;
import javax.print.attribute.standard.JobPriority;
import javax.print.attribute.standard.OrientationRequested;
import javax.swing.JDialog;
import javax.swing.JPanel;
import org.compiere.util.CLogMgt;
import org.compiere.util.CLogger;
import org.compiere.util.DB;
import org.compiere.util.Env;
import org.compiere.util.Language;
import org.compiere.util.Msg;
/**
* Print Utilities

View File

@ -16,11 +16,18 @@
*****************************************************************************/
package org.compiere.print;
import java.awt.*;
import org.compiere.model.*;
import org.compiere.print.layout.*;
import org.compiere.swing.*;
import org.compiere.util.*;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.Rectangle;
import org.compiere.model.MQuery;
import org.compiere.print.layout.LayoutEngine;
import org.compiere.print.layout.Page;
import org.compiere.swing.CPanel;
import org.compiere.util.CLogger;
/**
* View Panel

View File

@ -16,10 +16,13 @@
*****************************************************************************/
package org.compiere.print.layout;
import java.awt.*;
import java.awt.geom.*;
import java.util.*;
import org.compiere.print.*;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.geom.Point2D;
import java.util.Properties;
import org.compiere.print.MPrintFormatItem;
/**

View File

@ -16,8 +16,8 @@
*****************************************************************************/
package org.compiere.print.layout;
import java.awt.*;
import java.awt.geom.*;
import java.awt.Dimension;
import java.awt.geom.Dimension2D;
/**
* 2D Dimesnion Implementation

View File

@ -16,10 +16,11 @@
*****************************************************************************/
package org.compiere.print.layout;
import java.awt.*;
import java.awt.geom.*;
import java.util.*;
import org.compiere.print.*;
import java.awt.Graphics2D;
import java.awt.geom.Point2D;
import java.util.Properties;
import org.compiere.print.MPrintGraph;
/**
* Graphic Element

View File

@ -16,11 +16,16 @@
*****************************************************************************/
package org.compiere.print.layout;
import java.awt.*;
import java.awt.font.*;
import java.awt.geom.*;
import java.text.*;
import java.util.*;
import java.awt.Font;
import java.awt.Graphics2D;
import java.awt.Paint;
import java.awt.font.FontRenderContext;
import java.awt.font.TextAttribute;
import java.awt.font.TextLayout;
import java.awt.geom.Point2D;
import java.text.AttributedCharacterIterator;
import java.text.AttributedString;
import java.util.Properties;
/**
* Grid Element.

View File

@ -16,10 +16,10 @@
*****************************************************************************/
package org.compiere.print.layout;
import java.awt.*;
import java.awt.geom.*;
import java.util.*;
//import org.compiere.model.*;
import java.awt.Graphics2D;
import java.awt.Rectangle;
import java.awt.geom.Point2D;
import java.util.Properties;
/**
* HTML Form Print ELement.

View File

@ -16,12 +16,24 @@
*****************************************************************************/
package org.compiere.print.layout;
import java.awt.*;
import java.io.*;
import javax.swing.text.*;
import javax.swing.text.html.*;
import java.util.logging.*;
import org.compiere.util.*;
import java.awt.Graphics;
import java.awt.Rectangle;
import java.awt.Shape;
import java.io.Reader;
import java.io.StringReader;
import java.util.logging.Level;
import javax.swing.text.AttributeSet;
import javax.swing.text.BadLocationException;
import javax.swing.text.Document;
import javax.swing.text.Element;
import javax.swing.text.Position;
import javax.swing.text.View;
import javax.swing.text.ViewFactory;
import javax.swing.text.html.HTMLDocument;
import javax.swing.text.html.HTMLEditorKit;
import org.compiere.util.CLogger;
/**
* HTML Renderer View

View File

@ -16,9 +16,13 @@
*****************************************************************************/
package org.compiere.print.layout;
import java.awt.*;
import java.util.*;
import org.compiere.model.*;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.Rectangle;
import java.util.ArrayList;
import java.util.Properties;
import org.compiere.model.MQuery;
/**
* Header Footer

View File

@ -16,15 +16,23 @@
*****************************************************************************/
package org.compiere.print.layout;
import java.awt.*;
import java.awt.geom.*;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.Toolkit;
import java.awt.geom.AffineTransform;
import java.awt.geom.Point2D;
import java.math.BigDecimal;
import java.net.*;
import java.util.*;
import java.util.logging.*;
import org.compiere.model.*;
import org.compiere.print.*;
import org.compiere.util.*;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.MAttachment;
import org.compiere.model.MImage;
import org.compiere.print.MPrintFormatItem;
import org.compiere.print.PrintDataElement;
import org.compiere.util.CCache;
import org.compiere.util.Env;
/**
* Image Element

View File

@ -16,11 +16,12 @@
*****************************************************************************/
package org.compiere.print.layout;
import java.awt.*;
import java.util.*;
import java.util.regex.*;
import java.awt.Font;
import java.awt.Paint;
import java.util.Properties;
import java.util.regex.Pattern;
import org.compiere.model.*;
import org.compiere.model.MLocation;
/**
* Location/Address Element.

View File

@ -16,10 +16,16 @@
*****************************************************************************/
package org.compiere.print.layout;
import java.awt.*;
import java.util.*;
import org.compiere.model.*;
import org.compiere.util.*;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.Point;
import java.awt.Rectangle;
import java.util.ArrayList;
import java.util.Properties;
import org.compiere.model.MQuery;
import org.compiere.util.Msg;
/**
* Layout Page

View File

@ -16,10 +16,11 @@
*****************************************************************************/
package org.compiere.print.layout;
import java.util.*;
import org.compiere.model.*;
import org.compiere.print.*;
import org.compiere.util.*;
import java.util.Properties;
import org.compiere.model.MQuery;
import org.compiere.print.MPrintTableFormat;
import org.compiere.util.Msg;
/**
* Parameter Table

View File

@ -16,14 +16,21 @@
*****************************************************************************/
package org.compiere.print.layout;
import java.awt.*;
import java.awt.geom.*;
import java.awt.image.*;
import java.util.*;
import java.util.logging.*;
import org.compiere.model.*;
import org.compiere.print.*;
import org.compiere.util.*;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.Point;
import java.awt.Rectangle;
import java.awt.Toolkit;
import java.awt.geom.Point2D;
import java.awt.image.ImageObserver;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.MQuery;
import org.compiere.print.MPrintFormatItem;
import org.compiere.util.CLogMgt;
import org.compiere.util.CLogger;
/**
* Print Element

View File

@ -16,15 +16,28 @@
*****************************************************************************/
package org.compiere.print.layout;
import java.awt.*;
import java.awt.font.*;
import java.awt.geom.*;
import java.text.*;
import java.util.*;
import java.util.regex.*;
import org.compiere.model.*;
import org.compiere.print.*;
import org.compiere.util.*;
import java.awt.Font;
import java.awt.Graphics2D;
import java.awt.Paint;
import java.awt.Point;
import java.awt.font.FontRenderContext;
import java.awt.font.LineBreakMeasurer;
import java.awt.font.TextAttribute;
import java.awt.font.TextLayout;
import java.awt.geom.Point2D;
import java.text.AttributedCharacterIterator;
import java.text.AttributedString;
import java.text.CharacterIterator;
import java.util.Properties;
import java.util.regex.Pattern;
import org.compiere.model.MQuery;
import org.compiere.print.MPrintFormatItem;
import org.compiere.util.Env;
import org.compiere.util.KeyNamePair;
import org.compiere.util.Msg;
import org.compiere.util.NamePair;
import org.compiere.util.Util;
/**
* String Form Print ELement.