From 7c404baa5b524bc59caa231d67a180248c32a124 Mon Sep 17 00:00:00 2001 From: Sergey Vladimirov Date: Tue, 9 Aug 2011 05:43:57 +0000 Subject: [PATCH] mark org.apache.poi.hwpf.sprm package classes as @Internal git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155215 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/org/apache/poi/hwpf/sprm/CharacterSprmCompressor.java | 2 ++ .../org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java | 2 ++ .../src/org/apache/poi/hwpf/sprm/ParagraphSprmCompressor.java | 2 ++ .../org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java | 2 ++ .../src/org/apache/poi/hwpf/sprm/SectionSprmCompressor.java | 3 ++- .../src/org/apache/poi/hwpf/sprm/SectionSprmUncompressor.java | 2 ++ src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmBuffer.java | 2 ++ src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmIterator.java | 4 +++- .../src/org/apache/poi/hwpf/sprm/SprmOperation.java | 2 ++ .../src/org/apache/poi/hwpf/sprm/SprmUncompressor.java | 3 +++ src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmUtils.java | 2 ++ .../src/org/apache/poi/hwpf/sprm/TableSprmCompressor.java | 2 ++ .../src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java | 2 ++ 13 files changed, 28 insertions(+), 2 deletions(-) diff --git a/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmCompressor.java b/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmCompressor.java index 4a6445f59e..5e744bbe68 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmCompressor.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmCompressor.java @@ -21,8 +21,10 @@ import java.util.ArrayList; import java.util.List; import org.apache.poi.hwpf.usermodel.CharacterProperties; +import org.apache.poi.util.Internal; import org.apache.poi.util.LittleEndian; +@Internal public final class CharacterSprmCompressor { public CharacterSprmCompressor() diff --git a/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java b/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java index 7b231ef439..5068238987 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java @@ -23,10 +23,12 @@ import org.apache.poi.hwpf.usermodel.BorderCode; import org.apache.poi.hwpf.usermodel.CharacterProperties; import org.apache.poi.hwpf.usermodel.DateAndTime; import org.apache.poi.hwpf.usermodel.ShadingDescriptor; +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 CharacterSprmUncompressor extends SprmUncompressor { private static final POILogger logger = POILogFactory diff --git a/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmCompressor.java b/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmCompressor.java index c1c8d20bb5..08a4b083ac 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmCompressor.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmCompressor.java @@ -22,8 +22,10 @@ import java.util.Arrays; import java.util.List; import org.apache.poi.hwpf.usermodel.ParagraphProperties; +import org.apache.poi.util.Internal; import org.apache.poi.util.LittleEndian; +@Internal public final class ParagraphSprmCompressor { public ParagraphSprmCompressor() diff --git a/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java b/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java index 438d452c93..dad351e080 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java @@ -29,10 +29,12 @@ import org.apache.poi.hwpf.usermodel.DropCapSpecifier; import org.apache.poi.hwpf.usermodel.LineSpacingDescriptor; import org.apache.poi.hwpf.usermodel.ParagraphProperties; import org.apache.poi.hwpf.usermodel.ShadingDescriptor; +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 ParagraphSprmUncompressor extends SprmUncompressor { diff --git a/src/scratchpad/src/org/apache/poi/hwpf/sprm/SectionSprmCompressor.java b/src/scratchpad/src/org/apache/poi/hwpf/sprm/SectionSprmCompressor.java index 043fe5d519..273124fe61 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/sprm/SectionSprmCompressor.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/sprm/SectionSprmCompressor.java @@ -22,9 +22,10 @@ import java.util.Arrays; import java.util.List; import org.apache.poi.hwpf.usermodel.SectionProperties; +import org.apache.poi.util.Internal; import org.apache.poi.util.LittleEndian; - +@Internal public final class SectionSprmCompressor { private final static SectionProperties DEFAULT_SEP = new SectionProperties(); diff --git a/src/scratchpad/src/org/apache/poi/hwpf/sprm/SectionSprmUncompressor.java b/src/scratchpad/src/org/apache/poi/hwpf/sprm/SectionSprmUncompressor.java index 58df1481f5..464608ada3 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/sprm/SectionSprmUncompressor.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/sprm/SectionSprmUncompressor.java @@ -19,7 +19,9 @@ package org.apache.poi.hwpf.sprm; import org.apache.poi.hwpf.usermodel.BorderCode; import org.apache.poi.hwpf.usermodel.SectionProperties; +import org.apache.poi.util.Internal; +@Internal public final class SectionSprmUncompressor extends SprmUncompressor { public SectionSprmUncompressor() diff --git a/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmBuffer.java b/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmBuffer.java index 735856a463..a41b525a2c 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmBuffer.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmBuffer.java @@ -19,8 +19,10 @@ package org.apache.poi.hwpf.sprm; import java.util.Arrays; +import org.apache.poi.util.Internal; import org.apache.poi.util.LittleEndian; +@Internal public final class SprmBuffer implements Cloneable { byte[] _buf; diff --git a/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmIterator.java b/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmIterator.java index 9bfff7fb6a..dd4ba7962f 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmIterator.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmIterator.java @@ -17,13 +17,15 @@ package org.apache.poi.hwpf.sprm; +import org.apache.poi.util.Internal; + /** * This class is used to iterate through a list of sprms from a Word 97/2000/XP * document. * @author Ryan Ackley * @version 1.0 */ - +@Internal public final class SprmIterator { private byte[] _grpprl; diff --git a/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmOperation.java b/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmOperation.java index 2c2c227250..01262a88f6 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmOperation.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmOperation.java @@ -19,6 +19,7 @@ package org.apache.poi.hwpf.sprm; import org.apache.poi.util.BitField; import org.apache.poi.util.BitFieldFactory; +import org.apache.poi.util.Internal; import org.apache.poi.util.LittleEndian; /** @@ -28,6 +29,7 @@ import org.apache.poi.util.LittleEndian; * @author Ryan Ackley * @version 1.0 */ +@Internal public final class SprmOperation { private static final BitField BITFIELD_OP = BitFieldFactory diff --git a/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmUncompressor.java b/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmUncompressor.java index a2ff38855e..ef2e117ead 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmUncompressor.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmUncompressor.java @@ -17,8 +17,11 @@ package org.apache.poi.hwpf.sprm; +import org.apache.poi.util.Internal; + +@Internal public abstract class SprmUncompressor { protected SprmUncompressor() diff --git a/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmUtils.java b/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmUtils.java index 8d9bd4f0e5..70d0c59553 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmUtils.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/sprm/SprmUtils.java @@ -19,9 +19,11 @@ package org.apache.poi.hwpf.sprm; import java.util.List; +import org.apache.poi.util.Internal; import org.apache.poi.util.LittleEndian; +@Internal public final class SprmUtils { public SprmUtils() diff --git a/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmCompressor.java b/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmCompressor.java index 995179b070..ec5fe937d4 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmCompressor.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmCompressor.java @@ -25,8 +25,10 @@ import org.apache.poi.hwpf.usermodel.BorderCode; import org.apache.poi.hwpf.usermodel.TableAutoformatLookSpecifier; import org.apache.poi.hwpf.usermodel.TableCellDescriptor; import org.apache.poi.hwpf.usermodel.TableProperties; +import org.apache.poi.util.Internal; import org.apache.poi.util.LittleEndian; +@Internal public final class TableSprmCompressor { public TableSprmCompressor() diff --git a/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java b/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java index 2f74c03b71..cba04c0597 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java @@ -20,10 +20,12 @@ package org.apache.poi.hwpf.sprm; import org.apache.poi.hwpf.usermodel.BorderCode; import org.apache.poi.hwpf.usermodel.TableCellDescriptor; import org.apache.poi.hwpf.usermodel.TableProperties; +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 TableSprmUncompressor extends SprmUncompressor { -- 2.39.5