find src/main/java/ src/test/java/ -type f -print0 | xargs -0 sed -i 's/org.apache.poi/com.moparisthebest.poi/g'

This commit is contained in:
Travis Burtrum 2019-03-26 15:11:21 -04:00
parent 89956f82b8
commit 59df1cb354
1037 changed files with 5172 additions and 5172 deletions

View File

@ -14,7 +14,7 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi; package com.moparisthebest.poi;
/** /**
* Exception thrown if an Empty (zero byte) file is supplied * Exception thrown if an Empty (zero byte) file is supplied

View File

@ -14,7 +14,7 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi; package com.moparisthebest.poi;
public class EncryptedDocumentException extends IllegalStateException public class EncryptedDocumentException extends IllegalStateException
{ {

View File

@ -14,7 +14,7 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi; package com.moparisthebest.poi;
/** /**
* Base class of all the exceptions that POI throws in the event * Base class of all the exceptions that POI throws in the event

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi; package com.moparisthebest.poi;
import java.io.ByteArrayInputStream; import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
@ -26,20 +26,20 @@ import java.io.InputStream;
import java.io.OutputStream; import java.io.OutputStream;
import java.util.List; import java.util.List;
import org.apache.poi.hpsf.DocumentSummaryInformation; import com.moparisthebest.poi.hpsf.DocumentSummaryInformation;
import org.apache.poi.hpsf.PropertySet; import com.moparisthebest.poi.hpsf.PropertySet;
import org.apache.poi.hpsf.PropertySetFactory; import com.moparisthebest.poi.hpsf.PropertySetFactory;
import org.apache.poi.hpsf.SummaryInformation; import com.moparisthebest.poi.hpsf.SummaryInformation;
import org.apache.poi.poifs.crypt.EncryptionInfo; import com.moparisthebest.poi.poifs.crypt.EncryptionInfo;
import org.apache.poi.poifs.crypt.cryptoapi.CryptoAPIDecryptor; import com.moparisthebest.poi.poifs.crypt.cryptoapi.CryptoAPIDecryptor;
import org.apache.poi.poifs.filesystem.DirectoryNode; import com.moparisthebest.poi.poifs.filesystem.DirectoryNode;
import org.apache.poi.poifs.filesystem.DocumentInputStream; import com.moparisthebest.poi.poifs.filesystem.DocumentInputStream;
import org.apache.poi.poifs.filesystem.NPOIFSFileSystem; import com.moparisthebest.poi.poifs.filesystem.NPOIFSFileSystem;
import org.apache.poi.poifs.filesystem.OPOIFSFileSystem; import com.moparisthebest.poi.poifs.filesystem.OPOIFSFileSystem;
import org.apache.poi.poifs.filesystem.POIFSFileSystem; import com.moparisthebest.poi.poifs.filesystem.POIFSFileSystem;
import org.apache.poi.util.Internal; import com.moparisthebest.poi.util.Internal;
import org.apache.poi.util.POILogFactory; import com.moparisthebest.poi.util.POILogFactory;
import org.apache.poi.util.POILogger; import com.moparisthebest.poi.util.POILogger;
/** /**
* This holds the common functionality for all POI * This holds the common functionality for all POI
@ -309,7 +309,7 @@ public abstract class POIDocument implements Closeable {
outFS.createOrUpdateDocument(bIn, name); outFS.createOrUpdateDocument(bIn, name);
logger.log(POILogger.INFO, "Wrote property set " + name + " of size " + data.length); logger.log(POILogger.INFO, "Wrote property set " + name + " of size " + data.length);
} catch(org.apache.poi.hpsf.WritingNotSupportedException wnse) { } catch(com.moparisthebest.poi.hpsf.WritingNotSupportedException wnse) {
logger.log( POILogger.ERROR, "Couldn't write property set with name " + name + " as not supported by HPSF yet"); logger.log( POILogger.ERROR, "Couldn't write property set with name " + name + " as not supported by HPSF yet");
} }
} }

View File

@ -14,24 +14,24 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi; package com.moparisthebest.poi;
import org.apache.poi.hpsf.DocumentSummaryInformation; import com.moparisthebest.poi.hpsf.DocumentSummaryInformation;
import org.apache.poi.hpsf.SummaryInformation; import com.moparisthebest.poi.hpsf.SummaryInformation;
import org.apache.poi.hpsf.extractor.HPSFPropertiesExtractor; import com.moparisthebest.poi.hpsf.extractor.HPSFPropertiesExtractor;
import org.apache.poi.poifs.filesystem.DirectoryEntry; import com.moparisthebest.poi.poifs.filesystem.DirectoryEntry;
/** /**
* Common Parent for OLE2 based Text Extractors * Common Parent for OLE2 based Text Extractors
* of POI Documents, such as .doc, .xls * of POI Documents, such as .doc, .xls
* You will typically find the implementation of * You will typically find the implementation of
* a given format's text extractor under * a given format's text extractor under
* org.apache.poi.[format].extractor . * com.moparisthebest.poi.[format].extractor .
* *
* @see org.apache.poi.hssf.extractor.ExcelExtractor * @see com.moparisthebest.poi.hssf.extractor.ExcelExtractor
* @see org.apache.poi.hslf.extractor.PowerPointExtractor * @see com.moparisthebest.poi.hslf.extractor.PowerPointExtractor
* @see org.apache.poi.hdgf.extractor.VisioTextExtractor * @see com.moparisthebest.poi.hdgf.extractor.VisioTextExtractor
* @see org.apache.poi.hwpf.extractor.WordExtractor * @see com.moparisthebest.poi.hwpf.extractor.WordExtractor
*/ */
public abstract class POIOLE2TextExtractor extends POITextExtractor { public abstract class POIOLE2TextExtractor extends POITextExtractor {
/** The POIDocument that's open */ /** The POIDocument that's open */

View File

@ -14,7 +14,7 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi; package com.moparisthebest.poi;
import java.io.Closeable; import java.io.Closeable;
import java.io.IOException; import java.io.IOException;
@ -24,12 +24,12 @@ import java.io.IOException;
* of POI Documents. * of POI Documents.
* You will typically find the implementation of * You will typically find the implementation of
* a given format's text extractor under * a given format's text extractor under
* org.apache.poi.[format].extractor . * com.moparisthebest.poi.[format].extractor .
* *
* @see org.apache.poi.hssf.extractor.ExcelExtractor * @see com.moparisthebest.poi.hssf.extractor.ExcelExtractor
* @see org.apache.poi.hslf.extractor.PowerPointExtractor * @see com.moparisthebest.poi.hslf.extractor.PowerPointExtractor
* @see org.apache.poi.hdgf.extractor.VisioTextExtractor * @see com.moparisthebest.poi.hdgf.extractor.VisioTextExtractor
* @see org.apache.poi.hwpf.extractor.WordExtractor * @see com.moparisthebest.poi.hwpf.extractor.WordExtractor
*/ */
public abstract class POITextExtractor implements Closeable { public abstract class POITextExtractor implements Closeable {
private Closeable fsToClose = null; private Closeable fsToClose = null;

View File

@ -14,7 +14,7 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi; package com.moparisthebest.poi;
/** /**
* Base class of all the exceptions that POI throws in the event * Base class of all the exceptions that POI throws in the event

View File

@ -14,9 +14,9 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.common.usermodel; package com.moparisthebest.poi.common.usermodel;
import org.apache.poi.util.Removal; import com.moparisthebest.poi.util.Removal;
/** /**
* Represents a hyperlink. * Represents a hyperlink.

View File

@ -14,12 +14,12 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.common.usermodel; package com.moparisthebest.poi.common.usermodel;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import org.apache.poi.util.Internal; import com.moparisthebest.poi.util.Internal;
/** /**
* @since POI 3.15 beta 3 * @since POI 3.15 beta 3

View File

@ -14,7 +14,7 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collections; import java.util.Collections;
@ -22,8 +22,8 @@ import java.util.Comparator;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
/** /**
* Common abstract class for {@link EscherOptRecord} and * Common abstract class for {@link EscherOptRecord} and

View File

@ -15,13 +15,13 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import java.lang.reflect.Constructor; import java.lang.reflect.Constructor;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
/** /**
* Generates escher records when provided the byte array containing those records. * Generates escher records when provided the byte array containing those records.

View File

@ -15,13 +15,13 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import java.util.Iterator; import java.util.Iterator;
import java.util.NoSuchElementException; import java.util.NoSuchElementException;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
/** /**
* Escher array properties are the most weird construction ever invented * Escher array properties are the most weird construction ever invented

View File

@ -15,10 +15,10 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
/** /**
* The BSE record is related closely to the <code>EscherBlipRecord</code> and stores * The BSE record is related closely to the <code>EscherBlipRecord</code> and stores

View File

@ -15,10 +15,10 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
public class EscherBitmapBlip extends EscherBlipRecord { public class EscherBitmapBlip extends EscherBlipRecord {
public static final short RECORD_ID_JPEG = (short) 0xF018 + 5; public static final short RECORD_ID_JPEG = (short) 0xF018 + 5;

View File

@ -15,10 +15,10 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
public class EscherBlipRecord extends EscherRecord { public class EscherBlipRecord extends EscherRecord {
public static final short RECORD_ID_START = (short) 0xF018; public static final short RECORD_ID_START = (short) 0xF018;

View File

@ -16,9 +16,9 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
/** /**
* Represents a boolean property. The actual utility of this property is in doubt because many * Represents a boolean property. The actual utility of this property is in doubt because many

View File

@ -16,10 +16,10 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
/** /**
* The escher child achor record is used to specify the position of a shape under an * The escher child achor record is used to specify the position of a shape under an

View File

@ -15,10 +15,10 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
/** /**
* The escher client anchor specifies which rows and cells the shape is bound to as well as * The escher client anchor specifies which rows and cells the shape is bound to as well as

View File

@ -16,10 +16,10 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
/** /**
* The EscherClientDataRecord is used to store client specific data about the position of a * The EscherClientDataRecord is used to store client specific data about the position of a

View File

@ -15,10 +15,10 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import org.apache.poi.util.BitField; import com.moparisthebest.poi.util.BitField;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
/** /**
* An OfficeArtCOLORREF structure entry which also handles color extension opid data * An OfficeArtCOLORREF structure entry which also handles color extension opid data
@ -267,7 +267,7 @@ public class EscherColorRef {
/** /**
* @return index of the scheme color or -1 if {@link #hasSchemeIndexFlag()} is {@code false} * @return index of the scheme color or -1 if {@link #hasSchemeIndexFlag()} is {@code false}
* *
* @see org.apache.poi.hslf.record.ColorSchemeAtom#getColor(int) * @see com.moparisthebest.poi.hslf.record.ColorSchemeAtom#getColor(int)
*/ */
public int getSchemeIndex() { public int getSchemeIndex() {
if (!hasSchemeIndexFlag()) return -1; if (!hasSchemeIndexFlag()) return -1;
@ -284,7 +284,7 @@ public class EscherColorRef {
/** /**
* @return index of system color table or -1 if {@link #hasSysIndexFlag()} is {@code false} * @return index of system color table or -1 if {@link #hasSysIndexFlag()} is {@code false}
* *
* @see org.apache.poi.sl.usermodel.PresetColor * @see com.moparisthebest.poi.sl.usermodel.PresetColor
*/ */
public int getSysIndex() { public int getSysIndex() {
return (hasSysIndexFlag()) ? getIndex() : -1; return (hasSysIndexFlag()) ? getIndex() : -1;

View File

@ -15,12 +15,12 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import java.util.Arrays; import java.util.Arrays;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
/** /**
* A complex property differs from a simple property in that the data can not fit inside a 32 bit * A complex property differs from a simple property in that the data can not fit inside a 32 bit

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import java.io.PrintWriter; import java.io.PrintWriter;
import java.util.ArrayList; import java.util.ArrayList;
@ -23,11 +23,11 @@ import java.util.Collections;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
import org.apache.poi.util.POILogFactory; import com.moparisthebest.poi.util.POILogFactory;
import org.apache.poi.util.POILogger; import com.moparisthebest.poi.util.POILogger;
import org.apache.poi.util.Removal; import com.moparisthebest.poi.util.Removal;
/** /**
* Escher container records store other escher records as children. * Escher container records store other escher records as children.

View File

@ -16,10 +16,10 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
/** /**
* This record simply holds the number of shapes in the drawing group and the * This record simply holds the number of shapes in the drawing group and the

View File

@ -15,11 +15,11 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
import org.apache.poi.util.RecordFormatException; import com.moparisthebest.poi.util.RecordFormatException;
import java.util.*; import java.util.*;

View File

@ -15,11 +15,11 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
import org.apache.poi.util.HexRead; import com.moparisthebest.poi.util.HexRead;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
import java.io.ByteArrayInputStream; import java.io.ByteArrayInputStream;
import java.io.IOException; import java.io.IOException;

View File

@ -15,13 +15,13 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
import org.apache.poi.util.POILogFactory; import com.moparisthebest.poi.util.POILogFactory;
import org.apache.poi.util.POILogger; import com.moparisthebest.poi.util.POILogger;
import org.apache.poi.hssf.usermodel.HSSFPictureData; import com.moparisthebest.poi.hssf.usermodel.HSSFPictureData;
import java.awt.Dimension; import java.awt.Dimension;
import java.awt.Rectangle; import java.awt.Rectangle;

View File

@ -14,9 +14,9 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import org.apache.poi.util.Internal; import com.moparisthebest.poi.util.Internal;
/** /**
* The opt record is used to store property values for a shape. It is the key to * The opt record is used to store property values for a shape. It is the key to

View File

@ -15,12 +15,12 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
import org.apache.poi.util.POILogFactory; import com.moparisthebest.poi.util.POILogFactory;
import org.apache.poi.util.POILogger; import com.moparisthebest.poi.util.POILogger;
import java.awt.Dimension; import java.awt.Dimension;
import java.awt.Rectangle; import java.awt.Rectangle;

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
/** /**
* This is the abstract base class for all escher properties. * This is the abstract base class for all escher properties.

View File

@ -15,12 +15,12 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
/** /**
* Generates a property given a reference into the byte array storing that property. * Generates a property given a reference into the byte array storing that property.

View File

@ -16,7 +16,7 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
/** /**
* This class stores the type and description of an escher property. * This class stores the type and description of an escher property.

View File

@ -15,9 +15,9 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
/** /**
* A color property. * A color property.

View File

@ -16,17 +16,17 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import java.io.PrintWriter; import java.io.PrintWriter;
import java.util.Collections; import java.util.Collections;
import java.util.List; import java.util.List;
import org.apache.poi.util.BitField; import com.moparisthebest.poi.util.BitField;
import org.apache.poi.util.BitFieldFactory; import com.moparisthebest.poi.util.BitFieldFactory;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
import org.apache.poi.util.Internal; import com.moparisthebest.poi.util.Internal;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
/** /**
* The base abstract record from which all escher records are defined. Subclasses will need * The base abstract record from which all escher records are defined. Subclasses will need
@ -53,7 +53,7 @@ public abstract class EscherRecord implements Cloneable {
* @param f the escher record factory * @param f the escher record factory
* @return The number of bytes written. * @return The number of bytes written.
* *
* @see #fillFields(byte[], int, org.apache.poi.ddf.EscherRecordFactory) * @see #fillFields(byte[], int, com.moparisthebest.poi.ddf.EscherRecordFactory)
*/ */
protected int fillFields( byte[] data, EscherRecordFactory f ) protected int fillFields( byte[] data, EscherRecordFactory f )
{ {
@ -159,7 +159,7 @@ public abstract class EscherRecord implements Cloneable {
* @param data the data array to serialize to. * @param data the data array to serialize to.
* @return The number of bytes written. * @return The number of bytes written.
* *
* @see #serialize(int, byte[], org.apache.poi.ddf.EscherSerializationListener) * @see #serialize(int, byte[], com.moparisthebest.poi.ddf.EscherSerializationListener)
*/ */
public int serialize( int offset, byte[] data) public int serialize( int offset, byte[] data)
{ {

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
/** /**
* The escher record factory interface allows for the creation of escher * The escher record factory interface allows for the creation of escher

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
/** /**
* Interface for listening to escher serialization events. * Interface for listening to escher serialization events.

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
/** /**
* Defines the constants for the various possible shape paths. * Defines the constants for the various possible shape paths.

View File

@ -15,10 +15,10 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
/** /**
* A simple property is of fixed length and as a property number in addition * A simple property is of fixed length and as a property number in addition

View File

@ -15,10 +15,10 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
/** /**
* Together the the EscherOptRecord this record defines some of the basic * Together the the EscherOptRecord this record defines some of the basic

View File

@ -15,11 +15,11 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
import org.apache.poi.util.RecordFormatException; import com.moparisthebest.poi.util.RecordFormatException;
/** /**
* The spgr record defines information about a shape group. Groups in escher * The spgr record defines information about a shape group. Groups in escher

View File

@ -15,11 +15,11 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
import org.apache.poi.util.RecordFormatException; import com.moparisthebest.poi.util.RecordFormatException;
/** /**
* A list of the most recently used colours for the drawings contained in * A list of the most recently used colours for the drawings contained in

View File

@ -14,7 +14,7 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
/** /**
* "The OfficeArtTertiaryFOPT record specifies a table of OfficeArtRGFOPTE properties, as defined in section 2.3.1." * "The OfficeArtTertiaryFOPT record specifies a table of OfficeArtRGFOPTE properties, as defined in section 2.3.1."

View File

@ -15,11 +15,11 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
import org.apache.poi.util.RecordFormatException; import com.moparisthebest.poi.util.RecordFormatException;
/** /**
* Holds data from the parent application. Most commonly used to store * Holds data from the parent application. Most commonly used to store

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
/** /**
* Ignores all serialization events. * Ignores all serialization events.

View File

@ -15,14 +15,14 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.ddf; package com.moparisthebest.poi.ddf;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
/** /**
* This record is used whenever a escher record is encountered that * This record is used whenever a escher record is encountered that

View File

@ -14,10 +14,10 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import org.apache.poi.util.Internal; import com.moparisthebest.poi.util.Internal;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
@Internal @Internal
class Array class Array

View File

@ -14,10 +14,10 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import org.apache.poi.util.Internal; import com.moparisthebest.poi.util.Internal;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
@Internal @Internal
class Blob class Blob

View File

@ -15,12 +15,12 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import java.util.Arrays; import java.util.Arrays;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
import org.apache.poi.util.StringUtil; import com.moparisthebest.poi.util.StringUtil;
/** /**
* <p>Represents a class ID (16 bytes). Unlike other little-endian * <p>Represents a class ID (16 bytes). Unlike other little-endian

View File

@ -14,15 +14,15 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import java.io.IOException; import java.io.IOException;
import java.io.OutputStream; import java.io.OutputStream;
import org.apache.poi.util.Internal; import com.moparisthebest.poi.util.Internal;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
import org.apache.poi.util.POILogFactory; import com.moparisthebest.poi.util.POILogFactory;
import org.apache.poi.util.POILogger; import com.moparisthebest.poi.util.POILogger;
@Internal @Internal
class ClipboardData class ClipboardData

View File

@ -14,18 +14,18 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import java.io.IOException; import java.io.IOException;
import java.io.OutputStream; import java.io.OutputStream;
import java.io.UnsupportedEncodingException; import java.io.UnsupportedEncodingException;
import org.apache.poi.util.CodePageUtil; import com.moparisthebest.poi.util.CodePageUtil;
import org.apache.poi.util.Internal; import com.moparisthebest.poi.util.Internal;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
import org.apache.poi.util.POILogFactory; import com.moparisthebest.poi.util.POILogFactory;
import org.apache.poi.util.POILogger; import com.moparisthebest.poi.util.POILogger;
import org.apache.poi.util.StringUtil; import com.moparisthebest.poi.util.StringUtil;
@Internal @Internal
class CodePageString class CodePageString

View File

@ -14,10 +14,10 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import org.apache.poi.util.Internal; import com.moparisthebest.poi.util.Internal;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
@Internal @Internal
class Currency class Currency

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
/** /**
* This class represents custom properties in the document summary * This class represents custom properties in the document summary

View File

@ -14,10 +14,10 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import org.apache.poi.util.Internal; import com.moparisthebest.poi.util.Internal;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
@Internal @Internal
class Date class Date

View File

@ -14,10 +14,10 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import org.apache.poi.util.Internal; import com.moparisthebest.poi.util.Internal;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
@Internal @Internal
class Decimal class Decimal

View File

@ -15,15 +15,15 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import java.util.LinkedList; import java.util.LinkedList;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import org.apache.poi.hpsf.wellknown.PropertyIDMap; import com.moparisthebest.poi.hpsf.wellknown.PropertyIDMap;
import org.apache.poi.hpsf.wellknown.SectionIDMap; import com.moparisthebest.poi.hpsf.wellknown.SectionIDMap;
import org.apache.poi.util.CodePageUtil; import com.moparisthebest.poi.util.CodePageUtil;
/** /**
* Convenience class representing a DocumentSummary Information stream in a * Convenience class representing a DocumentSummary Information stream in a

View File

@ -14,12 +14,12 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import java.io.IOException; import java.io.IOException;
import java.io.OutputStream; import java.io.OutputStream;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
class Filetime class Filetime
{ {

View File

@ -14,10 +14,10 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import org.apache.poi.util.Internal; import com.moparisthebest.poi.util.Internal;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
@Internal @Internal
class GUID class GUID

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
/** /**
* <p>This exception is the superclass of all other checked exceptions thrown * <p>This exception is the superclass of all other checked exceptions thrown

View File

@ -14,7 +14,7 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;
@ -22,12 +22,12 @@ import java.io.OutputStream;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import org.apache.poi.POIDocument; import com.moparisthebest.poi.POIDocument;
import org.apache.poi.poifs.filesystem.EntryUtils; import com.moparisthebest.poi.poifs.filesystem.EntryUtils;
import org.apache.poi.poifs.filesystem.FilteringDirectoryNode; import com.moparisthebest.poi.poifs.filesystem.FilteringDirectoryNode;
import org.apache.poi.poifs.filesystem.NPOIFSFileSystem; import com.moparisthebest.poi.poifs.filesystem.NPOIFSFileSystem;
import org.apache.poi.poifs.filesystem.OPOIFSFileSystem; import com.moparisthebest.poi.poifs.filesystem.OPOIFSFileSystem;
import org.apache.poi.poifs.filesystem.POIFSFileSystem; import com.moparisthebest.poi.poifs.filesystem.POIFSFileSystem;
/** /**
* A version of {@link POIDocument} which allows access to the * A version of {@link POIDocument} which allows access to the

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
/** /**

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
/** /**
* <p>This exception is thrown when there is an illegal value set in a * <p>This exception is thrown when there is an illegal value set in a

View File

@ -15,9 +15,9 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
/** /**
* <p>This exception is thrown if HPSF encounters a variant type that is illegal * <p>This exception is thrown if HPSF encounters a variant type that is illegal

View File

@ -14,9 +14,9 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import org.apache.poi.util.Internal; import com.moparisthebest.poi.util.Internal;
@Internal @Internal
class IndirectPropertyName class IndirectPropertyName

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
/** /**
* <p>This exception is thrown if an {@link java.io.InputStream} does * <p>This exception is thrown if an {@link java.io.InputStream} does

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
/** /**
* <p>This exception is thrown if one of the {@link PropertySet}'s * <p>This exception is thrown if one of the {@link PropertySet}'s

View File

@ -15,9 +15,9 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import org.apache.poi.util.Removal; import com.moparisthebest.poi.util.Removal;
/** /**
* <p>Adds writing capability to the {@link Property} class.</p> * <p>Adds writing capability to the {@link Property} class.</p>

View File

@ -15,9 +15,9 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import org.apache.poi.util.Removal; import com.moparisthebest.poi.util.Removal;
/** /**
* dds writing support to the {@link PropertySet} class.<p> * dds writing support to the {@link PropertySet} class.<p>

View File

@ -15,11 +15,11 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import java.io.UnsupportedEncodingException; import java.io.UnsupportedEncodingException;
import org.apache.poi.util.Removal; import com.moparisthebest.poi.util.Removal;
/** /**
* <p>Adds writing capability to the {@link Section} class.</p> * <p>Adds writing capability to the {@link Section} class.</p>

View File

@ -15,12 +15,12 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
/** /**
* This exception is thrown if a {@link PropertySet} is to be written * This exception is thrown if a {@link PropertySet} is to be written
* but does not have a formatID set (see {@link Section#setFormatID(ClassID)} or * but does not have a formatID set (see {@link Section#setFormatID(ClassID)} or
* {@link org.apache.poi.hpsf.Section#setFormatID(byte[])}. * {@link com.moparisthebest.poi.hpsf.Section#setFormatID(byte[])}.
*/ */
public class NoFormatIDException extends HPSFRuntimeException { public class NoFormatIDException extends HPSFRuntimeException {

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
/** /**
* <p>This exception is thrown if a format error in a property set stream is * <p>This exception is thrown if a format error in a property set stream is

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
/** /**
* <p>This exception is thrown if one of the {@link PropertySet}'s * <p>This exception is thrown if one of the {@link PropertySet}'s

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import java.io.IOException; import java.io.IOException;
import java.io.OutputStream; import java.io.OutputStream;
@ -25,11 +25,11 @@ import java.util.Arrays;
import java.util.LinkedHashMap; import java.util.LinkedHashMap;
import java.util.Map; import java.util.Map;
import org.apache.poi.util.CodePageUtil; import com.moparisthebest.poi.util.CodePageUtil;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
import org.apache.poi.util.POILogFactory; import com.moparisthebest.poi.util.POILogFactory;
import org.apache.poi.util.POILogger; import com.moparisthebest.poi.util.POILogger;
/** /**
* A property in a {@link Section} of a {@link PropertySet}.<p> * A property in a {@link Section} of a {@link PropertySet}.<p>

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import java.io.ByteArrayInputStream; import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
@ -29,15 +29,15 @@ import java.util.Collections;
import java.util.LinkedList; import java.util.LinkedList;
import java.util.List; import java.util.List;
import org.apache.poi.EmptyFileException; import com.moparisthebest.poi.EmptyFileException;
import org.apache.poi.hpsf.wellknown.PropertyIDMap; import com.moparisthebest.poi.hpsf.wellknown.PropertyIDMap;
import org.apache.poi.hpsf.wellknown.SectionIDMap; import com.moparisthebest.poi.hpsf.wellknown.SectionIDMap;
import org.apache.poi.poifs.filesystem.DirectoryEntry; import com.moparisthebest.poi.poifs.filesystem.DirectoryEntry;
import org.apache.poi.poifs.filesystem.Entry; import com.moparisthebest.poi.poifs.filesystem.Entry;
import org.apache.poi.util.IOUtils; import com.moparisthebest.poi.util.IOUtils;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
import org.apache.poi.util.LittleEndianConsts; import com.moparisthebest.poi.util.LittleEndianConsts;
import org.apache.poi.util.NotImplemented; import com.moparisthebest.poi.util.NotImplemented;
/** /**
* Represents a property set in the Horrible Property Set Format * Represents a property set in the Horrible Property Set Format

View File

@ -15,16 +15,16 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import java.io.FileNotFoundException; import java.io.FileNotFoundException;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.UnsupportedEncodingException; import java.io.UnsupportedEncodingException;
import org.apache.poi.poifs.filesystem.DirectoryEntry; import com.moparisthebest.poi.poifs.filesystem.DirectoryEntry;
import org.apache.poi.poifs.filesystem.DocumentEntry; import com.moparisthebest.poi.poifs.filesystem.DocumentEntry;
import org.apache.poi.poifs.filesystem.DocumentInputStream; import com.moparisthebest.poi.poifs.filesystem.DocumentInputStream;
/** /**
* Factory class to create instances of {@link SummaryInformation}, * Factory class to create instances of {@link SummaryInformation},

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
/** /**
* <p>This exception is thrown when HPSF tries to read a (yet) unsupported * <p>This exception is thrown when HPSF tries to read a (yet) unsupported

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
import java.io.IOException; import java.io.IOException;
@ -25,10 +25,10 @@ import java.util.Date;
import java.util.Map; import java.util.Map;
import java.util.TreeMap; import java.util.TreeMap;
import org.apache.poi.hpsf.wellknown.PropertyIDMap; import com.moparisthebest.poi.hpsf.wellknown.PropertyIDMap;
import org.apache.poi.hpsf.wellknown.SectionIDMap; import com.moparisthebest.poi.hpsf.wellknown.SectionIDMap;
import org.apache.poi.util.CodePageUtil; import com.moparisthebest.poi.util.CodePageUtil;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
/** /**
* Represents a section in a {@link PropertySet}. * Represents a section in a {@link PropertySet}.
@ -123,7 +123,7 @@ public class Section {
* Returns the format ID. The format ID is the "type" of the * Returns the format ID. The format ID is the "type" of the
* section. For example, if the format ID of the first {@link * section. For example, if the format ID of the first {@link
* Section} contains the bytes specified by * Section} contains the bytes specified by
* {@code org.apache.poi.hpsf.wellknown.SectionIDMap.SUMMARY_INFORMATION_ID} * {@code com.moparisthebest.poi.hpsf.wellknown.SectionIDMap.SUMMARY_INFORMATION_ID}
* the section (and thus the property set) is a SummaryInformation. * the section (and thus the property set) is a SummaryInformation.
* *
* @return The format ID * @return The format ID

View File

@ -15,9 +15,9 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import org.apache.poi.util.Removal; import com.moparisthebest.poi.util.Removal;
/** /**
* Interface for the convenience classes {@link SummaryInformation} * Interface for the convenience classes {@link SummaryInformation}

View File

@ -15,12 +15,12 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import java.util.Date; import java.util.Date;
import org.apache.poi.hpsf.wellknown.PropertyIDMap; import com.moparisthebest.poi.hpsf.wellknown.PropertyIDMap;
import org.apache.poi.hpsf.wellknown.SectionIDMap; import com.moparisthebest.poi.hpsf.wellknown.SectionIDMap;
/** /**
* Convenience class representing a Summary Information stream in a * Convenience class representing a Summary Information stream in a

View File

@ -15,9 +15,9 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
/** /**
* <p>Class to manipulate data in the Clipboard Variant ({@link * <p>Class to manipulate data in the Clipboard Variant ({@link
* Variant#VT_CF VT_CF}) format.</p> * Variant#VT_CF VT_CF}) format.</p>

View File

@ -15,12 +15,12 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import java.io.IOException; import java.io.IOException;
import java.io.OutputStream; import java.io.OutputStream;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
/** /**
* <p>Class for writing little-endian data and more.</p> * <p>Class for writing little-endian data and more.</p>

View File

@ -16,12 +16,12 @@
* limitations under the License. * limitations under the License.
* ==================================================================== * ====================================================================
*/ */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import org.apache.poi.util.Internal; import com.moparisthebest.poi.util.Internal;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
import org.apache.poi.util.POILogFactory; import com.moparisthebest.poi.util.POILogFactory;
import org.apache.poi.util.POILogger; import com.moparisthebest.poi.util.POILogger;
@Internal @Internal
class TypedPropertyValue class TypedPropertyValue

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
/** /**
* <p>This exception is thrown if a certain type of property set is * <p>This exception is thrown if a certain type of property set is

View File

@ -14,13 +14,13 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import org.apache.poi.util.Internal; import com.moparisthebest.poi.util.Internal;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
import org.apache.poi.util.POILogFactory; import com.moparisthebest.poi.util.POILogFactory;
import org.apache.poi.util.POILogger; import com.moparisthebest.poi.util.POILogger;
import org.apache.poi.util.StringUtil; import com.moparisthebest.poi.util.StringUtil;
@Internal @Internal
class UnicodeString { class UnicodeString {

View File

@ -15,9 +15,9 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import org.apache.poi.util.HexDump; import com.moparisthebest.poi.util.HexDump;
/** /**
* <p>This exception is thrown if HPSF encounters a variant type that isn't * <p>This exception is thrown if HPSF encounters a variant type that isn't

View File

@ -15,15 +15,15 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import java.io.IOException; import java.io.IOException;
import java.io.PrintWriter; import java.io.PrintWriter;
import java.io.StringWriter; import java.io.StringWriter;
import java.util.Date; import java.util.Date;
import org.apache.poi.util.Internal; import com.moparisthebest.poi.util.Internal;
import org.apache.poi.util.SuppressForbidden; import com.moparisthebest.poi.util.SuppressForbidden;
/** /**
* <p>Provides various static utility methods.</p> * <p>Provides various static utility methods.</p>

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import java.util.Collections; import java.util.Collections;
import java.util.HashMap; import java.util.HashMap;

View File

@ -14,12 +14,12 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import org.apache.poi.util.Internal; import com.moparisthebest.poi.util.Internal;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
import org.apache.poi.util.POILogFactory; import com.moparisthebest.poi.util.POILogFactory;
import org.apache.poi.util.POILogger; import com.moparisthebest.poi.util.POILogger;
@Internal @Internal
class VariantBool { class VariantBool {

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import java.io.IOException; import java.io.IOException;
import java.io.OutputStream; import java.io.OutputStream;
@ -24,10 +24,10 @@ import java.util.Date;
import java.util.LinkedList; import java.util.LinkedList;
import java.util.List; import java.util.List;
import org.apache.poi.util.CodePageUtil; import com.moparisthebest.poi.util.CodePageUtil;
import org.apache.poi.util.POILogFactory; import com.moparisthebest.poi.util.POILogFactory;
import org.apache.poi.util.POILogger; import com.moparisthebest.poi.util.POILogger;
import org.apache.poi.util.Removal; import com.moparisthebest.poi.util.Removal;
/** /**
* Supports reading and writing of variant data.<p> * Supports reading and writing of variant data.<p>

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
/** /**
* <p>This exception is thrown if HPSF encounters a problem with a variant type. * <p>This exception is thrown if HPSF encounters a problem with a variant type.

View File

@ -14,10 +14,10 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import org.apache.poi.util.Internal; import com.moparisthebest.poi.util.Internal;
import org.apache.poi.util.LittleEndian; import com.moparisthebest.poi.util.LittleEndian;
/** /**
* Holder for vector-type properties * Holder for vector-type properties

View File

@ -16,9 +16,9 @@
* limitations under the License. * limitations under the License.
* ==================================================================== * ====================================================================
*/ */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
import org.apache.poi.util.Internal; import com.moparisthebest.poi.util.Internal;
@Internal @Internal
class VersionedStream class VersionedStream

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf; package com.moparisthebest.poi.hpsf;
/** /**
* <p>This exception is thrown when trying to write a (yet) unsupported variant * <p>This exception is thrown when trying to write a (yet) unsupported variant

View File

@ -15,23 +15,23 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf.extractor; package com.moparisthebest.poi.hpsf.extractor;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;
import org.apache.poi.POIDocument; import com.moparisthebest.poi.POIDocument;
import org.apache.poi.POIOLE2TextExtractor; import com.moparisthebest.poi.POIOLE2TextExtractor;
import org.apache.poi.POITextExtractor; import com.moparisthebest.poi.POITextExtractor;
import org.apache.poi.hpsf.DocumentSummaryInformation; import com.moparisthebest.poi.hpsf.DocumentSummaryInformation;
import org.apache.poi.hpsf.HPSFPropertiesOnlyDocument; import com.moparisthebest.poi.hpsf.HPSFPropertiesOnlyDocument;
import org.apache.poi.hpsf.Property; import com.moparisthebest.poi.hpsf.Property;
import org.apache.poi.hpsf.PropertySet; import com.moparisthebest.poi.hpsf.PropertySet;
import org.apache.poi.hpsf.SpecialPropertySet; import com.moparisthebest.poi.hpsf.SpecialPropertySet;
import org.apache.poi.hpsf.SummaryInformation; import com.moparisthebest.poi.hpsf.SummaryInformation;
import org.apache.poi.hpsf.wellknown.PropertyIDMap; import com.moparisthebest.poi.hpsf.wellknown.PropertyIDMap;
import org.apache.poi.poifs.filesystem.NPOIFSFileSystem; import com.moparisthebest.poi.poifs.filesystem.NPOIFSFileSystem;
import org.apache.poi.poifs.filesystem.POIFSFileSystem; import com.moparisthebest.poi.poifs.filesystem.POIFSFileSystem;
/** /**
* Extracts all of the HPSF properties, both * Extracts all of the HPSF properties, both

View File

@ -35,63 +35,63 @@
<p>In order to extract the properties from a POI filesystem, a property set <p>In order to extract the properties from a POI filesystem, a property set
stream's contents must be parsed into a {@link stream's contents must be parsed into a {@link
org.apache.poi.hpsf.PropertySet} instance. Its subclasses {@link com.moparisthebest.poi.hpsf.PropertySet} instance. Its subclasses {@link
org.apache.poi.hpsf.SummaryInformation} and {@link com.moparisthebest.poi.hpsf.SummaryInformation} and {@link
org.apache.poi.hpsf.DocumentSummaryInformation} deal with the well-known com.moparisthebest.poi.hpsf.DocumentSummaryInformation} deal with the well-known
property set streams <tt>\005SummaryInformation</tt> and property set streams <tt>\005SummaryInformation</tt> and
<tt>\005DocumentSummaryInformation</tt>. (However, the streams' names are <tt>\005DocumentSummaryInformation</tt>. (However, the streams' names are
irrelevant. What counts is the property set's first section's format ID - irrelevant. What counts is the property set's first section's format ID -
see below.)</p> see below.)</p>
<p>The factory method {@link org.apache.poi.hpsf.PropertySetFactory#create} <p>The factory method {@link com.moparisthebest.poi.hpsf.PropertySetFactory#create}
creates a {@link org.apache.poi.hpsf.PropertySet} instance. This method creates a {@link com.moparisthebest.poi.hpsf.PropertySet} instance. This method
always returns the <strong>most specific property set</strong>: If it always returns the <strong>most specific property set</strong>: If it
identifies the stream data as a Summary Information or as a Document identifies the stream data as a Summary Information or as a Document
Summary Information it returns an instance of the corresponding class, else Summary Information it returns an instance of the corresponding class, else
the general {@link org.apache.poi.hpsf.PropertySet}.</p> the general {@link com.moparisthebest.poi.hpsf.PropertySet}.</p>
<p>A {@link org.apache.poi.hpsf.PropertySet} contains a list of {@link <p>A {@link com.moparisthebest.poi.hpsf.PropertySet} contains a list of {@link
org.apache.poi.hpsf.Section}s which can be retrieved with {@link com.moparisthebest.poi.hpsf.Section}s which can be retrieved with {@link
org.apache.poi.hpsf.PropertySet#getSections}. Each {@link com.moparisthebest.poi.hpsf.PropertySet#getSections}. Each {@link
org.apache.poi.hpsf.Section} contains a {@link com.moparisthebest.poi.hpsf.Section} contains a {@link
org.apache.poi.hpsf.Property} array which can be retrieved with {@link com.moparisthebest.poi.hpsf.Property} array which can be retrieved with {@link
org.apache.poi.hpsf.Section#getProperties}. Since the vast majority of com.moparisthebest.poi.hpsf.Section#getProperties}. Since the vast majority of
{@link org.apache.poi.hpsf.PropertySet}s contains only a single {@link {@link com.moparisthebest.poi.hpsf.PropertySet}s contains only a single {@link
org.apache.poi.hpsf.Section}, the convenience method {@link com.moparisthebest.poi.hpsf.Section}, the convenience method {@link
org.apache.poi.hpsf.PropertySet#getProperties} returns the properties of a com.moparisthebest.poi.hpsf.PropertySet#getProperties} returns the properties of a
{@link org.apache.poi.hpsf.PropertySet}'s {@link {@link com.moparisthebest.poi.hpsf.PropertySet}'s {@link
org.apache.poi.hpsf.Section} (throwing a {@link com.moparisthebest.poi.hpsf.Section} (throwing a {@link
org.apache.poi.hpsf.NoSingleSectionException} if the {@link com.moparisthebest.poi.hpsf.NoSingleSectionException} if the {@link
org.apache.poi.hpsf.PropertySet} contains more (or less) than exactly one com.moparisthebest.poi.hpsf.PropertySet} contains more (or less) than exactly one
{@link org.apache.poi.hpsf.Section}).</p> {@link com.moparisthebest.poi.hpsf.Section}).</p>
<p>Each {@link org.apache.poi.hpsf.Property} has an <strong>ID</strong>, a <p>Each {@link com.moparisthebest.poi.hpsf.Property} has an <strong>ID</strong>, a
<strong>type</strong>, and a <strong>value</strong> which can be retrieved <strong>type</strong>, and a <strong>value</strong> which can be retrieved
with {@link org.apache.poi.hpsf.Property#getID}, {@link with {@link com.moparisthebest.poi.hpsf.Property#getID}, {@link
org.apache.poi.hpsf.Property#getType}, and {@link com.moparisthebest.poi.hpsf.Property#getType}, and {@link
org.apache.poi.hpsf.Property#getValue}, respectively. The value's class com.moparisthebest.poi.hpsf.Property#getValue}, respectively. The value's class
depends on the property's type. <!-- FIXME: --> The current implementation depends on the property's type. <!-- FIXME: --> The current implementation
does not yet support all property types and restricts the values' classes does not yet support all property types and restricts the values' classes
to {@link java.lang.String}, {@link java.lang.Integer} and {@link to {@link java.lang.String}, {@link java.lang.Integer} and {@link
java.util.Date}. A value of a yet unknown type is returned as a byte array java.util.Date}. A value of a yet unknown type is returned as a byte array
containing the value's origin bytes from the property set stream.</p> containing the value's origin bytes from the property set stream.</p>
<p>To retrieve the value of a specific {@link org.apache.poi.hpsf.Property}, <p>To retrieve the value of a specific {@link com.moparisthebest.poi.hpsf.Property},
use {@link org.apache.poi.hpsf.Section#getProperty} or {@link use {@link com.moparisthebest.poi.hpsf.Section#getProperty} or {@link
org.apache.poi.hpsf.Section#getPropertyIntValue}.</p> com.moparisthebest.poi.hpsf.Section#getPropertyIntValue}.</p>
<p>The {@link org.apache.poi.hpsf.SummaryInformation} and {@link <p>The {@link com.moparisthebest.poi.hpsf.SummaryInformation} and {@link
org.apache.poi.hpsf.DocumentSummaryInformation} classes provide convenience com.moparisthebest.poi.hpsf.DocumentSummaryInformation} classes provide convenience
methods for retrieving well-known properties. For example, an application methods for retrieving well-known properties. For example, an application
that wants to retrieve a document's title string just calls {@link that wants to retrieve a document's title string just calls {@link
org.apache.poi.hpsf.SummaryInformation#getTitle} instead of going through com.moparisthebest.poi.hpsf.SummaryInformation#getTitle} instead of going through
the hassle of first finding out what the title's property ID is and then the hassle of first finding out what the title's property ID is and then
using this ID to get the property's value.</p> using this ID to get the property's value.</p>
<p>Writing properties can be done with the classes <p>Writing properties can be done with the classes
{@link org.apache.poi.hpsf.MutablePropertySet}, {@link {@link com.moparisthebest.poi.hpsf.MutablePropertySet}, {@link
org.apache.poi.hpsf.MutableSection}, and {@link com.moparisthebest.poi.hpsf.MutableSection}, and {@link
org.apache.poi.hpsf.MutableProperty}.</p> com.moparisthebest.poi.hpsf.MutableProperty}.</p>
<p>Public documentation from Microsoft can be found in the <a <p>Public documentation from Microsoft can be found in the <a
href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/stg/stg/properties_and_property_sets.asp" href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/stg/stg/properties_and_property_sets.asp"
@ -104,9 +104,9 @@
<dt>2003-09-11:</dt> <dt>2003-09-11:</dt>
<dd> <dd>
<p>{@link org.apache.poi.hpsf.PropertySetFactory#create(InputStream)} no <p>{@link com.moparisthebest.poi.hpsf.PropertySetFactory#create(InputStream)} no
longer throws an longer throws an
{@link org.apache.poi.hpsf.UnexpectedPropertySetTypeException}.</p></dd> {@link com.moparisthebest.poi.hpsf.UnexpectedPropertySetTypeException}.</p></dd>
</dl> </dl>
</div> </div>

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf.wellknown; package com.moparisthebest.poi.hpsf.wellknown;
import java.util.Collections; import java.util.Collections;
import java.util.HashMap; import java.util.HashMap;

View File

@ -15,11 +15,11 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hpsf.wellknown; package com.moparisthebest.poi.hpsf.wellknown;
import java.util.HashMap; import java.util.HashMap;
import org.apache.poi.util.StringUtil; import com.moparisthebest.poi.util.StringUtil;
/** /**
* <p>Maps section format IDs to {@link PropertyIDMap}s. It is * <p>Maps section format IDs to {@link PropertyIDMap}s. It is

View File

@ -14,9 +14,9 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hssf; package com.moparisthebest.poi.hssf;
import org.apache.poi.OldFileFormatException; import com.moparisthebest.poi.OldFileFormatException;
public class OldExcelFormatException extends OldFileFormatException { public class OldExcelFormatException extends OldFileFormatException {
public OldExcelFormatException(String s) { public OldExcelFormatException(String s) {

View File

@ -15,9 +15,9 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hssf.eventmodel; package com.moparisthebest.poi.hssf.eventmodel;
import org.apache.poi.hssf.record.Record; import com.moparisthebest.poi.hssf.record.Record;
/** /**
* An ERFListener is registered with the EventRecordFactory. * An ERFListener is registered with the EventRecordFactory.

View File

@ -15,12 +15,12 @@
limitations under the License. limitations under the License.
==================================================================== */ ==================================================================== */
package org.apache.poi.hssf.eventmodel; package com.moparisthebest.poi.hssf.eventmodel;
import java.io.InputStream; import java.io.InputStream;
import java.util.Arrays; import java.util.Arrays;
import org.apache.poi.hssf.record.*; import com.moparisthebest.poi.hssf.record.*;
/** /**
* Event-based record factory. As opposed to RecordFactory * Event-based record factory. As opposed to RecordFactory

View File

@ -16,10 +16,10 @@
==================================================================== */ ==================================================================== */
package org.apache.poi.hssf.eventusermodel; package com.moparisthebest.poi.hssf.eventusermodel;
import org.apache.poi.hssf.record.Record; import com.moparisthebest.poi.hssf.record.Record;
import org.apache.poi.hssf.eventusermodel.HSSFUserException; import com.moparisthebest.poi.hssf.eventusermodel.HSSFUserException;
/** /**
* Abstract class for use with the HSSFRequest and HSSFEventFactory, which * Abstract class for use with the HSSFRequest and HSSFEventFactory, which
@ -30,9 +30,9 @@ import org.apache.poi.hssf.eventusermodel.HSSFUserException;
* This should then be registered with the HSSFRequest (associating * This should then be registered with the HSSFRequest (associating
* it with Record SID's) as usual. * it with Record SID's) as usual.
* *
* @see org.apache.poi.hssf.eventusermodel.HSSFEventFactory * @see com.moparisthebest.poi.hssf.eventusermodel.HSSFEventFactory
* @see org.apache.poi.hssf.eventusermodel.HSSFRequest * @see com.moparisthebest.poi.hssf.eventusermodel.HSSFRequest
* @see org.apache.poi.hssf.eventusermodel.HSSFUserException * @see com.moparisthebest.poi.hssf.eventusermodel.HSSFUserException
*/ */
public abstract class AbortableHSSFListener implements HSSFListener public abstract class AbortableHSSFListener implements HSSFListener

Some files were not shown because too many files have changed in this diff Show More