D:\NewZebra\JavaApplications\DesignPatternsProject\src\structural_patterns\pdf_facade_pattern\PDF_Base.java
 1 /*
 2  * PDF_Base.java
 3  * 
 4  * Disclaimer:
 5  * ZebraSoft.com disclaims all warrantees with regard to documents/programs, including 
 6  * all implied warranties. In no event shall ZebraSoft.com be liable for indirect or 
 7  * consequential damages or any damages whatsoever resulting from loss of use, data or 
 8  * profits arising out of the use of documents/programs.
 9  * 
10  * All content included on this site, such as text, graphics, logos, button icons, 
11  * images, audio clips, video clips, digital downloads, programs, data compilations, 
12  * and software, is the property of ZebraSoft.com or its content suppliers and 
13  * protected by United States and international copyright laws. 
14  *
15  * This site or any portion of this site may not be reproduced, duplicated, 
16  * copied, sold, resold, visited, or otherwise exploited for any commercial  
17  * purpose without express written consent of ZebraSoft.com.
18  */
19 
20 package structural_patterns.pdf_facade_pattern;
21 
22 /**
23  *
24  * @author Sam Eldin
25  */
26 public class PDF_Base {
27       
28     
29     
30     public final static String      FOLDER_PATH                     = "D:\\Java\\JavaCourse_New\\DataObjectsStorage\\PDF_FacadeFiles";
31     public final static String      NEW_LINE_CHAR                   = "\n";
32     public final static String      CARRIAGE_RETURN_CHAR            = "\r";
33     public final static String      TEXT_FILE_EXTENSION             = ".txt";
34     public final static String      IMAGE_FILE_EXTENSION            = ".jpg";
35     public final static String      OBJECT_FILE_EXTENSION           = ".data";
36     public final static String      IMAGE_OBJECT_FILE_EXTENSION     = ".djpg";
37     public final static String      FILE_Separator                  = "\\";
38     public final static String      PAGE_BREAK                      = "<PageBreak>";
39     //-----------------------------------------
40     public final static int         MAX_LINES_PER_PAGE              = 41;
41     public final static int         TEXT_OBJECT_TYPE        = 0;
42     public final static int         IMAGE_OBJECT_TYPE       = 1;    
43     //-----------------------------------------
44     public final static int         FONT50_INDEX          = 0;
45     public final static int         FONT75_INDEX          = 1;
46     public final static int         FONT100_INDEX         = 2;
47     public final static int         FONT125_INDEX         = 3; 
48     public final static int         FONT150_INDEX         = 4;
49     public final static int         FONT175_INDEX         = 5;
50     public final static int         FONT200_INDEX         = 6;
51     //-----------------------------------------    
52     public final static int         FONT50_INDEX_VALUE          = 10;
53     public final static int         FONT75_INDEX_VALUE          = 11;
54     public final static int         FONT100_INDEX_VALUE         = 12;
55     public final static int         FONT125_INDEX_VALUE         = 14;
56     public final static int         FONT150_INDEX_VALUE         = 18;
57     public final static int         FONT175_INDEX_VALUE         = 22;
58     public final static int         FONT200_INDEX_VALUE         = 28;
59     //-----------------------------------------    
60     public static String [] textFilesNames
61         = {
62              "Singleton.txt",
63              "Command.txt"
64           };
65     
66     
67     /** Creates a new instance of PDF_Base */
68     public PDF_Base() {
69     }
70     
71 }
72 
73