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; package org.compiere.print;
import java.awt.print.*; import java.awt.print.Pageable;
import org.compiere.model.*;
import org.compiere.print.layout.*; import org.adempiere.pdf.Document;
import org.compiere.util.*; import org.compiere.model.MArchive;
import org.adempiere.pdf.*; 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; package org.compiere.print;
import java.awt.*; import java.awt.Insets;
import java.awt.print.*; import java.awt.print.PageFormat;
import java.util.*; import java.awt.print.Paper;
import javax.print.attribute.*; import java.awt.print.PrinterJob;
import javax.print.attribute.standard.*; import java.util.Properties;
import org.compiere.util.*;
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 * Adempiere Paper

View File

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

View File

@ -16,11 +16,17 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.print; package org.compiere.print;
import java.awt.*; import java.awt.Color;
import java.util.*; import java.awt.SystemColor;
import java.util.logging.*; import java.util.Properties;
import org.compiere.model.*; import java.util.logging.Level;
import org.compiere.util.*;
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 * AD_PrintColor Print Color Model

View File

@ -16,11 +16,17 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.print; package org.compiere.print;
import java.awt.*; import java.awt.Font;
import java.util.*; import java.awt.GraphicsEnvironment;
import java.util.logging.*; import java.util.Iterator;
import org.compiere.model.*; import java.util.Map;
import org.compiere.util.*; 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 * AD_PrintFont Print Font Model

View File

@ -16,11 +16,20 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.print; package org.compiere.print;
import java.sql.*; import java.sql.PreparedStatement;
import java.util.*; import java.sql.ResultSet;
import java.util.logging.*; import java.sql.SQLException;
import org.compiere.model.*; import java.util.HashMap;
import org.compiere.util.*; 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. * Print Format Item Model.

View File

@ -16,9 +16,10 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.print; 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. * MPrintFormat Process.

View File

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

View File

@ -16,12 +16,20 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.print; package org.compiere.print;
import java.sql.*; import java.sql.ResultSet;
import java.util.*; import java.util.Properties;
import javax.print.attribute.*;
import javax.print.attribute.standard.*; import javax.print.attribute.EnumSyntax;
import org.compiere.model.*; import javax.print.attribute.Size2DSyntax;
import org.compiere.util.*; 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 * AD_PrintPaper Print Paper Model

View File

@ -16,18 +16,27 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.print; package org.compiere.print;
import java.awt.*; import java.awt.BasicStroke;
import java.math.*; 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.MalformedURLException;
import java.net.URL; import java.net.URL;
import java.sql.*; import java.sql.PreparedStatement;
import java.util.*; import java.sql.ResultSet;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*; import org.compiere.model.MAttachment;
import org.compiere.model.MImage;
import java.util.logging.*; import org.compiere.model.X_AD_PrintTableFormat;
import org.compiere.util.CCache;
import org.compiere.util.*; import org.compiere.util.CLogger;
import org.compiere.util.DB;
import org.compiere.util.Env;
/** /**
* Table Print Format * Table Print Format

View File

@ -16,16 +16,27 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.print; package org.compiere.print;
import java.io.*; import java.io.File;
import java.util.*; import java.io.Serializable;
import java.util.logging.*; import java.util.ArrayList;
import javax.xml.parsers.*; import java.util.Properties;
import javax.xml.transform.*; import java.util.logging.Level;
import javax.xml.transform.dom.*;
import javax.xml.transform.stream.*; import javax.xml.parsers.DocumentBuilder;
import org.compiere.*; import javax.xml.parsers.DocumentBuilderFactory;
import org.compiere.util.*; import javax.xml.parsers.SAXParser;
import org.w3c.dom.*; 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. * Print Data Structure.

View File

@ -16,14 +16,15 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.print; package org.compiere.print;
import java.math.*; import java.math.BigDecimal;
import java.sql.*; import java.sql.Timestamp;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.util.Locale;
import org.compiere.model.*; import org.compiere.model.MLocation;
import org.compiere.util.*; 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 * Print Data Element

View File

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

View File

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

View File

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

View File

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

View File

@ -16,14 +16,35 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.print; package org.compiere.print;
import java.awt.print.*; import java.awt.print.PageFormat;
import java.util.*; import java.awt.print.Pageable;
import java.util.logging.*; import java.awt.print.PrinterException;
import javax.print.*; import java.awt.print.PrinterJob;
import javax.print.attribute.*; import java.util.Properties;
import javax.print.attribute.standard.*; import java.util.logging.Level;
import javax.swing.*;
import org.compiere.util.*; 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 * Print Utilities

View File

@ -16,11 +16,18 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.print; package org.compiere.print;
import java.awt.*; import java.awt.Color;
import org.compiere.model.*; import java.awt.Dimension;
import org.compiere.print.layout.*; import java.awt.Graphics;
import org.compiere.swing.*; import java.awt.Graphics2D;
import org.compiere.util.*; 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 Panel

View File

@ -16,10 +16,13 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.print.layout; package org.compiere.print.layout;
import java.awt.*; import java.awt.BasicStroke;
import java.awt.geom.*; import java.awt.Color;
import java.util.*; import java.awt.Graphics2D;
import org.compiere.print.*; 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; package org.compiere.print.layout;
import java.awt.*; import java.awt.Dimension;
import java.awt.geom.*; import java.awt.geom.Dimension2D;
/** /**
* 2D Dimesnion Implementation * 2D Dimesnion Implementation

View File

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

View File

@ -16,11 +16,16 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.print.layout; package org.compiere.print.layout;
import java.awt.*; import java.awt.Font;
import java.awt.font.*; import java.awt.Graphics2D;
import java.awt.geom.*; import java.awt.Paint;
import java.text.*; import java.awt.font.FontRenderContext;
import java.util.*; 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. * Grid Element.

View File

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

View File

@ -16,12 +16,24 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.print.layout; package org.compiere.print.layout;
import java.awt.*; import java.awt.Graphics;
import java.io.*; import java.awt.Rectangle;
import javax.swing.text.*; import java.awt.Shape;
import javax.swing.text.html.*; import java.io.Reader;
import java.util.logging.*; import java.io.StringReader;
import org.compiere.util.*; 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 * HTML Renderer View

View File

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

View File

@ -16,15 +16,23 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.print.layout; package org.compiere.print.layout;
import java.awt.*; import java.awt.Graphics2D;
import java.awt.geom.*; import java.awt.Image;
import java.awt.Toolkit;
import java.awt.geom.AffineTransform;
import java.awt.geom.Point2D;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.net.*; import java.net.MalformedURLException;
import java.util.*; import java.net.URL;
import java.util.logging.*; import java.util.Properties;
import org.compiere.model.*; import java.util.logging.Level;
import org.compiere.print.*;
import org.compiere.util.*; 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 * Image Element

View File

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

View File

@ -16,10 +16,16 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.print.layout; package org.compiere.print.layout;
import java.awt.*; import java.awt.Color;
import java.util.*; import java.awt.Graphics2D;
import org.compiere.model.*; import java.awt.Image;
import org.compiere.util.*; 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 * Layout Page

View File

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

View File

@ -16,14 +16,21 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.print.layout; package org.compiere.print.layout;
import java.awt.*; import java.awt.Color;
import java.awt.geom.*; import java.awt.Graphics2D;
import java.awt.image.*; import java.awt.Image;
import java.util.*; import java.awt.Point;
import java.util.logging.*; import java.awt.Rectangle;
import org.compiere.model.*; import java.awt.Toolkit;
import org.compiere.print.*; import java.awt.geom.Point2D;
import org.compiere.util.*; 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 * Print Element

View File

@ -16,15 +16,28 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.print.layout; package org.compiere.print.layout;
import java.awt.*; import java.awt.Font;
import java.awt.font.*; import java.awt.Graphics2D;
import java.awt.geom.*; import java.awt.Paint;
import java.text.*; import java.awt.Point;
import java.util.*; import java.awt.font.FontRenderContext;
import java.util.regex.*; import java.awt.font.LineBreakMeasurer;
import org.compiere.model.*; import java.awt.font.TextAttribute;
import org.compiere.print.*; import java.awt.font.TextLayout;
import org.compiere.util.*; 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. * String Form Print ELement.