Source Code Cross Referenced for ParagraphProperties.java in  » Collaboration » poi-3.0.2-beta2 » org » apache » poi » hwpf » usermodel » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Collaboration » poi 3.0.2 beta2 » org.apache.poi.hwpf.usermodel 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /* ====================================================================
002:         Licensed to the Apache Software Foundation (ASF) under one or more
003:         contributor license agreements.  See the NOTICE file distributed with
004:         this work for additional information regarding copyright ownership.
005:         The ASF licenses this file to You under the Apache License, Version 2.0
006:         (the "License"); you may not use this file except in compliance with
007:         the License.  You may obtain a copy of the License at
008:
009:         http://www.apache.org/licenses/LICENSE-2.0
010:
011:         Unless required by applicable law or agreed to in writing, software
012:         distributed under the License is distributed on an "AS IS" BASIS,
013:         WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014:         See the License for the specific language governing permissions and
015:         limitations under the License.
016:         ==================================================================== */
017:
018:        package org.apache.poi.hwpf.usermodel;
019:
020:        import org.apache.poi.hwpf.model.types.PAPAbstractType;
021:        import org.apache.poi.hwpf.model.StyleDescription;
022:
023:        import org.apache.poi.hwpf.sprm.SprmBuffer;
024:
025:        public class ParagraphProperties extends PAPAbstractType implements 
026:                Cloneable {
027:
028:            public ParagraphProperties() {
029:                field_21_lspd = new LineSpacingDescriptor();
030:                field_24_phe = new byte[12];
031:                field_46_brcTop = new BorderCode();
032:                field_47_brcLeft = new BorderCode();
033:                field_48_brcBottom = new BorderCode();
034:                field_49_brcRight = new BorderCode();
035:                field_50_brcBetween = new BorderCode();
036:                field_51_brcBar = new BorderCode();
037:                field_60_anld = new byte[84];
038:                this .field_17_fWidowControl = 1;
039:                this .field_21_lspd.setMultiLinespace((short) 1);
040:                this .field_21_lspd.setDyaLine((short) 240);
041:                this .field_12_ilvl = (byte) 9;
042:                this .field_66_rgdxaTab = new int[0];
043:                this .field_67_rgtbd = new byte[0];
044:                this .field_63_dttmPropRMark = new DateAndTime();
045:
046:            }
047:
048:            public int getJustification() {
049:                return super .getJc();
050:            }
051:
052:            public void setJustification(byte jc) {
053:                super .setJc(jc);
054:            }
055:
056:            public boolean keepOnPage() {
057:                return super .getFKeep() != 0;
058:            }
059:
060:            public void setKeepOnPage(boolean fKeep) {
061:                super .setFKeep((byte) (fKeep ? 1 : 0));
062:            }
063:
064:            public boolean keepWithNext() {
065:                return super .getFKeepFollow() != 0;
066:            }
067:
068:            public void setKeepWithNext(boolean fKeepFollow) {
069:                super .setFKeepFollow((byte) (fKeepFollow ? 1 : 0));
070:            }
071:
072:            public boolean pageBreakBefore() {
073:                return super .getFPageBreakBefore() != 0;
074:            }
075:
076:            public void setPageBreakBefore(boolean fPageBreak) {
077:                super .setFPageBreakBefore((byte) (fPageBreak ? 1 : 0));
078:            }
079:
080:            public boolean isLineNotNumbered() {
081:                return super .getFNoLnn() != 0;
082:            }
083:
084:            public void setLineNotNumbered(boolean fNoLnn) {
085:                super .setFNoLnn((byte) (fNoLnn ? 1 : 0));
086:            }
087:
088:            public boolean isSideBySide() {
089:                return super .getFSideBySide() != 0;
090:            }
091:
092:            public void setSideBySide(boolean fSideBySide) {
093:                super .setFSideBySide((byte) (fSideBySide ? 1 : 0));
094:            }
095:
096:            public boolean isAutoHyphenated() {
097:                return super .getFNoAutoHyph() == 0;
098:            }
099:
100:            public void setAutoHyphenated(boolean auto) {
101:                super .setFNoAutoHyph((byte) (!auto ? 1 : 0));
102:            }
103:
104:            public boolean isWidowControlled() {
105:                return super .getFWidowControl() != 0;
106:            }
107:
108:            public void setWidowControl(boolean widowControl) {
109:                super .setFWidowControl((byte) (widowControl ? 1 : 0));
110:            }
111:
112:            public int getIndentFromRight() {
113:                return super .getDxaRight();
114:            }
115:
116:            public void setIndentFromRight(int dxaRight) {
117:                super .setDxaRight(dxaRight);
118:            }
119:
120:            public int getIndentFromLeft() {
121:                return super .getDxaLeft();
122:            }
123:
124:            public void setIndentFromLeft(int dxaLeft) {
125:                super .setDxaLeft(dxaLeft);
126:            }
127:
128:            public int getFirstLineIndent() {
129:                return super .getDxaLeft1();
130:            }
131:
132:            public void setFirstLineIndent(int first) {
133:                super .setDxaLeft1(first);
134:            }
135:
136:            public LineSpacingDescriptor getLineSpacing() {
137:                return super .getLspd();
138:            }
139:
140:            public void setLineSpacing(LineSpacingDescriptor lspd) {
141:                super .setLspd(lspd);
142:            }
143:
144:            public int getSpacingBefore() {
145:                return super .getDyaBefore();
146:            }
147:
148:            public void setSpacingBefore(int before) {
149:                super .setDyaBefore(before);
150:            }
151:
152:            public int getSpacingAfter() {
153:                return super .getDyaAfter();
154:            }
155:
156:            public void setSpacingAfter(int after) {
157:                super .setDyaAfter(after);
158:            }
159:
160:            public boolean isKinsoku() {
161:                return super .getFKinsoku() != 0;
162:            }
163:
164:            public void setKinsoku(boolean kinsoku) {
165:                super .setFKinsoku((byte) (kinsoku ? 1 : 0));
166:            }
167:
168:            public boolean isWordWrapped() {
169:                return super .getFWordWrap() != 0;
170:            }
171:
172:            public void setWordWrapped(boolean wrap) {
173:                super .setFWordWrap((byte) (wrap ? 1 : 0));
174:            }
175:
176:            public int getFontAlignment() {
177:                return super .getWAlignFont();
178:            }
179:
180:            public void setFontAlignment(int align) {
181:                super .setWAlignFont(align);
182:            }
183:
184:            public boolean isVertical() {
185:                return super .isFVertical();
186:            }
187:
188:            public void setVertical(boolean vertical) {
189:                super .setFVertical(vertical);
190:            }
191:
192:            public boolean isBackward() {
193:                return super .isFBackward();
194:            }
195:
196:            public void setBackward(boolean bward) {
197:                super .setFBackward(bward);
198:            }
199:
200:            public BorderCode getTopBorder() {
201:                return super .getBrcTop();
202:            }
203:
204:            public void setTopBorder(BorderCode top) {
205:                super .setBrcTop(top);
206:            }
207:
208:            public BorderCode getLeftBorder() {
209:                return super .getBrcLeft();
210:            }
211:
212:            public void setLeftBorder(BorderCode left) {
213:                super .setBrcLeft(left);
214:            }
215:
216:            public BorderCode getBottomBorder() {
217:                return super .getBrcBottom();
218:            }
219:
220:            public void setBottomBorder(BorderCode bottom) {
221:                super .setBrcBottom(bottom);
222:            }
223:
224:            public BorderCode getRightBorder() {
225:                return super .getBrcRight();
226:            }
227:
228:            public void setRightBorder(BorderCode right) {
229:                super .setBrcRight(right);
230:            }
231:
232:            public BorderCode getBarBorder() {
233:                return super .getBrcBar();
234:            }
235:
236:            public void setBarBorder(BorderCode bar) {
237:                super .setBrcBar(bar);
238:            }
239:
240:            public ShadingDescriptor getShading() {
241:                return super .getShd();
242:            }
243:
244:            public void setShading(ShadingDescriptor shd) {
245:                super .setShd(shd);
246:            }
247:
248:            public DropCapSpecifier getDropCap() {
249:                return super .getDcs();
250:            }
251:
252:            public void setDropCap(DropCapSpecifier dcs) {
253:                super .setDcs(dcs);
254:            }
255:
256:            public Object clone() throws CloneNotSupportedException {
257:                ParagraphProperties pp = (ParagraphProperties) super .clone();
258:                pp.field_21_lspd = (LineSpacingDescriptor) field_21_lspd
259:                        .clone();
260:                pp.field_24_phe = (byte[]) field_24_phe.clone();
261:                pp.field_46_brcTop = (BorderCode) field_46_brcTop.clone();
262:                pp.field_47_brcLeft = (BorderCode) field_47_brcLeft.clone();
263:                pp.field_48_brcBottom = (BorderCode) field_48_brcBottom.clone();
264:                pp.field_49_brcRight = (BorderCode) field_49_brcRight.clone();
265:                pp.field_50_brcBetween = (BorderCode) field_50_brcBetween
266:                        .clone();
267:                pp.field_51_brcBar = (BorderCode) field_51_brcBar.clone();
268:                pp.field_60_anld = (byte[]) field_60_anld.clone();
269:                return pp;
270:            }
271:
272:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.