* <br>
*
* Combination of effectType and effectDirection:
- * <table summary="">
+ * <table>
+ * <caption>Combination of effectType and effectDirection</caption>
* <tr><th>type</th><th>description</th><th>direction</th></tr>
* <tr><td>0</td><td>cut</td><td>0x00 = no transition, 0x01 = black transition</td></tr>
* <tr><td>1</td><td>random</td><td>0x00</td></tr>
* selected pen and the destination bitmap are combined. Following are the two operands used in these
* operations.
*
- * <table summary="">
+ * <table>
+ * <caption>Raster-operation code meaning</caption>
* <tr><th>Operand</th><th>Meaning</th></tr>
* <tr><td>P</td><td>Selected pen</td></tr>
* <tr><td>D</td><td>Destination bitmap</td></tr>
* </table>
*
* Following are the Boolean operators used in these operations.
- * <table summary="">
+ * <table>
+ * <caption>Boolean operator meaning</caption>
* <tr><th>Operand</th><th>Meaning</th></tr>
* <tr><td>a</td><td>Bitwise AND</td></tr>
* <tr><td>n</td><td>Bitwise NOT (inverse)</td></tr>
* (in this case, the pen and destination values). For example, the operation indexes for the DPo and
* DPan operations are shown in the following list.
*
- * <table summary="">
+ * <table>
+ * <caption>Raster-operation examples</caption>
* <tr><th>P</th><th>D</th><th>DPo</th><th>DPan</th></tr>
* <tr><td>0</td><td>0</td><td>0</td><td>1</td></tr>
* <tr><td>0</td><td>1</td><td>1</td><td>1</td></tr>
* The following table shows the relationship between values in the BrushStyle,
* ColorRef and BrushHatch fields in a LogBrush Object. Only supported brush styles are listed.
*
- * <table summary="">
+ * <table>
+ * <caption>Relationship between values in the BrushStyle, ColorRef and BrushHatch fields</caption>
* <tr>
* <th>BrushStyle</th>
* <th>ColorRef</th>
* the source, the selected brush, and the destination are combined. Following are the three operands
* used in these operations.
*
- * <table summary="">
+ * <table>
+ * <caption>Raster-operation code meaning</caption>
* <tr><th>Operand</th><th>Meaning</th></tr>
* <tr><td>D</td><td>Destination bitmap</td></tr>
* <tr><td>P</td><td>Selected brush (also called pattern)</td></tr>
* </table>
*
* Following are the Boolean operators used in these operations.
- * <table summary="">
+ * <table>
+ * <caption>Boolean operator meaning</caption>
* <tr><th>Operand</th><th>Meaning</th></tr>
* <tr><td>a</td><td>Bitwise AND</td></tr>
* <tr><td>n</td><td>Bitwise NOT (inverse)</td></tr>
* values. For example, the operation indexes for the PSo and DPSoo operations are shown in the
* following list.
*
- * <table summary="">
+ * <table>
+ * <caption>Raster-operation examples</caption>
* <tr><th>P</th><th>S</th><th>D</th><th>DPo</th><th>DPan</th></tr>
* <tr><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td></tr>
* <tr><td>0</td><td>0</td><td>1</td><td>0</td><td>1</td></tr>
* document is allowed or whether is should be opened as read-only. It can
* have the following values:
*
- * <table summary="">
+ * <table>
+ * <caption>ID-property mapping</caption>
* <tbody>
* <tr>
* <th>Value</th>
* re-evaluated.
*/
public static final int PID_LINKSDIRTY = 0x10;
-
+
/**
- * The entry specifies an estimate of the number of characters
+ * The entry specifies an estimate of the number of characters
* in the document, including whitespace, as an integer
*/
public static final int PID_CCHWITHSPACES = 0x11;
-
+
// 0x12 Unused
// 0x13 GKPIDDSI_SHAREDDOC - Must be False
// 0x14 GKPIDDSI_LINKBASE - Must not be written
* hyperlinks should be updated on document load.
*/
public static final int PID_HYPERLINKSCHANGED = 0x16;
-
+
/**
* This entry contains the version of the Application which wrote the
* Property set, stored with the two high order bytes having the major
* version number, and the two low order bytes the minor version number.
*/
public static final int PID_VERSION = 0x17;
-
+
/**
- * This entry contains the VBA digital signature for the VBA project
+ * This entry contains the VBA digital signature for the VBA project
* embedded in the document.
*/
public static final int PID_DIGSIG = 0x18;
-
+
// 0x19 Unused
-
+
/**
* This entry contains a string of the content type of the file.
*/
public static final int PID_CONTENTTYPE = 0x1A;
-
+
/**
* This entry contains a string of the document status.
*/
public static final int PID_CONTENTSTATUS = 0x1B;
-
+
/**
* This entry contains a string of the document language, but
* normally should be empty.
*/
public static final int PID_LANGUAGE = 0x1C;
-
+
/**
* This entry contains a string of the document version, but
* normally should be empty
*/
public static final int PID_DOCVERSION = 0x1D;
-
+
/**
- * The highest well-known property ID. Applications are free to use
+ * The highest well-known property ID. Applications are free to use
* higher values for custom purposes. (This value is based on Office 12,
* earlier versions of Office had lower values)
*/
* A version 0 property set, indicated by the value 0x0000 for the Version field of
* the PropertySetStream packet, MUST NOT have a Behavior property.
* If the Behavior property is present, it MUST have one of the following values.
- *
+ *
* <ul>
* <li>0x00000000 = Property names are case-insensitive (default)
* <li>0x00000001 = Property names are case-sensitive.
* </ul>
*/
public static final int PID_BEHAVIOUR = 0x80000003;
-
+
/**
* A property without a known name is described by this string.
*/
public static final String UNDEFINED = "[undefined]";
-
+
/**
* Contains the summary information property ID values and
* associated strings. See the overall HPSF documentation for
{ (long)PID_COMPANY, "PID_COMPANY" },
{ (long)PID_LINKSDIRTY, "PID_LINKSDIRTY" },
};
-
-
+
+
/**
* Contains the fallback property ID values and associated strings.
* This is only used for lookups and not for initializing a property set
};
private final Map<Long,String> idMap;
-
+
/**
* Creates a {@link PropertyIDMap} backed by another map.
}
return fallbackProperties;
}
-
+
@Override
public int size() {
return idMap.size();
* BiffViewer [--biffhex] [--noint] [--noescher] [--out] <fileName><p>
* BiffViewer --rawhex [--out] <fileName>
*
- * <table summary="BiffViewer options">
+ * <table>
+ * <caption>BiffViewer options</caption>
* <tr><td>--biffhex</td><td>show hex dump of each BIFF record</td></tr>
* <tr><td>--noint</td><td>do not output interpretation of BIFF records</td></tr>
* <tr><td>--out</td><td>send output to <fileName>.out</td></tr>
* </ul>
*
* The following bits of the 'optionFlags' byte will be set as appropriate:
- * <table border='1'>
+ * <table>
+ * <caption>bits of the 'optionFlags'</caption>
* <tr><th>Mask</th><th>Description</th></tr>
* <tr><td>0x01</td><td>is16bitEncoded</td></tr>
* <tr><td>0x04</td><td>hasExtendedData</td></tr>
}
/**
- * @return <code>true</code> if the presence of the specified character in a sheet name would
+ * @return {@code true} if the presence of the specified character in a sheet name would
* require the sheet name to be delimited in formulas. This includes every non-alphanumeric
* character besides underscore '_' and dot '.'.
*/
* Used to decide whether sheet names like 'AB123' need delimiting due to the fact that they
* look like cell references.
* <p>
- * This code is currently being used for translating formulas represented with <code>Ptg</code>
+ * This code is currently being used for translating formulas represented with {@code Ptg}
* tokens into human readable text form. In formula expressions, a sheet name always has a
* trailing '!' so there is little chance for ambiguity. It doesn't matter too much what this
* method returns but it is worth noting the likely consumers of these formula text strings:
* cannot be used to match absolute or range references (using the dollar or colon char).
* <p>
* Some notable cases:
- * <blockquote><table border="0" cellpadding="1" cellspacing="0"
- * summary="Notable cases.">
+ * <table>
+ * <caption>Notable cases</caption>
* <tr><th>Input </th><th>Result </th><th>Comments</th></tr>
* <tr><td>"A1" </td><td>true</td><td> </td></tr>
* <tr><td>"a111" </td><td>true</td><td> </td></tr>
* <tr><td>"A1A1" </td><td>false</td><td> </td></tr>
* <tr><td>"A$1:$C$20" </td><td>false</td><td>Not a plain cell reference</td></tr>
* <tr><td>"SALES20080101" </td><td>true</td>
- * <td>Still needs delimiting even though well out of range</td></tr>
- * </table></blockquote>
+ * <td>Still needs delimiting even though well out of range</td></tr>
+ * </table>
*
- * @return <code>true</code> if there is any possible ambiguity that the specified rawSheetName
+ * @return {@code true} if there is any possible ambiguity that the specified rawSheetName
* could be interpreted as a valid cell name.
*/
/* package */ static boolean nameLooksLikePlainCellReference(String rawSheetName) {
*
* Specific matching behaviour can be modified with the optional <b>match_type</b> parameter.
*
- * <table border="0" cellpadding="1" cellspacing="0" summary="match_type parameter description">
+ * <table>
+ * <caption>match_type parameter description</caption>
* <tr><th>Value</th><th>Matching Behaviour</th></tr>
* <tr><td>1</td><td>(default) find the largest value that is less than or equal to lookup_value.
* The lookup_array must be in ascending <i>order</i>*.</td></tr>