From: Rainer Klute Date: Sat, 26 Jul 2003 21:17:17 +0000 (+0000) Subject: Bug 21775 X-Git-Tag: PERF_BEFORE_MERGE~229 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=43257e9705bd2f497f58bd1a456dfa784087f89b;p=poi.git Bug 21775 git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353251 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/poi/hpsf/Variant.java b/src/java/org/apache/poi/hpsf/Variant.java index f49ce4a2e4..bb3b39a15b 100644 --- a/src/java/org/apache/poi/hpsf/Variant.java +++ b/src/java/org/apache/poi/hpsf/Variant.java @@ -74,180 +74,180 @@ public class Variant { /** - *

[V][P] Nothing.

+ *

[V][P] Nothing, i.e. not a single byte of data.

*/ - public final static int VT_EMPTY = 0; + public static final int VT_EMPTY = 0; /** *

[V][P] SQL style Null.

*/ - public final static int VT_NULL = 1; + public static final int VT_NULL = 1; /** *

[V][T][P][S] 2 byte signed int.

*/ - public final static int VT_I2 = 2; + public static final int VT_I2 = 2; /** *

[V][T][P][S] 4 byte signed int.

*/ - public final static int VT_I4 = 3; + public static final int VT_I4 = 3; /** *

[V][T][P][S] 4 byte real.

*/ - public final static int VT_R4 = 4; + public static final int VT_R4 = 4; /** *

[V][T][P][S] 8 byte real.

*/ - public final static int VT_R8 = 5; + public static final int VT_R8 = 5; /** *

[V][T][P][S] currency. How long is this? How is it to be * interpreted?

*/ - public final static int VT_CY = 6; + public static final int VT_CY = 6; /** *

[V][T][P][S] date. How long is this? How is it to be * interpreted?

*/ - public final static int VT_DATE = 7; + public static final int VT_DATE = 7; /** *

[V][T][P][S] OLE Automation string. How long is this? How is it * to be interpreted?

*/ - public final static int VT_BSTR = 8; + public static final int VT_BSTR = 8; /** *

[V][T][P][S] IDispatch *. How long is this? How is it to be * interpreted?

*/ - public final static int VT_DISPATCH = 9; + public static final int VT_DISPATCH = 9; /** *

[V][T][S] SCODE. How * long is this? How is it to be interpreted?

*/ - public final static int VT_ERROR = 10; + public static final int VT_ERROR = 10; /** *

[V][T][P][S] True=-1, False=0.

*/ - public final static int VT_BOOL = 11; + public static final int VT_BOOL = 11; /** *

[V][T][P][S] VARIANT *. How long is this? How is it to be * interpreted?

*/ - public final static int VT_VARIANT = 12; + public static final int VT_VARIANT = 12; /** *

[V][T][S] IUnknown *. How long is this? How is it to be * interpreted?

*/ - public final static int VT_UNKNOWN = 13; + public static final int VT_UNKNOWN = 13; /** *

[V][T][S] 16 byte fixed point.

*/ - public final static int VT_DECIMAL = 14; + public static final int VT_DECIMAL = 14; /** *

[T] signed char.

*/ - public final static int VT_I1 = 16; + public static final int VT_I1 = 16; /** *

[V][T][P][S] unsigned char.

*/ - public final static int VT_UI1 = 17; + public static final int VT_UI1 = 17; /** *

[T][P] unsigned short.

*/ - public final static int VT_UI2 = 18; + public static final int VT_UI2 = 18; /** *

[T][P] unsigned int.

*/ - public final static int VT_UI4 = 19; + public static final int VT_UI4 = 19; /** *

[T][P] signed 64-bit int.

*/ - public final static int VT_I8 = 20; + public static final int VT_I8 = 20; /** *

[T][P] unsigned 64-bit int.

*/ - public final static int VT_UI8 = 21; + public static final int VT_UI8 = 21; /** *

[T] signed machine int.

*/ - public final static int VT_INT = 22; + public static final int VT_INT = 22; /** *

[T] unsigned machine int.

*/ - public final static int VT_UINT = 23; + public static final int VT_UINT = 23; /** *

[T] C style void.

*/ - public final static int VT_VOID = 24; + public static final int VT_VOID = 24; /** *

[T] Standard return type. How long is this? How is it to be * interpreted?

*/ - public final static int VT_HRESULT = 25; + public static final int VT_HRESULT = 25; /** *

[T] pointer type. How long is this? How is it to be * interpreted?

*/ - public final static int VT_PTR = 26; + public static final int VT_PTR = 26; /** *

[T] (use VT_ARRAY in VARIANT).

*/ - public final static int VT_SAFEARRAY = 27; + public static final int VT_SAFEARRAY = 27; /** *

[T] C style array. How long is this? How is it to be * interpreted?

*/ - public final static int VT_CARRAY = 28; + public static final int VT_CARRAY = 28; /** *

[T] user defined type. How long is this? How is it to be * interpreted?

*/ - public final static int VT_USERDEFINED = 29; + public static final int VT_USERDEFINED = 29; /** *

[T][P] null terminated string.

*/ - public final static int VT_LPSTR = 30; + public static final int VT_LPSTR = 30; /** *

[T][P] wide (Unicode) null terminated string.

*/ - public final static int VT_LPWSTR = 31; + public static final int VT_LPWSTR = 31; /** *

[P] FILETIME. The FILETIME structure holds a date and time @@ -256,50 +256,50 @@ public class Variant * have passed since January 1, 1601. This 64-bit value is split * into the two dwords stored in the structure.

*/ - public final static int VT_FILETIME = 64; + public static final int VT_FILETIME = 64; /** *

[P] Length prefixed bytes.

*/ - public final static int VT_BLOB = 65; + public static final int VT_BLOB = 65; /** *

[P] Name of the stream follows.

*/ - public final static int VT_STREAM = 66; + public static final int VT_STREAM = 66; /** *

[P] Name of the storage follows.

*/ - public final static int VT_STORAGE = 67; + public static final int VT_STORAGE = 67; /** *

[P] Stream contains an object. How long is this? How is it * to be interpreted?

*/ - public final static int VT_STREAMED_OBJECT = 68; + public static final int VT_STREAMED_OBJECT = 68; /** *

[P] Storage contains an object. How long is this? How is it * to be interpreted?

*/ - public final static int VT_STORED_OBJECT = 69; + public static final int VT_STORED_OBJECT = 69; /** *

[P] Blob contains an object. How long is this? How is it to be * interpreted?

*/ - public final static int VT_BLOB_OBJECT = 70; + public static final int VT_BLOB_OBJECT = 70; /** *

[P] Clipboard format. How long is this? How is it to be * interpreted?

*/ - public final static int VT_CF = 71; + public static final int VT_CF = 71; /** *

[P] A Class ID.

@@ -331,34 +331,46 @@ public class Variant * target="_blank"> * msdn.microsoft.com/library/en-us/com/stgrstrc_0uwk.asp.

*/ - public final static int VT_CLSID = 72; + public static final int VT_CLSID = 72; /** *

[P] simple counted array. How long is this? How is it to be * interpreted?

*/ - public final static int VT_VECTOR = 0x1000; + public static final int VT_VECTOR = 0x1000; /** *

[V] SAFEARRAY*. How * long is this? How is it to be interpreted?

*/ - public final static int VT_ARRAY = 0x2000; + public static final int VT_ARRAY = 0x2000; /** *

[V] void* for local use. How long is this? How is it to be * interpreted?

*/ - public final static int VT_BYREF = 0x4000; + public static final int VT_BYREF = 0x4000; - public final static int VT_RESERVED = 0x8000; + /** + *

FIXME: Document this!

+ */ + public static final int VT_RESERVED = 0x8000; - public final static int VT_ILLEGAL = 0xFFFF; + /** + *

FIXME: Document this!

+ */ + public static final int VT_ILLEGAL = 0xFFFF; - public final static int VT_ILLEGALMASKED = 0xFFF; + /** + *

FIXME: Document this!

+ */ + public static final int VT_ILLEGALMASKED = 0xFFF; - public final static int VT_TYPEMASK = 0xFFF; + /** + *

FIXME: Document this!

+ */ + public static final int VT_TYPEMASK = 0xFFF; -} +} \ No newline at end of file