KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > efs > openreports > objects > ReportExportOption


1 /*
2  * Copyright (C) 2006 Erik Swenson - erik@oreports.com
3  *
4  * This program is free software; you can redistribute it and/or modify it
5  * under the terms of the GNU General Public License as published by the Free
6  * Software Foundation; either version 2 of the License, or (at your option)
7  * any later version.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12  * more details.
13  *
14  * You should have received a copy of the GNU General Public License along with
15  * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
16  * Place - Suite 330, Boston, MA 02111-1307, USA.
17  *
18  */

19
20 package org.efs.openreports.objects;
21
22 import java.io.Serializable JavaDoc;
23
24 public class ReportExportOption implements Serializable JavaDoc
25 {
26     private static final long serialVersionUID = -8911923598920065987L;
27     
28     private Integer JavaDoc id;
29     
30     private boolean xlsRemoveEmptySpaceBetweenRows;
31     private boolean xlsOnePagePerSheet;
32     private boolean xlsAutoDetectCellType;
33     private boolean xlsWhitePageBackground;
34      
35     private boolean htmlRemoveEmptySpaceBetweenRows;
36     private boolean htmlWhitePageBackground;
37     private boolean htmlUsingImagesToAlign;
38     private boolean htmlWrapBreakWord;
39     
40     public Integer JavaDoc getId()
41     {
42         return id;
43     }
44
45     public void setId(Integer JavaDoc id)
46     {
47         this.id = id;
48     }
49
50     public boolean isHtmlRemoveEmptySpaceBetweenRows()
51     {
52         return htmlRemoveEmptySpaceBetweenRows;
53     }
54
55     public void setHtmlRemoveEmptySpaceBetweenRows(boolean htmlRemoveEmptySpaceBetweenRows)
56     {
57         this.htmlRemoveEmptySpaceBetweenRows = htmlRemoveEmptySpaceBetweenRows;
58     }
59
60     public boolean isXlsRemoveEmptySpaceBetweenRows()
61     {
62         return xlsRemoveEmptySpaceBetweenRows;
63     }
64
65     public void setXlsRemoveEmptySpaceBetweenRows(boolean xlsRemoveEmptySpaceBetweenRows)
66     {
67         this.xlsRemoveEmptySpaceBetweenRows = xlsRemoveEmptySpaceBetweenRows;
68     }
69
70     public boolean isXlsOnePagePerSheet()
71     {
72         return xlsOnePagePerSheet;
73     }
74
75     public void setXlsOnePagePerSheet(boolean xlsOnePagePerSheet)
76     {
77         this.xlsOnePagePerSheet = xlsOnePagePerSheet;
78     }
79
80     public boolean isHtmlUsingImagesToAlign()
81     {
82         return htmlUsingImagesToAlign;
83     }
84
85     public void setHtmlUsingImagesToAlign(boolean htmlUsingImagesToAlign)
86     {
87         this.htmlUsingImagesToAlign = htmlUsingImagesToAlign;
88     }
89
90     public boolean isHtmlWhitePageBackground()
91     {
92         return htmlWhitePageBackground;
93     }
94
95     public void setHtmlWhitePageBackground(boolean htmlWhitePageBackground)
96     {
97         this.htmlWhitePageBackground = htmlWhitePageBackground;
98     }
99
100     public boolean isHtmlWrapBreakWord()
101     {
102         return htmlWrapBreakWord;
103     }
104
105     public void setHtmlWrapBreakWord(boolean htmlWrapBreakWord)
106     {
107         this.htmlWrapBreakWord = htmlWrapBreakWord;
108     }
109
110     public boolean isXlsAutoDetectCellType()
111     {
112         return xlsAutoDetectCellType;
113     }
114
115     public void setXlsAutoDetectCellType(boolean xlsAutoDetectCellType)
116     {
117         this.xlsAutoDetectCellType = xlsAutoDetectCellType;
118     }
119
120     public boolean isXlsWhitePageBackground()
121     {
122         return xlsWhitePageBackground;
123     }
124
125     public void setXlsWhitePageBackground(boolean xlsWhitePageBackground)
126     {
127         this.xlsWhitePageBackground = xlsWhitePageBackground;
128     }
129 }
Popular Tags