You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by jo...@apache.org on 2009/05/21 20:15:01 UTC
svn commit: r777204 [13/21] - in /poi/trunk/src/scratchpad:
examples/src/org/apache/poi/hslf/examples/
examples/src/org/apache/poi/hwpf/ src/org/apache/poi/hdf/event/
src/org/apache/poi/hdf/extractor/ src/org/apache/poi/hdf/extractor/data/
src/org/apac...
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/SectionTable.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/SectionTable.java?rev=777204&r1=777203&r2=777204&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/SectionTable.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/SectionTable.java Thu May 21 18:12:22 2009
@@ -27,7 +27,7 @@
/**
* @author Ryan Ackley
*/
-public class SectionTable
+public final class SectionTable
{
private static final int SED_SIZE = 12;
@@ -60,7 +60,7 @@
int fileOffset = sed.getFc();
int startAt = CPtoFC(node.getStart());
int endAt = CPtoFC(node.getEnd());
-
+
boolean isUnicodeAtStart = tpt.isUnicodeAtByteOffset( startAt );
// System.err.println(startAt + " -> " + endAt + " = " + isUnicodeAtStart);
@@ -79,7 +79,7 @@
_sections.add(new SEPX(sed, startAt, endAt, buf, isUnicodeAtStart));
}
}
-
+
// Some files seem to lie about their unicode status, which
// is very very pesky. Try to work around these, but this
// is getting on for black magic...
@@ -99,7 +99,7 @@
for(int i=0; i<_sections.size(); i++) {
SEPX s = (SEPX)_sections.get(i);
GenericPropertyNode node = sedPlex.getProperty(i);
-
+
s.setStart( CPtoFC(node.getStart()) );
s.setEnd( CPtoFC(node.getEnd()) );
}
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/ShapesTable.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/ShapesTable.java?rev=777204&r1=777203&r2=777204&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/ShapesTable.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/ShapesTable.java Thu May 21 18:12:22 2009
@@ -22,7 +22,7 @@
import org.apache.poi.hwpf.usermodel.Shape;
-public class ShapesTable {
+public final class ShapesTable {
private List _shapes;
private List _shapesVisibili; //holds visible shapes
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/StyleDescription.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/StyleDescription.java?rev=777204&r1=777203&r2=777204&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/StyleDescription.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/StyleDescription.java Thu May 21 18:12:22 2009
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,8 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
-
package org.apache.poi.hwpf.model;
@@ -34,7 +31,7 @@
* @author Ryan Ackley
*/
-public class StyleDescription implements HDFType
+public final class StyleDescription implements HDFType
{
private final static int PARAGRAPH_STYLE = 1;
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/StyleSheet.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/StyleSheet.java?rev=777204&r1=777203&r2=777204&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/StyleSheet.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/StyleSheet.java Thu May 21 18:12:22 2009
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,8 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
-
package org.apache.poi.hwpf.model;
@@ -39,7 +36,7 @@
* @author Ryan Ackley
*/
-public class StyleSheet implements HDFType
+public final class StyleSheet implements HDFType
{
public static final int NIL_STYLE = 4095;
@@ -231,7 +228,7 @@
{
parentPAP = _styleDescriptions[baseIndex].getPAP();
- if(parentPAP == null)
+ if(parentPAP == null)
{
if(baseIndex == istd) {
// Oh dear, style claims that it is its own parent
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/TextPiece.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/TextPiece.java?rev=777204&r1=777203&r2=777204&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/TextPiece.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/TextPiece.java Thu May 21 18:12:22 2009
@@ -15,7 +15,6 @@
limitations under the License.
==================================================================== */
-
package org.apache.poi.hwpf.model;
@@ -29,7 +28,7 @@
* @author Ryan Ackley
*/
-public class TextPiece extends PropertyNode implements Comparable
+public final class TextPiece extends PropertyNode implements Comparable
{
private boolean _usesUnicode;
@@ -44,7 +43,7 @@
super(start, end, buildInitSB(text, pd));
_usesUnicode = pd.isUnicode();
_pd = pd;
-
+
// Validate
int textLength = ((StringBuffer)_buf).length();
if(end-start != textLength) {
@@ -54,7 +53,7 @@
throw new IllegalStateException("Told we're of negative size! start="+start + " end="+end);
}
}
-
+
/**
* Create the StringBuffer from the text and unicode flag
*/
@@ -71,7 +70,7 @@
}
return new StringBuffer(str);
}
-
+
/**
* @return If this text piece is unicode
*/
@@ -101,7 +100,7 @@
}
/**
- * Returns part of the string.
+ * Returns part of the string.
* Works only in characters, not in bytes!
* @param start Local start position, in characters
* @param end Local end position, in characters
@@ -109,7 +108,7 @@
public String substring(int start, int end)
{
StringBuffer buf = (StringBuffer)_buf;
-
+
// Validate
if(start < 0) {
throw new StringIndexOutOfBoundsException("Can't request a substring before 0 - asked for " + start);
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/TextPieceTable.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/TextPieceTable.java?rev=777204&r1=777203&r2=777204&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/TextPieceTable.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/TextPieceTable.java Thu May 21 18:12:22 2009
@@ -15,7 +15,6 @@
limitations under the License.
==================================================================== */
-
package org.apache.poi.hwpf.model;
@@ -38,7 +37,7 @@
* convertion.
* @author Ryan Ackley
*/
-public class TextPieceTable
+public final class TextPieceTable
{
protected ArrayList _textPieces = new ArrayList();
//int _multiple;
@@ -65,7 +64,7 @@
pieces[x] = new PieceDescriptor(node.getBytes(), 0);
}
-
+
// Figure out the cp of the earliest text piece
// Note that text pieces don't have to be stored in order!
_cpMin = pieces[0].getFilePosition() - fcMin;
@@ -82,18 +81,18 @@
{
int start = pieces[x].getFilePosition();
PropertyNode node = pieceTable.getProperty(x);
-
+
// Grab the start and end, which are in characters
int nodeStartChars = node.getStart();
int nodeEndChars = node.getEnd();
-
+
// What's the relationship between bytes and characters?
boolean unicode = pieces[x].isUnicode();
int multiple = 1;
if (unicode) {
multiple = 2;
}
-
+
// Figure out the length, in bytes and chars
int textSizeChars = (nodeEndChars - nodeStartChars);
int textSizeBytes = textSizeChars * multiple;
@@ -105,7 +104,7 @@
// And now build the piece
_textPieces.add(new TextPiece(nodeStartChars, nodeEndChars, buf, pieces[x], node.getStart()));
}
-
+
// In the interest of our sanity, now sort the text pieces
// into order, if they're not already
TextPiece[] tp = (TextPiece[])
@@ -125,18 +124,18 @@
{
return _textPieces;
}
-
+
/**
* Is the text at the given Character offset
* unicode, or plain old ascii?
- * In a very evil fashion, you have to actually
+ * In a very evil fashion, you have to actually
* know this to make sense of character and
* paragraph properties :(
* @param cp The character offset to check about
*/
public boolean isUnicodeAtCharOffset(int cp) {
boolean lastWas = false;
-
+
Iterator it = _textPieces.iterator();
while(it.hasNext()) {
TextPiece tp = (TextPiece)it.next();
@@ -147,14 +146,14 @@
// Otherwise keep track for the last one
lastWas = tp.isUnicode();
}
-
+
// If they ask off the end, just go with the last one...
return lastWas;
}
/**
* Is the text at the given byte offset
* unicode, or plain old ascii?
- * In a very evil fashion, you have to actually
+ * In a very evil fashion, you have to actually
* know this to make sense of character and
* paragraph properties :(
* @param bytePos The character offset to check about
@@ -162,12 +161,12 @@
public boolean isUnicodeAtByteOffset(int bytePos) {
boolean lastWas = false;
int curByte = 0;
-
+
Iterator it = _textPieces.iterator();
while(it.hasNext()) {
TextPiece tp = (TextPiece)it.next();
int nextByte = curByte + tp.bytesLength();
-
+
// If the text piece covers the character, all good
if(curByte <= bytePos && nextByte >= bytePos) {
return tp.isUnicode();
@@ -177,7 +176,7 @@
// Move along
curByte = nextByte;
}
-
+
// If they ask off the end, just go with the last one...
return lastWas;
}
@@ -234,10 +233,10 @@
int size = _textPieces.size();
TextPiece tp = (TextPiece)_textPieces.get(listIndex);
-
+
// Update with the new end
tp.setEnd(tp.getEnd() + length);
-
+
// Now change all subsequent ones
for (int x = listIndex + 1; x < size; x++)
{
@@ -245,7 +244,7 @@
tp.setStart(tp.getStart() + length);
tp.setEnd(tp.getEnd() + length);
}
-
+
// All done
return length;
}
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/UPX.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/UPX.java?rev=777204&r1=777203&r2=777204&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/UPX.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/UPX.java Thu May 21 18:12:22 2009
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,13 +14,12 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
package org.apache.poi.hwpf.model;
import java.util.Arrays;
-public class UPX
+public final class UPX
{
private byte[] _upx;
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/UnhandledDataStructure.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/UnhandledDataStructure.java?rev=777204&r1=777203&r2=777204&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/UnhandledDataStructure.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/UnhandledDataStructure.java Thu May 21 18:12:22 2009
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,10 +14,10 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hwpf.model;
-public class UnhandledDataStructure
+public final class UnhandledDataStructure
{
byte[] _buf;
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/io/HWPFFileSystem.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/io/HWPFFileSystem.java?rev=777204&r1=777203&r2=777204&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/io/HWPFFileSystem.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/io/HWPFFileSystem.java Thu May 21 18:12:22 2009
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,13 +14,13 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hwpf.model.io;
import java.util.HashMap;
-public class HWPFFileSystem
+public final class HWPFFileSystem
{
HashMap _streams = new HashMap();
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/io/HWPFOutputStream.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/io/HWPFOutputStream.java?rev=777204&r1=777203&r2=777204&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/io/HWPFOutputStream.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/io/HWPFOutputStream.java Thu May 21 18:12:22 2009
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,12 +14,12 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hwpf.model.io;
import java.io.ByteArrayOutputStream;
-public class HWPFOutputStream extends ByteArrayOutputStream
+public final class HWPFOutputStream extends ByteArrayOutputStream
{
int _offset;
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/CHPAbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/CHPAbstractType.java?rev=777204&r1=777203&r2=777204&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/CHPAbstractType.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/CHPAbstractType.java Thu May 21 18:12:22 2009
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,8 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
-
package org.apache.poi.hwpf.model.types;
@@ -818,569 +815,569 @@
/**
* Sets the fBold field value.
- *
+ *
*/
public void setFBold(boolean value)
{
field_2_format_flags = (int)fBold.setBoolean(field_2_format_flags, value);
-
+
}
/**
- *
+ *
* @return the fBold field value.
*/
public boolean isFBold()
{
return fBold.isSet(field_2_format_flags);
-
+
}
/**
* Sets the fItalic field value.
- *
+ *
*/
public void setFItalic(boolean value)
{
field_2_format_flags = (int)fItalic.setBoolean(field_2_format_flags, value);
-
+
}
/**
- *
+ *
* @return the fItalic field value.
*/
public boolean isFItalic()
{
return fItalic.isSet(field_2_format_flags);
-
+
}
/**
* Sets the fRMarkDel field value.
- *
+ *
*/
public void setFRMarkDel(boolean value)
{
field_2_format_flags = (int)fRMarkDel.setBoolean(field_2_format_flags, value);
-
+
}
/**
- *
+ *
* @return the fRMarkDel field value.
*/
public boolean isFRMarkDel()
{
return fRMarkDel.isSet(field_2_format_flags);
-
+
}
/**
* Sets the fOutline field value.
- *
+ *
*/
public void setFOutline(boolean value)
{
field_2_format_flags = (int)fOutline.setBoolean(field_2_format_flags, value);
-
+
}
/**
- *
+ *
* @return the fOutline field value.
*/
public boolean isFOutline()
{
return fOutline.isSet(field_2_format_flags);
-
+
}
/**
* Sets the fFldVanish field value.
- *
+ *
*/
public void setFFldVanish(boolean value)
{
field_2_format_flags = (int)fFldVanish.setBoolean(field_2_format_flags, value);
-
+
}
/**
- *
+ *
* @return the fFldVanish field value.
*/
public boolean isFFldVanish()
{
return fFldVanish.isSet(field_2_format_flags);
-
+
}
/**
* Sets the fSmallCaps field value.
- *
+ *
*/
public void setFSmallCaps(boolean value)
{
field_2_format_flags = (int)fSmallCaps.setBoolean(field_2_format_flags, value);
-
+
}
/**
- *
+ *
* @return the fSmallCaps field value.
*/
public boolean isFSmallCaps()
{
return fSmallCaps.isSet(field_2_format_flags);
-
+
}
/**
* Sets the fCaps field value.
- *
+ *
*/
public void setFCaps(boolean value)
{
field_2_format_flags = (int)fCaps.setBoolean(field_2_format_flags, value);
-
+
}
/**
- *
+ *
* @return the fCaps field value.
*/
public boolean isFCaps()
{
return fCaps.isSet(field_2_format_flags);
-
+
}
/**
* Sets the fVanish field value.
- *
+ *
*/
public void setFVanish(boolean value)
{
field_2_format_flags = (int)fVanish.setBoolean(field_2_format_flags, value);
-
+
}
/**
- *
+ *
* @return the fVanish field value.
*/
public boolean isFVanish()
{
return fVanish.isSet(field_2_format_flags);
-
+
}
/**
* Sets the fRMark field value.
- *
+ *
*/
public void setFRMark(boolean value)
{
field_2_format_flags = (int)fRMark.setBoolean(field_2_format_flags, value);
-
+
}
/**
- *
+ *
* @return the fRMark field value.
*/
public boolean isFRMark()
{
return fRMark.isSet(field_2_format_flags);
-
+
}
/**
* Sets the fSpec field value.
- *
+ *
*/
public void setFSpec(boolean value)
{
field_2_format_flags = (int)fSpec.setBoolean(field_2_format_flags, value);
-
+
}
/**
- *
+ *
* @return the fSpec field value.
*/
public boolean isFSpec()
{
return fSpec.isSet(field_2_format_flags);
-
+
}
/**
* Sets the fStrike field value.
- *
+ *
*/
public void setFStrike(boolean value)
{
field_2_format_flags = (int)fStrike.setBoolean(field_2_format_flags, value);
-
+
}
/**
- *
+ *
* @return the fStrike field value.
*/
public boolean isFStrike()
{
return fStrike.isSet(field_2_format_flags);
-
+
}
/**
* Sets the fObj field value.
- *
+ *
*/
public void setFObj(boolean value)
{
field_2_format_flags = (int)fObj.setBoolean(field_2_format_flags, value);
-
+
}
/**
- *
+ *
* @return the fObj field value.
*/
public boolean isFObj()
{
return fObj.isSet(field_2_format_flags);
-
+
}
/**
* Sets the fShadow field value.
- *
+ *
*/
public void setFShadow(boolean value)
{
field_2_format_flags = (int)fShadow.setBoolean(field_2_format_flags, value);
-
+
}
/**
- *
+ *
* @return the fShadow field value.
*/
public boolean isFShadow()
{
return fShadow.isSet(field_2_format_flags);
-
+
}
/**
* Sets the fLowerCase field value.
- *
+ *
*/
public void setFLowerCase(boolean value)
{
field_2_format_flags = (int)fLowerCase.setBoolean(field_2_format_flags, value);
-
+
}
/**
- *
+ *
* @return the fLowerCase field value.
*/
public boolean isFLowerCase()
{
return fLowerCase.isSet(field_2_format_flags);
-
+
}
/**
* Sets the fData field value.
- *
+ *
*/
public void setFData(boolean value)
{
field_2_format_flags = (int)fData.setBoolean(field_2_format_flags, value);
-
+
}
/**
- *
+ *
* @return the fData field value.
*/
public boolean isFData()
{
return fData.isSet(field_2_format_flags);
-
+
}
/**
* Sets the fOle2 field value.
- *
+ *
*/
public void setFOle2(boolean value)
{
field_2_format_flags = (int)fOle2.setBoolean(field_2_format_flags, value);
-
+
}
/**
- *
+ *
* @return the fOle2 field value.
*/
public boolean isFOle2()
{
return fOle2.isSet(field_2_format_flags);
-
+
}
/**
* Sets the fEmboss field value.
- *
+ *
*/
public void setFEmboss(boolean value)
{
field_3_format_flags1 = (int)fEmboss.setBoolean(field_3_format_flags1, value);
-
+
}
/**
- *
+ *
* @return the fEmboss field value.
*/
public boolean isFEmboss()
{
return fEmboss.isSet(field_3_format_flags1);
-
+
}
/**
* Sets the fImprint field value.
- *
+ *
*/
public void setFImprint(boolean value)
{
field_3_format_flags1 = (int)fImprint.setBoolean(field_3_format_flags1, value);
-
+
}
/**
- *
+ *
* @return the fImprint field value.
*/
public boolean isFImprint()
{
return fImprint.isSet(field_3_format_flags1);
-
+
}
/**
* Sets the fDStrike field value.
- *
+ *
*/
public void setFDStrike(boolean value)
{
field_3_format_flags1 = (int)fDStrike.setBoolean(field_3_format_flags1, value);
-
+
}
/**
- *
+ *
* @return the fDStrike field value.
*/
public boolean isFDStrike()
{
return fDStrike.isSet(field_3_format_flags1);
-
+
}
/**
* Sets the fUsePgsuSettings field value.
- *
+ *
*/
public void setFUsePgsuSettings(boolean value)
{
field_3_format_flags1 = (int)fUsePgsuSettings.setBoolean(field_3_format_flags1, value);
-
+
}
/**
- *
+ *
* @return the fUsePgsuSettings field value.
*/
public boolean isFUsePgsuSettings()
{
return fUsePgsuSettings.isSet(field_3_format_flags1);
-
+
}
/**
* Sets the icoHighlight field value.
- *
+ *
*/
public void setIcoHighlight(byte value)
{
field_33_Highlight = (short)icoHighlight.setValue(field_33_Highlight, value);
-
+
}
/**
- *
+ *
* @return the icoHighlight field value.
*/
public byte getIcoHighlight()
{
return ( byte )icoHighlight.getValue(field_33_Highlight);
-
+
}
/**
* Sets the fHighlight field value.
- *
+ *
*/
public void setFHighlight(boolean value)
{
field_33_Highlight = (short)fHighlight.setBoolean(field_33_Highlight, value);
-
+
}
/**
- *
+ *
* @return the fHighlight field value.
*/
public boolean isFHighlight()
{
return fHighlight.isSet(field_33_Highlight);
-
+
}
/**
* Sets the kcd field value.
- *
+ *
*/
public void setKcd(byte value)
{
field_33_Highlight = (short)kcd.setValue(field_33_Highlight, value);
-
+
}
/**
- *
+ *
* @return the kcd field value.
*/
public byte getKcd()
{
return ( byte )kcd.getValue(field_33_Highlight);
-
+
}
/**
* Sets the fNavHighlight field value.
- *
+ *
*/
public void setFNavHighlight(boolean value)
{
field_33_Highlight = (short)fNavHighlight.setBoolean(field_33_Highlight, value);
-
+
}
/**
- *
+ *
* @return the fNavHighlight field value.
*/
public boolean isFNavHighlight()
{
return fNavHighlight.isSet(field_33_Highlight);
-
+
}
/**
* Sets the fChsDiff field value.
- *
+ *
*/
public void setFChsDiff(boolean value)
{
field_33_Highlight = (short)fChsDiff.setBoolean(field_33_Highlight, value);
-
+
}
/**
- *
+ *
* @return the fChsDiff field value.
*/
public boolean isFChsDiff()
{
return fChsDiff.isSet(field_33_Highlight);
-
+
}
/**
* Sets the fMacChs field value.
- *
+ *
*/
public void setFMacChs(boolean value)
{
field_33_Highlight = (short)fMacChs.setBoolean(field_33_Highlight, value);
-
+
}
/**
- *
+ *
* @return the fMacChs field value.
*/
public boolean isFMacChs()
{
return fMacChs.isSet(field_33_Highlight);
-
+
}
/**
* Sets the fFtcAsciSym field value.
- *
+ *
*/
public void setFFtcAsciSym(boolean value)
{
field_33_Highlight = (short)fFtcAsciSym.setBoolean(field_33_Highlight, value);
-
+
}
/**
- *
+ *
* @return the fFtcAsciSym field value.
*/
public boolean isFFtcAsciSym()
{
return fFtcAsciSym.isSet(field_33_Highlight);
-
+
}
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/DOPAbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/DOPAbstractType.java?rev=777204&r1=777203&r2=777204&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/DOPAbstractType.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/DOPAbstractType.java Thu May 21 18:12:22 2009
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,8 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
-
package org.apache.poi.hwpf.model.types;
@@ -1430,1934 +1427,1934 @@
/**
* Sets the fFacingPages field value.
- *
+ *
*/
public void setFFacingPages(boolean value)
{
field_1_formatFlags = (byte)fFacingPages.setBoolean(field_1_formatFlags, value);
-
+
}
/**
- *
+ *
* @return the fFacingPages field value.
*/
public boolean isFFacingPages()
{
return fFacingPages.isSet(field_1_formatFlags);
-
+
}
/**
* Sets the fWidowControl field value.
- *
+ *
*/
public void setFWidowControl(boolean value)
{
field_1_formatFlags = (byte)fWidowControl.setBoolean(field_1_formatFlags, value);
-
+
}
/**
- *
+ *
* @return the fWidowControl field value.
*/
public boolean isFWidowControl()
{
return fWidowControl.isSet(field_1_formatFlags);
-
+
}
/**
* Sets the fPMHMainDoc field value.
- *
+ *
*/
public void setFPMHMainDoc(boolean value)
{
field_1_formatFlags = (byte)fPMHMainDoc.setBoolean(field_1_formatFlags, value);
-
+
}
/**
- *
+ *
* @return the fPMHMainDoc field value.
*/
public boolean isFPMHMainDoc()
{
return fPMHMainDoc.isSet(field_1_formatFlags);
-
+
}
/**
* Sets the grfSupression field value.
- *
+ *
*/
public void setGrfSupression(byte value)
{
field_1_formatFlags = (byte)grfSupression.setValue(field_1_formatFlags, value);
-
+
}
/**
- *
+ *
* @return the grfSupression field value.
*/
public byte getGrfSupression()
{
return ( byte )grfSupression.getValue(field_1_formatFlags);
-
+
}
/**
* Sets the fpc field value.
- *
+ *
*/
public void setFpc(byte value)
{
field_1_formatFlags = (byte)fpc.setValue(field_1_formatFlags, value);
-
+
}
/**
- *
+ *
* @return the fpc field value.
*/
public byte getFpc()
{
return ( byte )fpc.getValue(field_1_formatFlags);
-
+
}
/**
* Sets the unused1 field value.
- *
+ *
*/
public void setUnused1(boolean value)
{
field_1_formatFlags = (byte)unused1.setBoolean(field_1_formatFlags, value);
-
+
}
/**
- *
+ *
* @return the unused1 field value.
*/
public boolean isUnused1()
{
return unused1.isSet(field_1_formatFlags);
-
+
}
/**
* Sets the rncFtn field value.
- *
+ *
*/
public void setRncFtn(byte value)
{
field_3_footnoteInfo = (short)rncFtn.setValue(field_3_footnoteInfo, value);
-
+
}
/**
- *
+ *
* @return the rncFtn field value.
*/
public byte getRncFtn()
{
return ( byte )rncFtn.getValue(field_3_footnoteInfo);
-
+
}
/**
* Sets the nFtn field value.
- *
+ *
*/
public void setNFtn(short value)
{
field_3_footnoteInfo = (short)nFtn.setValue(field_3_footnoteInfo, value);
-
+
}
/**
- *
+ *
* @return the nFtn field value.
*/
public short getNFtn()
{
return ( short )nFtn.getValue(field_3_footnoteInfo);
-
+
}
/**
* Sets the fOnlyMacPics field value.
- *
+ *
*/
public void setFOnlyMacPics(boolean value)
{
field_5_docinfo = (byte)fOnlyMacPics.setBoolean(field_5_docinfo, value);
-
+
}
/**
- *
+ *
* @return the fOnlyMacPics field value.
*/
public boolean isFOnlyMacPics()
{
return fOnlyMacPics.isSet(field_5_docinfo);
-
+
}
/**
* Sets the fOnlyWinPics field value.
- *
+ *
*/
public void setFOnlyWinPics(boolean value)
{
field_5_docinfo = (byte)fOnlyWinPics.setBoolean(field_5_docinfo, value);
-
+
}
/**
- *
+ *
* @return the fOnlyWinPics field value.
*/
public boolean isFOnlyWinPics()
{
return fOnlyWinPics.isSet(field_5_docinfo);
-
+
}
/**
* Sets the fLabelDoc field value.
- *
+ *
*/
public void setFLabelDoc(boolean value)
{
field_5_docinfo = (byte)fLabelDoc.setBoolean(field_5_docinfo, value);
-
+
}
/**
- *
+ *
* @return the fLabelDoc field value.
*/
public boolean isFLabelDoc()
{
return fLabelDoc.isSet(field_5_docinfo);
-
+
}
/**
* Sets the fHyphCapitals field value.
- *
+ *
*/
public void setFHyphCapitals(boolean value)
{
field_5_docinfo = (byte)fHyphCapitals.setBoolean(field_5_docinfo, value);
-
+
}
/**
- *
+ *
* @return the fHyphCapitals field value.
*/
public boolean isFHyphCapitals()
{
return fHyphCapitals.isSet(field_5_docinfo);
-
+
}
/**
* Sets the fAutoHyphen field value.
- *
+ *
*/
public void setFAutoHyphen(boolean value)
{
field_5_docinfo = (byte)fAutoHyphen.setBoolean(field_5_docinfo, value);
-
+
}
/**
- *
+ *
* @return the fAutoHyphen field value.
*/
public boolean isFAutoHyphen()
{
return fAutoHyphen.isSet(field_5_docinfo);
-
+
}
/**
* Sets the fFormNoFields field value.
- *
+ *
*/
public void setFFormNoFields(boolean value)
{
field_5_docinfo = (byte)fFormNoFields.setBoolean(field_5_docinfo, value);
-
+
}
/**
- *
+ *
* @return the fFormNoFields field value.
*/
public boolean isFFormNoFields()
{
return fFormNoFields.isSet(field_5_docinfo);
-
+
}
/**
* Sets the fLinkStyles field value.
- *
+ *
*/
public void setFLinkStyles(boolean value)
{
field_5_docinfo = (byte)fLinkStyles.setBoolean(field_5_docinfo, value);
-
+
}
/**
- *
+ *
* @return the fLinkStyles field value.
*/
public boolean isFLinkStyles()
{
return fLinkStyles.isSet(field_5_docinfo);
-
+
}
/**
* Sets the fRevMarking field value.
- *
+ *
*/
public void setFRevMarking(boolean value)
{
field_5_docinfo = (byte)fRevMarking.setBoolean(field_5_docinfo, value);
-
+
}
/**
- *
+ *
* @return the fRevMarking field value.
*/
public boolean isFRevMarking()
{
return fRevMarking.isSet(field_5_docinfo);
-
+
}
/**
* Sets the fBackup field value.
- *
+ *
*/
public void setFBackup(boolean value)
{
field_6_docinfo1 = (byte)fBackup.setBoolean(field_6_docinfo1, value);
-
+
}
/**
- *
+ *
* @return the fBackup field value.
*/
public boolean isFBackup()
{
return fBackup.isSet(field_6_docinfo1);
-
+
}
/**
* Sets the fExactCWords field value.
- *
+ *
*/
public void setFExactCWords(boolean value)
{
field_6_docinfo1 = (byte)fExactCWords.setBoolean(field_6_docinfo1, value);
-
+
}
/**
- *
+ *
* @return the fExactCWords field value.
*/
public boolean isFExactCWords()
{
return fExactCWords.isSet(field_6_docinfo1);
-
+
}
/**
* Sets the fPagHidden field value.
- *
+ *
*/
public void setFPagHidden(boolean value)
{
field_6_docinfo1 = (byte)fPagHidden.setBoolean(field_6_docinfo1, value);
-
+
}
/**
- *
+ *
* @return the fPagHidden field value.
*/
public boolean isFPagHidden()
{
return fPagHidden.isSet(field_6_docinfo1);
-
+
}
/**
* Sets the fPagResults field value.
- *
+ *
*/
public void setFPagResults(boolean value)
{
field_6_docinfo1 = (byte)fPagResults.setBoolean(field_6_docinfo1, value);
-
+
}
/**
- *
+ *
* @return the fPagResults field value.
*/
public boolean isFPagResults()
{
return fPagResults.isSet(field_6_docinfo1);
-
+
}
/**
* Sets the fLockAtn field value.
- *
+ *
*/
public void setFLockAtn(boolean value)
{
field_6_docinfo1 = (byte)fLockAtn.setBoolean(field_6_docinfo1, value);
-
+
}
/**
- *
+ *
* @return the fLockAtn field value.
*/
public boolean isFLockAtn()
{
return fLockAtn.isSet(field_6_docinfo1);
-
+
}
/**
* Sets the fMirrorMargins field value.
- *
+ *
*/
public void setFMirrorMargins(boolean value)
{
field_6_docinfo1 = (byte)fMirrorMargins.setBoolean(field_6_docinfo1, value);
-
+
}
/**
- *
+ *
* @return the fMirrorMargins field value.
*/
public boolean isFMirrorMargins()
{
return fMirrorMargins.isSet(field_6_docinfo1);
-
+
}
/**
* Sets the unused3 field value.
- *
+ *
*/
public void setUnused3(boolean value)
{
field_6_docinfo1 = (byte)unused3.setBoolean(field_6_docinfo1, value);
-
+
}
/**
- *
+ *
* @return the unused3 field value.
*/
public boolean isUnused3()
{
return unused3.isSet(field_6_docinfo1);
-
+
}
/**
* Sets the fDfltTrueType field value.
- *
+ *
*/
public void setFDfltTrueType(boolean value)
{
field_6_docinfo1 = (byte)fDfltTrueType.setBoolean(field_6_docinfo1, value);
-
+
}
/**
- *
+ *
* @return the fDfltTrueType field value.
*/
public boolean isFDfltTrueType()
{
return fDfltTrueType.isSet(field_6_docinfo1);
-
+
}
/**
* Sets the fPagSupressTopSpacing field value.
- *
+ *
*/
public void setFPagSupressTopSpacing(boolean value)
{
field_7_docinfo2 = (byte)fPagSupressTopSpacing.setBoolean(field_7_docinfo2, value);
-
+
}
/**
- *
+ *
* @return the fPagSupressTopSpacing field value.
*/
public boolean isFPagSupressTopSpacing()
{
return fPagSupressTopSpacing.isSet(field_7_docinfo2);
-
+
}
/**
* Sets the fProtEnabled field value.
- *
+ *
*/
public void setFProtEnabled(boolean value)
{
field_7_docinfo2 = (byte)fProtEnabled.setBoolean(field_7_docinfo2, value);
-
+
}
/**
- *
+ *
* @return the fProtEnabled field value.
*/
public boolean isFProtEnabled()
{
return fProtEnabled.isSet(field_7_docinfo2);
-
+
}
/**
* Sets the fDispFormFldSel field value.
- *
+ *
*/
public void setFDispFormFldSel(boolean value)
{
field_7_docinfo2 = (byte)fDispFormFldSel.setBoolean(field_7_docinfo2, value);
-
+
}
/**
- *
+ *
* @return the fDispFormFldSel field value.
*/
public boolean isFDispFormFldSel()
{
return fDispFormFldSel.isSet(field_7_docinfo2);
-
+
}
/**
* Sets the fRMView field value.
- *
+ *
*/
public void setFRMView(boolean value)
{
field_7_docinfo2 = (byte)fRMView.setBoolean(field_7_docinfo2, value);
-
+
}
/**
- *
+ *
* @return the fRMView field value.
*/
public boolean isFRMView()
{
return fRMView.isSet(field_7_docinfo2);
-
+
}
/**
* Sets the fRMPrint field value.
- *
+ *
*/
public void setFRMPrint(boolean value)
{
field_7_docinfo2 = (byte)fRMPrint.setBoolean(field_7_docinfo2, value);
-
+
}
/**
- *
+ *
* @return the fRMPrint field value.
*/
public boolean isFRMPrint()
{
return fRMPrint.isSet(field_7_docinfo2);
-
+
}
/**
* Sets the unused4 field value.
- *
+ *
*/
public void setUnused4(boolean value)
{
field_7_docinfo2 = (byte)unused4.setBoolean(field_7_docinfo2, value);
-
+
}
/**
- *
+ *
* @return the unused4 field value.
*/
public boolean isUnused4()
{
return unused4.isSet(field_7_docinfo2);
-
+
}
/**
* Sets the fLockRev field value.
- *
+ *
*/
public void setFLockRev(boolean value)
{
field_7_docinfo2 = (byte)fLockRev.setBoolean(field_7_docinfo2, value);
-
+
}
/**
- *
+ *
* @return the fLockRev field value.
*/
public boolean isFLockRev()
{
return fLockRev.isSet(field_7_docinfo2);
-
+
}
/**
* Sets the fEmbedFonts field value.
- *
+ *
*/
public void setFEmbedFonts(boolean value)
{
field_7_docinfo2 = (byte)fEmbedFonts.setBoolean(field_7_docinfo2, value);
-
+
}
/**
- *
+ *
* @return the fEmbedFonts field value.
*/
public boolean isFEmbedFonts()
{
return fEmbedFonts.isSet(field_7_docinfo2);
-
+
}
/**
* Sets the oldfNoTabForInd field value.
- *
+ *
*/
public void setOldfNoTabForInd(boolean value)
{
field_8_docinfo3 = (short)oldfNoTabForInd.setBoolean(field_8_docinfo3, value);
-
+
}
/**
- *
+ *
* @return the oldfNoTabForInd field value.
*/
public boolean isOldfNoTabForInd()
{
return oldfNoTabForInd.isSet(field_8_docinfo3);
-
+
}
/**
* Sets the oldfNoSpaceRaiseLower field value.
- *
+ *
*/
public void setOldfNoSpaceRaiseLower(boolean value)
{
field_8_docinfo3 = (short)oldfNoSpaceRaiseLower.setBoolean(field_8_docinfo3, value);
-
+
}
/**
- *
+ *
* @return the oldfNoSpaceRaiseLower field value.
*/
public boolean isOldfNoSpaceRaiseLower()
{
return oldfNoSpaceRaiseLower.isSet(field_8_docinfo3);
-
+
}
/**
* Sets the oldfSuppressSpbfAfterPageBreak field value.
- *
+ *
*/
public void setOldfSuppressSpbfAfterPageBreak(boolean value)
{
field_8_docinfo3 = (short)oldfSuppressSpbfAfterPageBreak.setBoolean(field_8_docinfo3, value);
-
+
}
/**
- *
+ *
* @return the oldfSuppressSpbfAfterPageBreak field value.
*/
public boolean isOldfSuppressSpbfAfterPageBreak()
{
return oldfSuppressSpbfAfterPageBreak.isSet(field_8_docinfo3);
-
+
}
/**
* Sets the oldfWrapTrailSpaces field value.
- *
+ *
*/
public void setOldfWrapTrailSpaces(boolean value)
{
field_8_docinfo3 = (short)oldfWrapTrailSpaces.setBoolean(field_8_docinfo3, value);
-
+
}
/**
- *
+ *
* @return the oldfWrapTrailSpaces field value.
*/
public boolean isOldfWrapTrailSpaces()
{
return oldfWrapTrailSpaces.isSet(field_8_docinfo3);
-
+
}
/**
* Sets the oldfMapPrintTextColor field value.
- *
+ *
*/
public void setOldfMapPrintTextColor(boolean value)
{
field_8_docinfo3 = (short)oldfMapPrintTextColor.setBoolean(field_8_docinfo3, value);
-
+
}
/**
- *
+ *
* @return the oldfMapPrintTextColor field value.
*/
public boolean isOldfMapPrintTextColor()
{
return oldfMapPrintTextColor.isSet(field_8_docinfo3);
-
+
}
/**
* Sets the oldfNoColumnBalance field value.
- *
+ *
*/
public void setOldfNoColumnBalance(boolean value)
{
field_8_docinfo3 = (short)oldfNoColumnBalance.setBoolean(field_8_docinfo3, value);
-
+
}
/**
- *
+ *
* @return the oldfNoColumnBalance field value.
*/
public boolean isOldfNoColumnBalance()
{
return oldfNoColumnBalance.isSet(field_8_docinfo3);
-
+
}
/**
* Sets the oldfConvMailMergeEsc field value.
- *
+ *
*/
public void setOldfConvMailMergeEsc(boolean value)
{
field_8_docinfo3 = (short)oldfConvMailMergeEsc.setBoolean(field_8_docinfo3, value);
-
+
}
/**
- *
+ *
* @return the oldfConvMailMergeEsc field value.
*/
public boolean isOldfConvMailMergeEsc()
{
return oldfConvMailMergeEsc.isSet(field_8_docinfo3);
-
+
}
/**
* Sets the oldfSupressTopSpacing field value.
- *
+ *
*/
public void setOldfSupressTopSpacing(boolean value)
{
field_8_docinfo3 = (short)oldfSupressTopSpacing.setBoolean(field_8_docinfo3, value);
-
+
}
/**
- *
+ *
* @return the oldfSupressTopSpacing field value.
*/
public boolean isOldfSupressTopSpacing()
{
return oldfSupressTopSpacing.isSet(field_8_docinfo3);
-
+
}
/**
* Sets the oldfOrigWordTableRules field value.
- *
+ *
*/
public void setOldfOrigWordTableRules(boolean value)
{
field_8_docinfo3 = (short)oldfOrigWordTableRules.setBoolean(field_8_docinfo3, value);
-
+
}
/**
- *
+ *
* @return the oldfOrigWordTableRules field value.
*/
public boolean isOldfOrigWordTableRules()
{
return oldfOrigWordTableRules.isSet(field_8_docinfo3);
-
+
}
/**
* Sets the oldfTransparentMetafiles field value.
- *
+ *
*/
public void setOldfTransparentMetafiles(boolean value)
{
field_8_docinfo3 = (short)oldfTransparentMetafiles.setBoolean(field_8_docinfo3, value);
-
+
}
/**
- *
+ *
* @return the oldfTransparentMetafiles field value.
*/
public boolean isOldfTransparentMetafiles()
{
return oldfTransparentMetafiles.isSet(field_8_docinfo3);
-
+
}
/**
* Sets the oldfShowBreaksInFrames field value.
- *
+ *
*/
public void setOldfShowBreaksInFrames(boolean value)
{
field_8_docinfo3 = (short)oldfShowBreaksInFrames.setBoolean(field_8_docinfo3, value);
-
+
}
/**
- *
+ *
* @return the oldfShowBreaksInFrames field value.
*/
public boolean isOldfShowBreaksInFrames()
{
return oldfShowBreaksInFrames.isSet(field_8_docinfo3);
-
+
}
/**
* Sets the oldfSwapBordersFacingPgs field value.
- *
+ *
*/
public void setOldfSwapBordersFacingPgs(boolean value)
{
field_8_docinfo3 = (short)oldfSwapBordersFacingPgs.setBoolean(field_8_docinfo3, value);
-
+
}
/**
- *
+ *
* @return the oldfSwapBordersFacingPgs field value.
*/
public boolean isOldfSwapBordersFacingPgs()
{
return oldfSwapBordersFacingPgs.isSet(field_8_docinfo3);
-
+
}
/**
* Sets the unused5 field value.
- *
+ *
*/
public void setUnused5(byte value)
{
field_8_docinfo3 = (short)unused5.setValue(field_8_docinfo3, value);
-
+
}
/**
- *
+ *
* @return the unused5 field value.
*/
public byte getUnused5()
{
return ( byte )unused5.getValue(field_8_docinfo3);
-
+
}
/**
* Sets the rncEdn field value.
- *
+ *
*/
public void setRncEdn(byte value)
{
field_23_Edn = (short)rncEdn.setValue(field_23_Edn, value);
-
+
}
/**
- *
+ *
* @return the rncEdn field value.
*/
public byte getRncEdn()
{
return ( byte )rncEdn.getValue(field_23_Edn);
-
+
}
/**
* Sets the nEdn field value.
- *
+ *
*/
public void setNEdn(short value)
{
field_23_Edn = (short)nEdn.setValue(field_23_Edn, value);
-
+
}
/**
- *
+ *
* @return the nEdn field value.
*/
public short getNEdn()
{
return ( short )nEdn.getValue(field_23_Edn);
-
+
}
/**
* Sets the epc field value.
- *
+ *
*/
public void setEpc(byte value)
{
field_24_Edn1 = (short)epc.setValue(field_24_Edn1, value);
-
+
}
/**
- *
+ *
* @return the epc field value.
*/
public byte getEpc()
{
return ( byte )epc.getValue(field_24_Edn1);
-
+
}
/**
* Sets the nfcFtnRef1 field value.
- *
+ *
*/
public void setNfcFtnRef1(byte value)
{
field_24_Edn1 = (short)nfcFtnRef1.setValue(field_24_Edn1, value);
-
+
}
/**
- *
+ *
* @return the nfcFtnRef1 field value.
*/
public byte getNfcFtnRef1()
{
return ( byte )nfcFtnRef1.getValue(field_24_Edn1);
-
+
}
/**
* Sets the nfcEdnRef1 field value.
- *
+ *
*/
public void setNfcEdnRef1(byte value)
{
field_24_Edn1 = (short)nfcEdnRef1.setValue(field_24_Edn1, value);
-
+
}
/**
- *
+ *
* @return the nfcEdnRef1 field value.
*/
public byte getNfcEdnRef1()
{
return ( byte )nfcEdnRef1.getValue(field_24_Edn1);
-
+
}
/**
* Sets the fPrintFormData field value.
- *
+ *
*/
public void setFPrintFormData(boolean value)
{
field_24_Edn1 = (short)fPrintFormData.setBoolean(field_24_Edn1, value);
-
+
}
/**
- *
+ *
* @return the fPrintFormData field value.
*/
public boolean isFPrintFormData()
{
return fPrintFormData.isSet(field_24_Edn1);
-
+
}
/**
* Sets the fSaveFormData field value.
- *
+ *
*/
public void setFSaveFormData(boolean value)
{
field_24_Edn1 = (short)fSaveFormData.setBoolean(field_24_Edn1, value);
-
+
}
/**
- *
+ *
* @return the fSaveFormData field value.
*/
public boolean isFSaveFormData()
{
return fSaveFormData.isSet(field_24_Edn1);
-
+
}
/**
* Sets the fShadeFormData field value.
- *
+ *
*/
public void setFShadeFormData(boolean value)
{
field_24_Edn1 = (short)fShadeFormData.setBoolean(field_24_Edn1, value);
-
+
}
/**
- *
+ *
* @return the fShadeFormData field value.
*/
public boolean isFShadeFormData()
{
return fShadeFormData.isSet(field_24_Edn1);
-
+
}
/**
* Sets the fWCFtnEdn field value.
- *
+ *
*/
public void setFWCFtnEdn(boolean value)
{
field_24_Edn1 = (short)fWCFtnEdn.setBoolean(field_24_Edn1, value);
-
+
}
/**
- *
+ *
* @return the fWCFtnEdn field value.
*/
public boolean isFWCFtnEdn()
{
return fWCFtnEdn.isSet(field_24_Edn1);
-
+
}
/**
* Sets the wvkSaved field value.
- *
+ *
*/
public void setWvkSaved(byte value)
{
field_32_view = (short)wvkSaved.setValue(field_32_view, value);
-
+
}
/**
- *
+ *
* @return the wvkSaved field value.
*/
public byte getWvkSaved()
{
return ( byte )wvkSaved.getValue(field_32_view);
-
+
}
/**
* Sets the wScaleSaved field value.
- *
+ *
*/
public void setWScaleSaved(short value)
{
field_32_view = (short)wScaleSaved.setValue(field_32_view, value);
-
+
}
/**
- *
+ *
* @return the wScaleSaved field value.
*/
public short getWScaleSaved()
{
return ( short )wScaleSaved.getValue(field_32_view);
-
+
}
/**
* Sets the zkSaved field value.
- *
+ *
*/
public void setZkSaved(byte value)
{
field_32_view = (short)zkSaved.setValue(field_32_view, value);
-
+
}
/**
- *
+ *
* @return the zkSaved field value.
*/
public byte getZkSaved()
{
return ( byte )zkSaved.getValue(field_32_view);
-
+
}
/**
* Sets the fRotateFontW6 field value.
- *
+ *
*/
public void setFRotateFontW6(boolean value)
{
field_32_view = (short)fRotateFontW6.setBoolean(field_32_view, value);
-
+
}
/**
- *
+ *
* @return the fRotateFontW6 field value.
*/
public boolean isFRotateFontW6()
{
return fRotateFontW6.isSet(field_32_view);
-
+
}
/**
* Sets the iGutterPos field value.
- *
+ *
*/
public void setIGutterPos(boolean value)
{
field_32_view = (short)iGutterPos.setBoolean(field_32_view, value);
-
+
}
/**
- *
+ *
* @return the iGutterPos field value.
*/
public boolean isIGutterPos()
{
return iGutterPos.isSet(field_32_view);
-
+
}
/**
* Sets the fNoTabForInd field value.
- *
+ *
*/
public void setFNoTabForInd(boolean value)
{
field_33_docinfo4 = (int)fNoTabForInd.setBoolean(field_33_docinfo4, value);
-
+
}
/**
- *
+ *
* @return the fNoTabForInd field value.
*/
public boolean isFNoTabForInd()
{
return fNoTabForInd.isSet(field_33_docinfo4);
-
+
}
/**
* Sets the fNoSpaceRaiseLower field value.
- *
+ *
*/
public void setFNoSpaceRaiseLower(boolean value)
{
field_33_docinfo4 = (int)fNoSpaceRaiseLower.setBoolean(field_33_docinfo4, value);
-
+
}
/**
- *
+ *
* @return the fNoSpaceRaiseLower field value.
*/
public boolean isFNoSpaceRaiseLower()
{
return fNoSpaceRaiseLower.isSet(field_33_docinfo4);
-
+
}
/**
* Sets the fSupressSpdfAfterPageBreak field value.
- *
+ *
*/
public void setFSupressSpdfAfterPageBreak(boolean value)
{
field_33_docinfo4 = (int)fSupressSpdfAfterPageBreak.setBoolean(field_33_docinfo4, value);
-
+
}
/**
- *
+ *
* @return the fSupressSpdfAfterPageBreak field value.
*/
public boolean isFSupressSpdfAfterPageBreak()
{
return fSupressSpdfAfterPageBreak.isSet(field_33_docinfo4);
-
+
}
/**
* Sets the fWrapTrailSpaces field value.
- *
+ *
*/
public void setFWrapTrailSpaces(boolean value)
{
field_33_docinfo4 = (int)fWrapTrailSpaces.setBoolean(field_33_docinfo4, value);
-
+
}
/**
- *
+ *
* @return the fWrapTrailSpaces field value.
*/
public boolean isFWrapTrailSpaces()
{
return fWrapTrailSpaces.isSet(field_33_docinfo4);
-
+
}
/**
* Sets the fMapPrintTextColor field value.
- *
+ *
*/
public void setFMapPrintTextColor(boolean value)
{
field_33_docinfo4 = (int)fMapPrintTextColor.setBoolean(field_33_docinfo4, value);
-
+
}
/**
- *
+ *
* @return the fMapPrintTextColor field value.
*/
public boolean isFMapPrintTextColor()
{
return fMapPrintTextColor.isSet(field_33_docinfo4);
-
+
}
/**
* Sets the fNoColumnBalance field value.
- *
+ *
*/
public void setFNoColumnBalance(boolean value)
{
field_33_docinfo4 = (int)fNoColumnBalance.setBoolean(field_33_docinfo4, value);
-
+
}
/**
- *
+ *
* @return the fNoColumnBalance field value.
*/
public boolean isFNoColumnBalance()
{
return fNoColumnBalance.isSet(field_33_docinfo4);
-
+
}
/**
* Sets the fConvMailMergeEsc field value.
- *
+ *
*/
public void setFConvMailMergeEsc(boolean value)
{
field_33_docinfo4 = (int)fConvMailMergeEsc.setBoolean(field_33_docinfo4, value);
-
+
}
/**
- *
+ *
* @return the fConvMailMergeEsc field value.
*/
public boolean isFConvMailMergeEsc()
{
return fConvMailMergeEsc.isSet(field_33_docinfo4);
-
+
}
/**
* Sets the fSupressTopSpacing field value.
- *
+ *
*/
public void setFSupressTopSpacing(boolean value)
{
field_33_docinfo4 = (int)fSupressTopSpacing.setBoolean(field_33_docinfo4, value);
-
+
}
/**
- *
+ *
* @return the fSupressTopSpacing field value.
*/
public boolean isFSupressTopSpacing()
{
return fSupressTopSpacing.isSet(field_33_docinfo4);
-
+
}
/**
* Sets the fOrigWordTableRules field value.
- *
+ *
*/
public void setFOrigWordTableRules(boolean value)
{
field_33_docinfo4 = (int)fOrigWordTableRules.setBoolean(field_33_docinfo4, value);
-
+
}
/**
- *
+ *
* @return the fOrigWordTableRules field value.
*/
public boolean isFOrigWordTableRules()
{
return fOrigWordTableRules.isSet(field_33_docinfo4);
-
+
}
/**
* Sets the fTransparentMetafiles field value.
- *
+ *
*/
public void setFTransparentMetafiles(boolean value)
{
field_33_docinfo4 = (int)fTransparentMetafiles.setBoolean(field_33_docinfo4, value);
-
+
}
/**
- *
+ *
* @return the fTransparentMetafiles field value.
*/
public boolean isFTransparentMetafiles()
{
return fTransparentMetafiles.isSet(field_33_docinfo4);
-
+
}
/**
* Sets the fShowBreaksInFrames field value.
- *
+ *
*/
public void setFShowBreaksInFrames(boolean value)
{
field_33_docinfo4 = (int)fShowBreaksInFrames.setBoolean(field_33_docinfo4, value);
-
+
}
/**
- *
+ *
* @return the fShowBreaksInFrames field value.
*/
public boolean isFShowBreaksInFrames()
{
return fShowBreaksInFrames.isSet(field_33_docinfo4);
-
+
}
/**
* Sets the fSwapBordersFacingPgs field value.
- *
+ *
*/
public void setFSwapBordersFacingPgs(boolean value)
{
field_33_docinfo4 = (int)fSwapBordersFacingPgs.setBoolean(field_33_docinfo4, value);
-
+
}
/**
- *
+ *
* @return the fSwapBordersFacingPgs field value.
*/
public boolean isFSwapBordersFacingPgs()
{
return fSwapBordersFacingPgs.isSet(field_33_docinfo4);
-
+
}
/**
* Sets the fSuppressTopSPacingMac5 field value.
- *
+ *
*/
public void setFSuppressTopSPacingMac5(boolean value)
{
field_33_docinfo4 = (int)fSuppressTopSPacingMac5.setBoolean(field_33_docinfo4, value);
-
+
}
/**
- *
+ *
* @return the fSuppressTopSPacingMac5 field value.
*/
public boolean isFSuppressTopSPacingMac5()
{
return fSuppressTopSPacingMac5.isSet(field_33_docinfo4);
-
+
}
/**
* Sets the fTruncDxaExpand field value.
- *
+ *
*/
public void setFTruncDxaExpand(boolean value)
{
field_33_docinfo4 = (int)fTruncDxaExpand.setBoolean(field_33_docinfo4, value);
-
+
}
/**
- *
+ *
* @return the fTruncDxaExpand field value.
*/
public boolean isFTruncDxaExpand()
{
return fTruncDxaExpand.isSet(field_33_docinfo4);
-
+
}
/**
* Sets the fPrintBodyBeforeHdr field value.
- *
+ *
*/
public void setFPrintBodyBeforeHdr(boolean value)
{
field_33_docinfo4 = (int)fPrintBodyBeforeHdr.setBoolean(field_33_docinfo4, value);
-
+
}
/**
- *
+ *
* @return the fPrintBodyBeforeHdr field value.
*/
public boolean isFPrintBodyBeforeHdr()
{
return fPrintBodyBeforeHdr.isSet(field_33_docinfo4);
-
+
}
/**
* Sets the fNoLeading field value.
- *
+ *
*/
public void setFNoLeading(boolean value)
{
field_33_docinfo4 = (int)fNoLeading.setBoolean(field_33_docinfo4, value);
-
+
}
/**
- *
+ *
* @return the fNoLeading field value.
*/
public boolean isFNoLeading()
{
return fNoLeading.isSet(field_33_docinfo4);
-
+
}
/**
* Sets the fMWSmallCaps field value.
- *
+ *
*/
public void setFMWSmallCaps(boolean value)
{
field_33_docinfo4 = (int)fMWSmallCaps.setBoolean(field_33_docinfo4, value);
-
+
}
/**
- *
+ *
* @return the fMWSmallCaps field value.
*/
public boolean isFMWSmallCaps()
{
return fMWSmallCaps.isSet(field_33_docinfo4);
-
+
}
/**
* Sets the lvl field value.
- *
+ *
*/
public void setLvl(byte value)
{
field_37_docinfo5 = (short)lvl.setValue(field_37_docinfo5, value);
-
+
}
/**
- *
+ *
* @return the lvl field value.
*/
public byte getLvl()
{
return ( byte )lvl.getValue(field_37_docinfo5);
-
+
}
/**
* Sets the fGramAllDone field value.
- *
+ *
*/
public void setFGramAllDone(boolean value)
{
field_37_docinfo5 = (short)fGramAllDone.setBoolean(field_37_docinfo5, value);
-
+
}
/**
- *
+ *
* @return the fGramAllDone field value.
*/
public boolean isFGramAllDone()
{
return fGramAllDone.isSet(field_37_docinfo5);
-
+
}
/**
* Sets the fGramAllClean field value.
- *
+ *
*/
public void setFGramAllClean(boolean value)
{
field_37_docinfo5 = (short)fGramAllClean.setBoolean(field_37_docinfo5, value);
-
+
}
/**
- *
+ *
* @return the fGramAllClean field value.
*/
public boolean isFGramAllClean()
{
return fGramAllClean.isSet(field_37_docinfo5);
-
+
}
/**
* Sets the fSubsetFonts field value.
- *
+ *
*/
public void setFSubsetFonts(boolean value)
{
field_37_docinfo5 = (short)fSubsetFonts.setBoolean(field_37_docinfo5, value);
-
+
}
/**
- *
+ *
* @return the fSubsetFonts field value.
*/
public boolean isFSubsetFonts()
{
return fSubsetFonts.isSet(field_37_docinfo5);
-
+
}
/**
* Sets the fHideLastVersion field value.
- *
+ *
*/
public void setFHideLastVersion(boolean value)
{
field_37_docinfo5 = (short)fHideLastVersion.setBoolean(field_37_docinfo5, value);
-
+
}
/**
- *
+ *
* @return the fHideLastVersion field value.
*/
public boolean isFHideLastVersion()
{
return fHideLastVersion.isSet(field_37_docinfo5);
-
+
}
/**
* Sets the fHtmlDoc field value.
- *
+ *
*/
public void setFHtmlDoc(boolean value)
{
field_37_docinfo5 = (short)fHtmlDoc.setBoolean(field_37_docinfo5, value);
-
+
}
/**
- *
+ *
* @return the fHtmlDoc field value.
*/
public boolean isFHtmlDoc()
{
return fHtmlDoc.isSet(field_37_docinfo5);
-
+
}
/**
* Sets the fSnapBorder field value.
- *
+ *
*/
public void setFSnapBorder(boolean value)
{
field_37_docinfo5 = (short)fSnapBorder.setBoolean(field_37_docinfo5, value);
-
+
}
/**
- *
+ *
* @return the fSnapBorder field value.
*/
public boolean isFSnapBorder()
{
return fSnapBorder.isSet(field_37_docinfo5);
-
+
}
/**
* Sets the fIncludeHeader field value.
- *
+ *
*/
public void setFIncludeHeader(boolean value)
{
field_37_docinfo5 = (short)fIncludeHeader.setBoolean(field_37_docinfo5, value);
-
+
}
/**
- *
+ *
* @return the fIncludeHeader field value.
*/
public boolean isFIncludeHeader()
{
return fIncludeHeader.isSet(field_37_docinfo5);
-
+
}
/**
* Sets the fIncludeFooter field value.
- *
+ *
*/
public void setFIncludeFooter(boolean value)
{
field_37_docinfo5 = (short)fIncludeFooter.setBoolean(field_37_docinfo5, value);
-
+
}
/**
- *
+ *
* @return the fIncludeFooter field value.
*/
public boolean isFIncludeFooter()
{
return fIncludeFooter.isSet(field_37_docinfo5);
-
+
}
/**
* Sets the fForcePageSizePag field value.
- *
+ *
*/
public void setFForcePageSizePag(boolean value)
{
field_37_docinfo5 = (short)fForcePageSizePag.setBoolean(field_37_docinfo5, value);
-
+
}
/**
- *
+ *
* @return the fForcePageSizePag field value.
*/
public boolean isFForcePageSizePag()
{
return fForcePageSizePag.isSet(field_37_docinfo5);
-
+
}
/**
* Sets the fMinFontSizePag field value.
- *
+ *
*/
public void setFMinFontSizePag(boolean value)
{
field_37_docinfo5 = (short)fMinFontSizePag.setBoolean(field_37_docinfo5, value);
-
+
}
/**
- *
+ *
* @return the fMinFontSizePag field value.
*/
public boolean isFMinFontSizePag()
{
return fMinFontSizePag.isSet(field_37_docinfo5);
-
+
}
/**
* Sets the fHaveVersions field value.
- *
+ *
*/
public void setFHaveVersions(boolean value)
{
field_38_docinfo6 = (short)fHaveVersions.setBoolean(field_38_docinfo6, value);
-
+
}
/**
- *
+ *
* @return the fHaveVersions field value.
*/
public boolean isFHaveVersions()
{
return fHaveVersions.isSet(field_38_docinfo6);
-
+
}
/**
* Sets the fAutoVersions field value.
- *
+ *
*/
public void setFAutoVersions(boolean value)
{
field_38_docinfo6 = (short)fAutoVersions.setBoolean(field_38_docinfo6, value);
-
+
}
/**
- *
+ *
* @return the fAutoVersions field value.
*/
public boolean isFAutoVersions()
{
return fAutoVersions.isSet(field_38_docinfo6);
-
+
}
/**
* Sets the fVirusPrompted field value.
- *
+ *
*/
public void setFVirusPrompted(boolean value)
{
field_43_virusinfo = (int)fVirusPrompted.setBoolean(field_43_virusinfo, value);
-
+
}
/**
- *
+ *
* @return the fVirusPrompted field value.
*/
public boolean isFVirusPrompted()
{
return fVirusPrompted.isSet(field_43_virusinfo);
-
+
}
/**
* Sets the fVirusLoadSafe field value.
- *
+ *
*/
public void setFVirusLoadSafe(boolean value)
{
field_43_virusinfo = (int)fVirusLoadSafe.setBoolean(field_43_virusinfo, value);
-
+
}
/**
- *
+ *
* @return the fVirusLoadSafe field value.
*/
public boolean isFVirusLoadSafe()
{
return fVirusLoadSafe.isSet(field_43_virusinfo);
-
+
}
/**
* Sets the KeyVirusSession30 field value.
- *
+ *
*/
public void setKeyVirusSession30(int value)
{
field_43_virusinfo = (int)KeyVirusSession30.setValue(field_43_virusinfo, value);
-
+
}
/**
- *
+ *
* @return the KeyVirusSession30 field value.
*/
public int getKeyVirusSession30()
{
return ( int )KeyVirusSession30.getValue(field_43_virusinfo);
-
+
}
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/FIBAbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/FIBAbstractType.java?rev=777204&r1=777203&r2=777204&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/FIBAbstractType.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/FIBAbstractType.java Thu May 21 18:12:22 2009
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,8 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
-
package org.apache.poi.hwpf.model.types;
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/PAPAbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/PAPAbstractType.java?rev=777204&r1=777203&r2=777204&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/PAPAbstractType.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/PAPAbstractType.java Thu May 21 18:12:22 2009
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,8 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
-
package org.apache.poi.hwpf.model.types;
@@ -1253,65 +1250,65 @@
/**
* Sets the fVertical field value.
- *
+ *
*/
public void setFVertical(boolean value)
{
field_35_fontAlign = (short)fVertical.setBoolean(field_35_fontAlign, value);
-
+
}
/**
- *
+ *
* @return the fVertical field value.
*/
public boolean isFVertical()
{
return fVertical.isSet(field_35_fontAlign);
-
+
}
/**
* Sets the fBackward field value.
- *
+ *
*/
public void setFBackward(boolean value)
{
field_35_fontAlign = (short)fBackward.setBoolean(field_35_fontAlign, value);
-
+
}
/**
- *
+ *
* @return the fBackward field value.
*/
public boolean isFBackward()
{
return fBackward.isSet(field_35_fontAlign);
-
+
}
/**
* Sets the fRotateFont field value.
- *
+ *
*/
public void setFRotateFont(boolean value)
{
field_35_fontAlign = (short)fRotateFont.setBoolean(field_35_fontAlign, value);
-
+
}
/**
- *
+ *
* @return the fRotateFont field value.
*/
public boolean isFRotateFont()
{
return fRotateFont.isSet(field_35_fontAlign);
-
+
}
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/SEPAbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/SEPAbstractType.java?rev=777204&r1=777203&r2=777204&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/SEPAbstractType.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/SEPAbstractType.java Thu May 21 18:12:22 2009
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,8 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
-
package org.apache.poi.hwpf.model.types;
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/TAPAbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/TAPAbstractType.java?rev=777204&r1=777203&r2=777204&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/TAPAbstractType.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/TAPAbstractType.java Thu May 21 18:12:22 2009
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,8 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
-
package org.apache.poi.hwpf.model.types;
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/TCAbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/TCAbstractType.java?rev=777204&r1=777203&r2=777204&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/TCAbstractType.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/TCAbstractType.java Thu May 21 18:12:22 2009
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,8 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
-
package org.apache.poi.hwpf.model.types;
@@ -228,170 +225,170 @@
/**
* Sets the fFirstMerged field value.
- *
+ *
*/
public void setFFirstMerged(boolean value)
{
field_1_rgf = (short)fFirstMerged.setBoolean(field_1_rgf, value);
-
+
}
/**
- *
+ *
* @return the fFirstMerged field value.
*/
public boolean isFFirstMerged()
{
return fFirstMerged.isSet(field_1_rgf);
-
+
}
/**
* Sets the fMerged field value.
- *
+ *
*/
public void setFMerged(boolean value)
{
field_1_rgf = (short)fMerged.setBoolean(field_1_rgf, value);
-
+
}
/**
- *
+ *
* @return the fMerged field value.
*/
public boolean isFMerged()
{
return fMerged.isSet(field_1_rgf);
-
+
}
/**
* Sets the fVertical field value.
- *
+ *
*/
public void setFVertical(boolean value)
{
field_1_rgf = (short)fVertical.setBoolean(field_1_rgf, value);
-
+
}
/**
- *
+ *
* @return the fVertical field value.
*/
public boolean isFVertical()
{
return fVertical.isSet(field_1_rgf);
-
+
}
/**
* Sets the fBackward field value.
- *
+ *
*/
public void setFBackward(boolean value)
{
field_1_rgf = (short)fBackward.setBoolean(field_1_rgf, value);
-
+
}
/**
- *
+ *
* @return the fBackward field value.
*/
public boolean isFBackward()
{
return fBackward.isSet(field_1_rgf);
-
+
}
/**
* Sets the fRotateFont field value.
- *
+ *
*/
public void setFRotateFont(boolean value)
{
field_1_rgf = (short)fRotateFont.setBoolean(field_1_rgf, value);
-
+
}
/**
- *
+ *
* @return the fRotateFont field value.
*/
public boolean isFRotateFont()
{
return fRotateFont.isSet(field_1_rgf);
-
+
}
/**
* Sets the fVertMerge field value.
- *
+ *
*/
public void setFVertMerge(boolean value)
{
field_1_rgf = (short)fVertMerge.setBoolean(field_1_rgf, value);
-
+
}
/**
- *
+ *
* @return the fVertMerge field value.
*/
public boolean isFVertMerge()
{
return fVertMerge.isSet(field_1_rgf);
-
+
}
/**
* Sets the fVertRestart field value.
- *
+ *
*/
public void setFVertRestart(boolean value)
{
field_1_rgf = (short)fVertRestart.setBoolean(field_1_rgf, value);
-
+
}
/**
- *
+ *
* @return the fVertRestart field value.
*/
public boolean isFVertRestart()
{
return fVertRestart.isSet(field_1_rgf);
-
+
}
/**
* Sets the vertAlign field value.
- *
+ *
*/
public void setVertAlign(byte value)
{
field_1_rgf = (short)vertAlign.setValue(field_1_rgf, value);
-
+
}
/**
- *
+ *
* @return the vertAlign field value.
*/
public byte getVertAlign()
{
return ( byte )vertAlign.getValue(field_1_rgf);
-
+
}
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmCompressor.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmCompressor.java?rev=777204&r1=777203&r2=777204&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmCompressor.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmCompressor.java Thu May 21 18:12:22 2009
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,7 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
package org.apache.poi.hwpf.sprm;
@@ -26,7 +24,7 @@
import org.apache.poi.hwpf.usermodel.CharacterProperties;
import org.apache.poi.util.LittleEndian;
-public class CharacterSprmCompressor
+public final class CharacterSprmCompressor
{
public CharacterSprmCompressor()
{
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java?rev=777204&r1=777203&r2=777204&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java Thu May 21 18:12:22 2009
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,7 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
package org.apache.poi.hwpf.sprm;
@@ -26,7 +24,7 @@
import org.apache.poi.hwpf.model.StyleSheet;
import org.apache.poi.util.LittleEndian;
-public class CharacterSprmUncompressor
+public final class CharacterSprmUncompressor
{
public CharacterSprmUncompressor()
{
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmCompressor.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmCompressor.java?rev=777204&r1=777203&r2=777204&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmCompressor.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmCompressor.java Thu May 21 18:12:22 2009
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,7 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
package org.apache.poi.hwpf.sprm;
@@ -27,7 +25,7 @@
import org.apache.poi.hwpf.usermodel.ParagraphProperties;
-public class ParagraphSprmCompressor
+public final class ParagraphSprmCompressor
{
public ParagraphSprmCompressor()
{
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java?rev=777204&r1=777203&r2=777204&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java Thu May 21 18:12:22 2009
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -16,7 +15,6 @@
limitations under the License.
==================================================================== */
-
package org.apache.poi.hwpf.sprm;
import org.apache.poi.hwpf.usermodel.ParagraphProperties;
@@ -33,7 +31,7 @@
import java.util.Collections;
import java.util.ArrayList;
-public class ParagraphSprmUncompressor
+public final class ParagraphSprmUncompressor
extends SprmUncompressor
{
public ParagraphSprmUncompressor()
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/SectionSprmCompressor.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/SectionSprmCompressor.java?rev=777204&r1=777203&r2=777204&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/SectionSprmCompressor.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/SectionSprmCompressor.java Thu May 21 18:12:22 2009
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,8 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
-//
+
package org.apache.poi.hwpf.sprm;
//
@@ -246,7 +244,7 @@
import org.apache.poi.util.LittleEndian;
-public class SectionSprmCompressor
+public final class SectionSprmCompressor
{
private final static SectionProperties DEFAULT_SEP = new SectionProperties();
public SectionSprmCompressor()
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/SectionSprmUncompressor.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/SectionSprmUncompressor.java?rev=777204&r1=777203&r2=777204&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/SectionSprmUncompressor.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/SectionSprmUncompressor.java Thu May 21 18:12:22 2009
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,14 +14,13 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
package org.apache.poi.hwpf.sprm;
import org.apache.poi.hwpf.usermodel.SectionProperties;
import org.apache.poi.hwpf.usermodel.BorderCode;
-public class SectionSprmUncompressor extends SprmUncompressor
+public final class SectionSprmUncompressor extends SprmUncompressor
{
public SectionSprmUncompressor()
{
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmBuffer.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmBuffer.java?rev=777204&r1=777203&r2=777204&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmBuffer.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmBuffer.java Thu May 21 18:12:22 2009
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,7 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
package org.apache.poi.hwpf.sprm;
@@ -23,7 +21,7 @@
import java.util.Arrays;
-public class SprmBuffer
+public final class SprmBuffer
implements Cloneable
{
byte[] _buf;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org