package org.apache.poi.hwpf.model;
import org.apache.poi.hwpf.model.types.BKFAbstractType;
+import org.apache.poi.util.Internal;
+@Internal
public final class BookmarkFirstDescriptor extends BKFAbstractType implements
Cloneable
{
import java.util.Arrays;
import org.apache.poi.hwpf.model.io.HWPFOutputStream;
+import org.apache.poi.util.Internal;
+@Internal
public class BookmarksTables
{
private PlexOfCps descriptorsFirst = new PlexOfCps( 4 );
import org.apache.poi.hwpf.sprm.CharacterSprmUncompressor;
import org.apache.poi.hwpf.sprm.SprmBuffer;
import org.apache.poi.hwpf.usermodel.CharacterProperties;
+import org.apache.poi.util.Internal;
/**
* DANGER - works in bytes!
*
* @author Ryan Ackley
*/
+@Internal
@SuppressWarnings( "deprecation" )
public final class CHPX extends BytePropertyNode<CHPX>
{
package org.apache.poi.hwpf.model;
import org.apache.poi.hwpf.HWPFDocument;
+import org.apache.poi.util.Internal;
/**
* Helper class for {@link HWPFDocument}, which figures out
* overall CP splurge.
*/
@Deprecated
+@Internal
public final class CPSplitCalculator {
private FileInformationBlock fib;
public CPSplitCalculator(FileInformationBlock fib) {
import java.lang.ref.SoftReference;
import org.apache.poi.hwpf.sprm.SprmBuffer;
+import org.apache.poi.util.Internal;
+@Internal
public final class CachedPropertyNode
extends PropertyNode<CachedPropertyNode>
{
\r
package org.apache.poi.hwpf.model;\r
\r
+import org.apache.poi.util.Internal;\r
+\r
+@Internal\r
public interface CharIndexTranslator {\r
/**\r
* Calculates the byte index of the given char index.\r
import org.apache.poi.hwpf.model.io.HWPFFileSystem;
import org.apache.poi.hwpf.model.io.HWPFOutputStream;
import org.apache.poi.hwpf.sprm.SprmBuffer;
+import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
+@Internal
public final class ComplexFileTable
{
package org.apache.poi.hwpf.model;
import org.apache.poi.hwpf.model.types.DOPAbstractType;
+import org.apache.poi.util.Internal;
/**
* Comment me
*
* @author Ryan Ackley
*/
+@Internal
public final class DocumentProperties extends DOPAbstractType {
import org.apache.poi.ddf.EscherContainerRecord;
import org.apache.poi.ddf.EscherRecord;
import org.apache.poi.ddf.EscherRecordFactory;
+import org.apache.poi.util.Internal;
/**
* Based on AbstractEscherRecordHolder from HSSF.
*
* @author Squeeself
*/
+@Internal
public final class EscherRecordHolder {
private final ArrayList<EscherRecord> escherRecords;
import java.util.Map;
import org.apache.poi.hwpf.model.io.HWPFOutputStream;
+import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
import org.apache.poi.util.POILogFactory;
import org.apache.poi.util.POILogger;
+@Internal
public final class FIBFieldHandler
{
// 154 == 0x009A; 158 == 0x009E
package org.apache.poi.hwpf.model;
+import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
/**
* Handles the fibRgLw / The FibRgLw97 part of
* the FIB (File Information Block)
*/
+@Internal
public final class FIBLongHandler {
public static final int CBMAC = 0;
public static final int PRODUCTCREATED = 1;
package org.apache.poi.hwpf.model;
+import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
/**
* Handles the fibRgW / FibRgW97 part of
* the FIB (File Information Block)
*/
+@Internal
public final class FIBShortHandler {
public final static int MAGICCREATED = 0;
public final static int MAGICREVISED = 1;
package org.apache.poi.hwpf.model;
+import org.apache.poi.util.Internal;
+
+@Internal
public enum FSPADocumentPart {
HEADER( FIBFieldHandler.PLCSPAHDR ),
package org.apache.poi.hwpf.model;
+import java.util.Arrays;
+
import org.apache.poi.util.BitField;
import org.apache.poi.util.BitFieldFactory;
+import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
-import java.util.Arrays;
/**
* FFN - Font Family Name. FFN is a data structure that stores the names of the Main
*
* @author Praveen Mathew
*/
+@Internal
public final class Ffn
{
private int _cbFfnM1;//total length of FFN - 1.
package org.apache.poi.hwpf.model;
import org.apache.poi.hwpf.model.types.FLDAbstractType;
+import org.apache.poi.util.Internal;
/**
* Class for the FLD structure.
*
* @author Cedric Bosdonnat <cbosdonnat@novell.com>
*/
+@Internal
public final class FieldDescriptor extends FLDAbstractType
{
public static final int FIELD_BEGIN_MARK = 0x13;
package org.apache.poi.hwpf.model;
+import org.apache.poi.util.Internal;
+
+@Internal
public enum FieldsDocumentPart {
/**
import java.util.Map;
import org.apache.poi.hwpf.model.io.HWPFOutputStream;
+import org.apache.poi.util.Internal;
/**
* This class provides access to all the fields Plex.
* @author Cedric Bosdonnat <cbosdonnat@novell.com>
*
*/
+@Internal
public class FieldsTables
{
// The size in bytes of the FLD data structure
import org.apache.poi.hwpf.model.io.HWPFOutputStream;
import org.apache.poi.hwpf.model.types.FIBAbstractType;
+import org.apache.poi.util.Internal;
/**
* The File Information Block (FIB). Holds pointers
*
* @author andy
*/
+@Internal
public final class FileInformationBlock extends FIBAbstractType
implements Cloneable
{
package org.apache.poi.hwpf.model;
import java.io.IOException;
+
import org.apache.poi.hwpf.model.io.HWPFFileSystem;
import org.apache.poi.hwpf.model.io.HWPFOutputStream;
+import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
import org.apache.poi.util.POILogFactory;
import org.apache.poi.util.POILogger;
*
* @author Praveen Mathew
*/
+@Internal
public final class FontTable
{
private final static POILogger _logger = POILogFactory.getLogger(FontTable.class);
package org.apache.poi.hwpf.model;
import org.apache.poi.hwpf.model.types.FRDAbstractType;
+import org.apache.poi.util.Internal;
+@Internal
public final class FootnoteReferenceDescriptor extends FRDAbstractType
implements Cloneable
{
package org.apache.poi.hwpf.model;
+import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
/**
*
* @author Ryan Ackley
*/
+@Internal
public abstract class FormattedDiskPage
{
protected byte[] _fkp;
package org.apache.poi.hwpf.model;
+import org.apache.poi.util.Internal;
+
+@Internal
public final class GenericPropertyNode
extends PropertyNode<GenericPropertyNode>
{
package org.apache.poi.hwpf.model;
+import org.apache.poi.util.Internal;
+
/**
*
* @author andy
*/
+@Internal
+@Deprecated
public interface HDFType {
}
import org.apache.poi.hwpf.model.types.HRESIAbstractType;
import org.apache.poi.hwpf.usermodel.CharacterProperties;
+import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
/**
*
* @author Sergey Vladimirov ( vlsergey {at} gmail {dot} com )
*/
+@Internal
public final class Hyphenation extends HRESIAbstractType implements Cloneable
{
public Hyphenation()
package org.apache.poi.hwpf.model;
+import java.util.Arrays;
+
import org.apache.poi.util.BitField;
import org.apache.poi.util.BitFieldFactory;
+import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
-import java.util.Arrays;
-
+@Internal
public final class ListData
{
private int _lsid;
package org.apache.poi.hwpf.model;
import org.apache.poi.hwpf.model.types.LFOAbstractType;
+import org.apache.poi.util.Internal;
+@Internal
public final class ListFormatOverride extends LFOAbstractType
{
private ListFormatOverrideLevel[] _levelOverrides;
package org.apache.poi.hwpf.model;
-import org.apache.poi.util.LittleEndian;
+import java.util.Arrays;
+
import org.apache.poi.util.BitField;
import org.apache.poi.util.BitFieldFactory;
+import org.apache.poi.util.Internal;
+import org.apache.poi.util.LittleEndian;
-import java.util.Arrays;
-
+@Internal
public final class ListFormatOverrideLevel
{
private static final int BASE_SIZE = 8;
import java.util.Arrays;
import org.apache.poi.util.BitField;
+import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
/**
*
* See page 170 for details.
*/
+@Internal
public final class ListLevel
{
private static final int RGBXCH_NUMS_SIZE = 9;
import java.util.Set;
import org.apache.poi.hwpf.model.io.HWPFOutputStream;
+import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
import org.apache.poi.util.POILogFactory;
import org.apache.poi.util.POILogger;
/**
* @author Ryan Ackley
*/
+@Internal
public final class ListTables
{
private static final int LIST_DATA_SIZE = 28;
*/
package org.apache.poi.hwpf.model;
+import org.apache.poi.util.Internal;
+
+@Internal
public enum NoteType {
/** Ending note */
ENDNOTE( FIBFieldHandler.PLCFENDREF, FIBFieldHandler.PLCFENDTXT ),
import java.io.IOException;
import org.apache.poi.hwpf.model.io.HWPFOutputStream;
+import org.apache.poi.util.Internal;
/**
* Holds information about document notes (footnotes or ending notes)
*
* @author Sergey Vladimirov (vlsergey {at} gmail {doc} com)
*/
+@Internal
public class NotesTables
{
private PlexOfCps descriptors = new PlexOfCps(
import java.util.Collections;
import org.apache.poi.poifs.common.POIFSConstants;
+import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
/**
* In common with the rest of the old support, it
* is read only
*/
+@Internal
public final class OldCHPBinTable extends CHPBinTable
{
/**
import java.util.Collections;
import org.apache.poi.poifs.common.POIFSConstants;
+import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
/**
* In common with the rest of the old support, it
* is read only
*/
+@Internal
public final class OldPAPBinTable extends PAPBinTable
{
import java.util.Collections;
+import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
/**
* In common with the rest of the old support, it
* is read only
*/
+@Internal
public final class OldSectionTable extends SectionTable
{
/**
package org.apache.poi.hwpf.model;
-import java.io.OutputStream;
import java.io.IOException;
+import java.io.OutputStream;
import org.apache.poi.util.BitField;
import org.apache.poi.util.BitFieldFactory;
+import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
+@Internal
public final class ParagraphHeight
{
private short infoField;
import java.util.Arrays;
+import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
/**
*
* @author Sergey Vladimirov ( vlsergey {at} gmail {dot} com )
*/
+@Internal
public class PictureDescriptor
{
private static final int LCB_OFFSET = 0x00;
import org.apache.poi.hwpf.usermodel.CharacterRun;
import org.apache.poi.hwpf.usermodel.Picture;
import org.apache.poi.hwpf.usermodel.Range;
+import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
/**
*
* @author Dmitry Romanov
*/
+@Internal
public final class PicturesTable
{
static final int TYPE_IMAGE = 0x08;
import org.apache.poi.util.BitField;
import org.apache.poi.util.BitFieldFactory;
+import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
+@Internal
public final class PieceDescriptor
{
import java.text.MessageFormat;
+import org.apache.poi.util.Internal;
+
/**
* Structure describing the Plex for fields (contained plclfd* in the spec).
*
* @author Cedric Bosdonnat <cbosdonnat@novell.com>
- *
*/
+@Internal
public class PlexOfField
{
package org.apache.poi.hwpf.model;
import org.apache.poi.util.BitField;
+import org.apache.poi.util.Internal;
+@Internal
public final class PropertyModifier implements Cloneable
{
/**
import java.util.Arrays;
import java.util.Comparator;
+import org.apache.poi.util.Internal;
import org.apache.poi.util.POILogFactory;
import org.apache.poi.util.POILogger;
*
* @author Ryan Ackley
*/
+@Internal
public abstract class PropertyNode<T extends PropertyNode<T>> implements Comparable<T>, Cloneable
{
import java.util.Collections;
import java.util.List;
+import org.apache.poi.hwpf.model.io.HWPFOutputStream;
+import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
import org.apache.poi.util.StringUtil;
-import org.apache.poi.hwpf.model.io.HWPFOutputStream;
-
/**
* String table containing the names of authors of revision marks, e-mails and
* comments in this document.
*
* @author Ryan Lauck
*/
+@Internal
public final class RevisionMarkAuthorTable {
/**
* must be 0xFFFF
import org.apache.poi.hwpf.sprm.SectionSprmUncompressor;
import org.apache.poi.hwpf.sprm.SprmBuffer;
import org.apache.poi.hwpf.usermodel.SectionProperties;
+import org.apache.poi.util.Internal;
+@Internal
public final class SEPX extends PropertyNode<SEPX>
{
package org.apache.poi.hwpf.model;
+import org.apache.poi.util.Internal;
+
/**
* A single entry in the {@link SavedByTable}.
*
* @author Daniel Noll
*/
+@Internal
public final class SavedByEntry
{
private String userName;
import java.util.List;
import org.apache.poi.hwpf.model.io.HWPFOutputStream;
+import org.apache.poi.util.Internal;
/**
* String table containing the history of the last few revisions ("saves") of the document.
*
* @author Daniel Noll
*/
+@Internal
public final class SavedByTable
{
package org.apache.poi.hwpf.model;
+import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
/**
*
* @see page 186 for details
*/
+@Internal
public final class SectionDescriptor
{
import org.apache.poi.hwpf.model.io.HWPFFileSystem;
import org.apache.poi.hwpf.model.io.HWPFOutputStream;
+import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
import org.apache.poi.util.POILogFactory;
import org.apache.poi.util.POILogger;
/**
* @author Ryan Ackley
*/
+@Internal
public class SectionTable
{
private final static POILogger _logger = POILogFactory.getLogger(SectionTable.class);
import java.util.List;
import org.apache.poi.hwpf.usermodel.Shape;
+import org.apache.poi.util.Internal;
+@Internal
@Deprecated
public final class ShapesTable {
private List<Shape> _shapes;
import java.io.IOException;
import org.apache.poi.hwpf.model.io.HWPFOutputStream;
+import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
import org.apache.poi.util.StringUtil;
*
* @author Sergey Vladimirov (vlsergey {at} gmail {dot} com)
*/
+@Internal
class SttbfUtils
{
public static String[] read( byte[] data, int startOffset )
import org.apache.poi.hwpf.usermodel.CharacterProperties;
import org.apache.poi.hwpf.usermodel.ParagraphProperties;
-import org.apache.poi.util.LittleEndian;
import org.apache.poi.util.BitField;
import org.apache.poi.util.BitFieldFactory;
+import org.apache.poi.util.Internal;
+import org.apache.poi.util.LittleEndian;
/**
* Comment me
*
* @author Ryan Ackley
*/
-
+@Internal
public final class StyleDescription implements HDFType
{
import java.io.IOException;
-import org.apache.poi.util.LittleEndian;
import org.apache.poi.hwpf.model.io.HWPFOutputStream;
+import org.apache.poi.hwpf.sprm.CharacterSprmUncompressor;
+import org.apache.poi.hwpf.sprm.ParagraphSprmUncompressor;
import org.apache.poi.hwpf.usermodel.CharacterProperties;
import org.apache.poi.hwpf.usermodel.ParagraphProperties;
-import org.apache.poi.hwpf.sprm.ParagraphSprmUncompressor;
-import org.apache.poi.hwpf.sprm.CharacterSprmUncompressor;
+import org.apache.poi.util.Internal;
+import org.apache.poi.util.LittleEndian;
/**
* Represents a document's stylesheet. A word documents formatting is stored as
*
* @author Ryan Ackley
*/
+@Internal
public final class StyleSheet implements HDFType {
public static final int NIL_STYLE = 4095;
package org.apache.poi.hwpf.model;
+import org.apache.poi.util.Internal;
+
/**
* Document text parts that can have text pieces (CPs)
*
* @author Sergey Vladimirov (vlsergey {at} gmail {dot} com)
*/
+@Internal
public enum SubdocumentType {
MAIN( FIBLongHandler.CCPTEXT ),
import org.apache.poi.hwpf.model.io.HWPFOutputStream;
import org.apache.poi.poifs.common.POIFSConstants;
+import org.apache.poi.util.Internal;
import org.apache.poi.util.POILogFactory;
import org.apache.poi.util.POILogger;
*
* @author Ryan Ackley
*/
+@Internal
public class TextPieceTable implements CharIndexTranslator
{
private static final POILogger logger = POILogFactory
import java.util.Arrays;
+import org.apache.poi.util.Internal;
+
+@Internal
public final class UPX
{
private byte[] _upx;
package org.apache.poi.hwpf.model;
+import org.apache.poi.util.Internal;
+
+@Internal
public final class UnhandledDataStructure
{
byte[] _buf;
import java.util.HashMap;
import java.util.Map;
+import org.apache.poi.util.Internal;
+
+@Internal
public final class HWPFFileSystem
{
Map<String, HWPFOutputStream> _streams = new HashMap<String, HWPFOutputStream>();
import java.io.ByteArrayOutputStream;
+import org.apache.poi.util.Internal;
+
+@Internal
public final class HWPFOutputStream extends ByteArrayOutputStream
{
package org.apache.poi.hwpf.model.types;\r
\r
import org.apache.poi.util.BitField;\r
+import org.apache.poi.util.Internal;\r
import org.apache.poi.util.LittleEndian;\r
\r
/**\r
* @author Sergey Vladimirov; according to Microsoft Office Word 97-2007 Binary\r
* File Format (.doc) Specification\r
*/\r
+@Internal\r
public abstract class BKFAbstractType\r
{\r
\r
import org.apache.poi.hdf.model.hdftypes.HDFType;
import org.apache.poi.util.BitField;
import org.apache.poi.util.BitFieldFactory;
+import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
/**
*
* @author S. Ryan Ackley
*/
+@Internal
public abstract class DOPAbstractType implements HDFType {
protected byte field_1_formatFlags;
import org.apache.poi.hdf.model.hdftypes.HDFType;
import org.apache.poi.util.BitField;
import org.apache.poi.util.BitFieldFactory;
+import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
/**
*
* @author Andrew C. Oliver
*/
+@Internal
public abstract class FIBAbstractType implements HDFType {
protected int field_1_wIdent;
import org.apache.poi.hdf.model.hdftypes.HDFType;
import org.apache.poi.util.BitField;
+import org.apache.poi.util.Internal;
/**
* Field Descriptor (FLD).
* @author Sergey Vladimirov; according to Microsoft Office Word 97-2007 Binary
* File Format Specification [*.doc]
*/
+@Internal
public abstract class FLDAbstractType implements HDFType
{
==================================================================== */\r
package org.apache.poi.hwpf.model.types;\r
\r
+import org.apache.poi.util.Internal;\r
import org.apache.poi.util.LittleEndian;\r
\r
/**\r
* @author Sergey Vladimirov; according to Microsoft Office Word 97-2007 Binary\r
* File Format (.doc) Specification\r
*/\r
+@Internal\r
public abstract class FRDAbstractType\r
{\r
\r
\r
package org.apache.poi.hwpf.model.types;\r
\r
+import org.apache.poi.util.Internal;\r
+\r
/**\r
* Hyphenation (HRESI).\r
* <p>\r
* @author Sergey Vladimirov; according to Microsoft Office Word 97-2007 Binary\r
* File Format (.doc) Specification\r
*/\r
+@Internal\r
public abstract class HRESIAbstractType\r
{\r
\r
package org.apache.poi.hwpf.model.types;\r
\r
import org.apache.poi.util.BitField;\r
+import org.apache.poi.util.Internal;\r
import org.apache.poi.util.LittleEndian;\r
\r
/**\r
* @author Sergey Vladimirov; according to Microsoft Office Word 97-2007 Binary\r
* File Format Specification [*.doc]\r
*/\r
+@Internal\r
public abstract class LFOAbstractType\r
{\r
\r
import org.apache.poi.hwpf.usermodel.LineSpacingDescriptor;
import org.apache.poi.hwpf.usermodel.ShadingDescriptor;
import org.apache.poi.util.BitField;
+import org.apache.poi.util.Internal;
/**
* Paragraph Properties.
* @author S. Ryan Ackley
*/
+@Internal
public abstract class PAPAbstractType
{
import org.apache.poi.hwpf.usermodel.BorderCode;
import org.apache.poi.hwpf.usermodel.DateAndTime;
+import org.apache.poi.util.Internal;
/**
* Section Properties.
*
* @author S. Ryan Ackley
*/
+@Internal
public abstract class SEPAbstractType
{
import org.apache.poi.hwpf.usermodel.TableAutoformatLookSpecifier;
import org.apache.poi.hwpf.usermodel.TableCellDescriptor;
import org.apache.poi.util.BitField;
+import org.apache.poi.util.Internal;
/**
* "Table Properties (TAP). This structure is never written out to disk but can
* @author S. Ryan Ackley
* @author Sergey Vladimirov (vlsergey {at} gmail {dot} com)
*/
+@Internal
public abstract class TAPAbstractType implements HDFType
{
import org.apache.poi.hdf.model.hdftypes.HDFType;
import org.apache.poi.hwpf.usermodel.BorderCode;
import org.apache.poi.util.BitField;
+import org.apache.poi.util.Internal;
/**
* Table Cell Descriptor.
* @author S. Ryan Ackley
*/
+@Internal
public abstract class TCAbstractType
implements HDFType
{
\r
import org.apache.poi.hdf.model.hdftypes.HDFType;\r
import org.apache.poi.util.BitField;\r
+import org.apache.poi.util.Internal;\r
import org.apache.poi.util.LittleEndian;\r
\r
/**\r
* @author Sergey Vladimirov; according to Microsoft Office Word 97-2007 Binary\r
* File Format Specification [*.doc]\r
*/\r
+@Internal\r
public abstract class TLPAbstractType implements HDFType\r
{\r
\r