You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ki...@apache.org on 2021/04/14 22:53:38 UTC
svn commit: r1888780 [6/13] - in /poi/trunk:
poi-examples/src/main/java/org/apache/poi/examples/hslf/
poi-examples/src/main/java/org/apache/poi/examples/hssf/eventusermodel/
poi-examples/src/main/java/org/apache/poi/examples/hssf/usermodel/
poi-example...
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FibRgW97AbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FibRgW97AbstractType.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FibRgW97AbstractType.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FibRgW97AbstractType.java Wed Apr 14 22:53:33 2021
@@ -21,20 +21,7 @@ import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
/**
- * The FibRgW97 structure is a variable-length portion of the Fib. <p>Class and
- fields descriptions are quoted from Microsoft Office Word 97-2007 Binary File Format and
- [MS-DOC] - v20110608 Word (.doc) Binary File Format
-
- * <p>
- * NOTE: This source is automatically generated please do not modify this file. Either subclass or
- * remove the record in src/types/definitions.
- * <p>
- * This class is internal. It content or properties may change without notice
- * due to changes in our knowledge of internal Microsoft Word binary structures.
-
- * @author Sergey Vladimirov; according to Microsoft Office Word 97-2007 Binary File Format
- Specification [*.doc] and [MS-DOC] - v20110608 Word (.doc) Binary File Format
-
+ * The FibRgW97 structure is a variable-length portion of the Fib.
*/
@Internal
public abstract class FibRgW97AbstractType
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/GrfhicAbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/GrfhicAbstractType.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/GrfhicAbstractType.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/GrfhicAbstractType.java Wed Apr 14 22:53:33 2021
@@ -25,21 +25,8 @@ import org.apache.poi.util.Internal;
/**
* The grfhic structure is a set of HTML incompatibility flags that specify the HTML
- incompatibilities of a list structure. The values specify possible incompatibilities between
- an LVL or LVLF and HTML lists. The values do not define list properties. <p>Class and
- fields descriptions are quoted from [MS-DOC] -- v20110315 Word (.doc) Binary File Format
- specification
-
- * <p>
- * NOTE: This source is automatically generated please do not modify this file. Either subclass or
- * remove the record in src/types/definitions.
- * <p>
- * This class is internal. It content or properties may change without notice
- * due to changes in our knowledge of internal Microsoft Word binary structures.
-
- * @author Sergey Vladimirov; according to [MS-DOC] -- v20110315 Word (.doc) Binary File Format
- specification
-
+ * incompatibilities of a list structure. The values specify possible incompatibilities between
+ * an LVL or LVLF and HTML lists. The values do not define list properties.
*/
@Internal
public abstract class GrfhicAbstractType
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/LFOAbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/LFOAbstractType.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/LFOAbstractType.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/LFOAbstractType.java Wed Apr 14 22:53:33 2021
@@ -23,19 +23,7 @@ import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
/**
- * List Format Override (LFO). <p>Class and fields descriptions are quoted from
- [MS-DOC] --v20110315; Word (.doc) Binary File Format
-
- * <p>
- * NOTE: This source is automatically generated please do not modify this file. Either subclass or
- * remove the record in src/types/definitions.
- * <p>
- * This class is internal. It content or properties may change without notice
- * due to changes in our knowledge of internal Microsoft Word binary structures.
-
- * @author Sergey Vladimirov; according to [MS-DOC] --v20110315; Word (.doc) Binary File Format;
- Copyright (c) Microsoft Corporation
-
+ * List Format Override (LFO).
*/
@Internal
public abstract class LFOAbstractType
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/LFOLVLBaseAbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/LFOLVLBaseAbstractType.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/LFOLVLBaseAbstractType.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/LFOLVLBaseAbstractType.java Wed Apr 14 22:53:33 2021
@@ -23,21 +23,7 @@ import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
/**
- * The LFOLVL structure contains information that is used to override the formatting
- information of a corresponding LVL. <p>Class and fields descriptions are quoted from
- Microsoft Office Word 97-2007 Binary File Format and [MS-DOC] - v20110608 Word (.doc) Binary
- File Format
-
- * <p>
- * NOTE: This source is automatically generated please do not modify this file. Either subclass or
- * remove the record in src/types/definitions.
- * <p>
- * This class is internal. It content or properties may change without notice
- * due to changes in our knowledge of internal Microsoft Word binary structures.
-
- * @author Sergey Vladimirov; according to Microsoft Office Word 97-2007 Binary File Format
- Specification [*.doc] and [MS-DOC] - v20110608 Word (.doc) Binary File Format
-
+ * The LFOLVL structure contains information that is used to override the formatting information of a corresponding LVL.
*/
@Internal
public abstract class LFOLVLBaseAbstractType
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/LSTFAbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/LSTFAbstractType.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/LSTFAbstractType.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/LSTFAbstractType.java Wed Apr 14 22:53:33 2021
@@ -25,19 +25,6 @@ import org.apache.poi.util.LittleEndian;
/**
* The LSTF structure contains formatting properties that apply to an entire list.
- <p>Class and fields descriptions are quoted from Microsoft Office Word 97-2007 Binary
- File Format and [MS-DOC] - v20110608 Word (.doc) Binary File Format
-
- * <p>
- * NOTE: This source is automatically generated please do not modify this file. Either subclass or
- * remove the record in src/types/definitions.
- * <p>
- * This class is internal. It content or properties may change without notice
- * due to changes in our knowledge of internal Microsoft Word binary structures.
-
- * @author Sergey Vladimirov; according to Microsoft Office Word 97-2007 Binary File Format
- Specification [*.doc] and [MS-DOC] - v20110608 Word (.doc) Binary File Format
-
*/
@Internal
public abstract class LSTFAbstractType
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/LVLFAbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/LVLFAbstractType.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/LVLFAbstractType.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/LVLFAbstractType.java Wed Apr 14 22:53:33 2021
@@ -25,20 +25,7 @@ import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
/**
- * The LVLF structure contains formatting properties for an individual level in a
- list. <p>Class and fields descriptions are quoted from Microsoft Office Word 97-2007
- Binary File Format and [MS-DOC] - v20110608 Word (.doc) Binary File Format
-
- * <p>
- * NOTE: This source is automatically generated please do not modify this file. Either subclass or
- * remove the record in src/types/definitions.
- * <p>
- * This class is internal. It content or properties may change without notice
- * due to changes in our knowledge of internal Microsoft Word binary structures.
-
- * @author Sergey Vladimirov; according to Microsoft Office Word 97-2007 Binary File Format
- Specification [*.doc] and [MS-DOC] - v20110608 Word (.doc) Binary File Format
-
+ * The LVLF structure contains formatting properties for an individual level in a list.
*/
@Internal
public abstract class LVLFAbstractType
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/PICFAbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/PICFAbstractType.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/PICFAbstractType.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/PICFAbstractType.java Wed Apr 14 22:53:33 2021
@@ -26,21 +26,7 @@ import org.apache.poi.util.LittleEndian;
/**
* The PICF structure specifies the type of a picture, as well as the size of the
- picture and information about its border. <p>Class and fields descriptions are quoted
- from Microsoft Office Word 97-2007
- Binary File Format and [MS-DOC] - v20110608 Word (.doc)
- Binary File Format
-
- * <p>
- * NOTE: This source is automatically generated please do not modify this file. Either subclass or
- * remove the record in src/types/definitions.
- * <p>
- * This class is internal. It content or properties may change without notice
- * due to changes in our knowledge of internal Microsoft Word binary structures.
-
- * @author Sergey Vladimirov; according to Microsoft Office Word 97-2007 Binary File Format
- Specification [*.doc] and [MS-DOC] - v20110608 Word (.doc) Binary File Format
-
+ * picture and information about its border.
*/
@Internal
public abstract class PICFAbstractType
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/StdfBaseAbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/StdfBaseAbstractType.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/StdfBaseAbstractType.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/StdfBaseAbstractType.java Wed Apr 14 22:53:33 2021
@@ -22,20 +22,7 @@ import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
/**
- * The StdfBase structure specifies general information about a style. <p>Class
- and fields descriptions are quoted from Microsoft Office Word 97-2007 Binary File Format and
- [MS-DOC] - v20110608 Word (.doc) Binary File Format
-
- * <p>
- * NOTE: This source is automatically generated please do not modify this file. Either subclass or
- * remove the record in src/types/definitions.
- * <p>
- * This class is internal. It content or properties may change without notice
- * due to changes in our knowledge of internal Microsoft Word binary structures.
-
- * @author Sergey Vladimirov; according to Microsoft Office Word 97-2007 Binary File Format
- Specification [*.doc] and [MS-DOC] - v20110608 Word (.doc) Binary File Format
-
+ * The StdfBase structure specifies general information about a style.
*/
@Internal
public abstract class StdfBaseAbstractType
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/StdfPost2000AbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/StdfPost2000AbstractType.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/StdfPost2000AbstractType.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/StdfPost2000AbstractType.java Wed Apr 14 22:53:33 2021
@@ -22,19 +22,6 @@ import org.apache.poi.util.LittleEndian;
/**
* The StdfPost2000 structure specifies general information about a style.
- <p>Class and fields descriptions are quoted from Microsoft Office Word 97-2007 Binary
- File Format and [MS-DOC] - v20110608 Word (.doc) Binary File Format
-
- * <p>
- * NOTE: This source is automatically generated please do not modify this file. Either subclass or
- * remove the record in src/types/definitions.
- * <p>
- * This class is internal. It content or properties may change without notice
- * due to changes in our knowledge of internal Microsoft Word binary structures.
-
- * @author Sergey Vladimirov; according to Microsoft Office Word 97-2007 Binary File Format
- Specification [*.doc] and [MS-DOC] - v20110608 Word (.doc) Binary File Format
-
*/
@Internal
public abstract class StdfPost2000AbstractType
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/StshifAbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/StshifAbstractType.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/StshifAbstractType.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/StshifAbstractType.java Wed Apr 14 22:53:33 2021
@@ -22,20 +22,7 @@ import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
/**
- * The Stshif structure specifies general stylesheet information. <p>Class and
- fields descriptions are quoted from Microsoft Office Word 97-2007 Binary File Format and
- [MS-DOC] - v20110608 Word (.doc) Binary File Format
-
- * <p>
- * NOTE: This source is automatically generated please do not modify this file. Either subclass or
- * remove the record in src/types/definitions.
- * <p>
- * This class is internal. It content or properties may change without notice
- * due to changes in our knowledge of internal Microsoft Word binary structures.
-
- * @author Sergey Vladimirov; according to Microsoft Office Word 97-2007 Binary File Format
- Specification [*.doc] and [MS-DOC] - v20110608 Word (.doc) Binary File Format
-
+ * The Stshif structure specifies general stylesheet information.
*/
@Internal
public abstract class StshifAbstractType
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/sprm/SprmIterator.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/sprm/SprmIterator.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/sprm/SprmIterator.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/sprm/SprmIterator.java Wed Apr 14 22:53:33 2021
@@ -22,7 +22,6 @@ 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
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Bookmark.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Bookmark.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Bookmark.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Bookmark.java Wed Apr 14 22:53:33 2021
@@ -18,8 +18,6 @@ package org.apache.poi.hwpf.usermodel;
/**
* User friendly interface to access information about document bookmarks
- *
- * @author Sergey Vladimirov (vlsergey {at} gmail {doc} com)
*/
public interface Bookmark
{
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Bookmarks.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Bookmarks.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Bookmarks.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Bookmarks.java Wed Apr 14 22:53:33 2021
@@ -21,8 +21,6 @@ import java.util.Map;
/**
* User-friendly interface to access document bookmarks
- *
- * @author Sergey Vladimirov (vlsergey {at} gmail {dot} com)
*/
public interface Bookmarks
{
@@ -50,7 +48,7 @@ public interface Bookmarks
/**
* Remove bookmark from document (but not the bookmark text)
- *
+ *
* @param index
* bookmark document index to be removed
*/
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/BookmarksImpl.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/BookmarksImpl.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/BookmarksImpl.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/BookmarksImpl.java Wed Apr 14 22:53:33 2021
@@ -32,8 +32,6 @@ import org.apache.poi.hwpf.model.Propert
/**
* Implementation of user-friendly interface for document bookmarks
- *
- * @author Sergey Vladimirov (vlsergey {at} gmail {doc} com)
*/
public class BookmarksImpl implements Bookmarks
{
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/FieldImpl.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/FieldImpl.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/FieldImpl.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/FieldImpl.java Wed Apr 14 22:53:33 2021
@@ -20,11 +20,6 @@ import org.apache.poi.hwpf.model.FieldDe
import org.apache.poi.hwpf.model.PlexOfField;
import org.apache.poi.util.Internal;
-/**
- * TODO: document me
- *
- * @author Sergey Vladimirov (vlsergey {at} gmail {dot} com)
- */
@Internal
class FieldImpl implements Field
{
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Fields.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Fields.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Fields.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Fields.java Wed Apr 14 22:53:33 2021
@@ -22,8 +22,6 @@ import org.apache.poi.hwpf.model.FieldsD
/**
* User-friendly interface to access document {@link Field}s
- *
- * @author Sergey Vladimirov (vlsergey {at} gmail {dot} com)
*/
public interface Fields
{
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/FieldsImpl.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/FieldsImpl.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/FieldsImpl.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/FieldsImpl.java Wed Apr 14 22:53:33 2021
@@ -33,8 +33,6 @@ import org.apache.poi.util.Internal;
/**
* Default implementation of {@link Field}
- *
- * @author Sergey Vladimirov (vlsergey {at} gmail {dot} com)
*/
@Internal
public class FieldsImpl implements Fields
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/HWPFList.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/HWPFList.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/HWPFList.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/HWPFList.java Wed Apr 14 22:53:33 2021
@@ -35,16 +35,14 @@ import org.apache.poi.hwpf.sprm.Paragrap
* conjunction with
* {@link org.apache.poi.hwpf.HWPFDocument#registerList(HWPFList) registerList}
* in {@link org.apache.poi.hwpf.HWPFDocument HWPFDocument}.
- *
+ *
* In Word, lists are not ranged entities, meaning you can't actually add one to
* the document. Lists only act as properties for list entries. Once you
* register a list, you can add list entries to a document that are a part of
* the list.
- *
+ *
* The only benefit of this that I see, is that you can add a list entry
* anywhere in the document and continue numbering from the previous list.
- *
- * @author Ryan Ackley
*/
public final class HWPFList
{
@@ -56,7 +54,7 @@ public final class HWPFList
private StyleSheet _styleSheet;
/**
- *
+ *
* @param numbered
* true if the list should be numbered; false if it should be
* bulleted.
@@ -197,7 +195,7 @@ public final class HWPFList
/**
* Sets the character properties of the list numbers.
- *
+ *
* @param level
* the level number that the properties should apply to.
* @param chp
@@ -215,7 +213,7 @@ public final class HWPFList
/**
* Sets the paragraph properties for a particular level of the list.
- *
+ *
* @param level
* The level number.
* @param pap
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Notes.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Notes.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Notes.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Notes.java Wed Apr 14 22:53:33 2021
@@ -18,8 +18,6 @@ package org.apache.poi.hwpf.usermodel;
/**
* User-friendly interface to access document notes information
- *
- * @author Sergey Vladimirov (vlsergey {at} gmail {doc} com)
*/
public interface Notes
{
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/NotesImpl.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/NotesImpl.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/NotesImpl.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/NotesImpl.java Wed Apr 14 22:53:33 2021
@@ -23,8 +23,6 @@ import org.apache.poi.hwpf.model.NotesTa
/**
* Default implementation of {@link Notes} interface
- *
- * @author Sergey Vladimirov (vlsergey {at} gmail {doc} com)
*/
public class NotesImpl implements Notes
{
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/OfficeDrawing.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/OfficeDrawing.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/OfficeDrawing.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/OfficeDrawing.java Wed Apr 14 22:53:33 2021
@@ -27,13 +27,11 @@ import org.apache.poi.ddf.EscherContaine
* <li>[MS-ODRAW] -- v20110608; Office Drawing Binary File Format; Copyright (c)
* 2011 Microsoft Corporation.
* </ul>
- *
- * @author Sergey Vladimirov (vlsergey {at} gmail {dot} com)
*/
public interface OfficeDrawing
{
- public enum HorizontalPositioning {
+ enum HorizontalPositioning {
/**
* The shape is horizontally offset by an absolute distance from the
@@ -72,11 +70,11 @@ public interface OfficeDrawing
RIGHT
}
- public enum HorizontalRelativeElement {
+ enum HorizontalRelativeElement {
CHAR, MARGIN, PAGE, TEXT
}
- public enum VerticalPositioning {
+ enum VerticalPositioning {
/**
* The shape is vertically offset by an absolute distance from the page
@@ -112,34 +110,34 @@ public interface OfficeDrawing
TOP
}
- public enum VerticalRelativeElement {
+ enum VerticalRelativeElement {
LINE, MARGIN, PAGE, TEXT
}
/**
* Returns the type of horizontal positioning to use for a shape
- *
+ *
* @return the type of horizontal positioning to use for a shape
*/
- public HorizontalPositioning getHorizontalPositioning();
+ HorizontalPositioning getHorizontalPositioning();
/**
* Specifies a page element relative to which a shape is horizontally
* positioned
- *
+ *
* @return a page element relative to which a shape is horizontally
* positioned
*/
- public HorizontalRelativeElement getHorizontalRelative();
+ HorizontalRelativeElement getHorizontalRelative();
/**
* Returns escher record that represent shape container (record type is
- * <tt>0xF004</tt>). Returned record has a child with record type
- * <tt>0xF00A</tt> and value of shape id equals to {@link #getShapeId()}.
- *
- * @return Returns office art shape container or <tt>null</tt> if not found
+ * {@code 0xF004}). Returned record has a child with record type
+ * {@code 0xF00A} and value of shape id equals to {@link #getShapeId()}.
+ *
+ * @return Returns office art shape container or {@code null} if not found
*/
- public EscherContainerRecord getOfficeArtSpContainer();
+ EscherContainerRecord getOfficeArtSpContainer();
/**
* Returns picture data if this shape has (single?) associated picture data
@@ -174,17 +172,17 @@ public interface OfficeDrawing
/**
* Specifies the type of vertical positioning to use for a shape
- *
+ *
* @return return the type of vertical positioning to use for a shape
*/
- public VerticalPositioning getVerticalPositioning();
+ VerticalPositioning getVerticalPositioning();
/**
* Specifies a page element relative to which a shape is vertically
* positioned
- *
+ *
* @return a page element relative to which a shape is vertically positioned
*/
- public VerticalRelativeElement getVerticalRelativeElement();
+ VerticalRelativeElement getVerticalRelativeElement();
}
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/OfficeDrawings.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/OfficeDrawings.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/OfficeDrawings.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/OfficeDrawings.java Wed Apr 14 22:53:33 2021
@@ -20,8 +20,6 @@ import java.util.Collection;
/**
* User-friendly interface to access document part's office drawings
- *
- * @author Sergey Vladimirov (vlsergey {at} gmail {dot} com)
*/
public interface OfficeDrawings
{
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/OfficeDrawingsImpl.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/OfficeDrawingsImpl.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/OfficeDrawingsImpl.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/OfficeDrawingsImpl.java Wed Apr 14 22:53:33 2021
@@ -118,6 +118,7 @@ public class OfficeDrawingsImpl implemen
{
return new OfficeDrawing()
{
+ @Override
public HorizontalPositioning getHorizontalPositioning()
{
int value = getTertiaryPropertyValue(EscherPropertyTypes.GROUPSHAPE__POSH );
@@ -141,6 +142,7 @@ public class OfficeDrawingsImpl implemen
return HorizontalPositioning.ABSOLUTE;
}
+ @Override
public HorizontalRelativeElement getHorizontalRelative()
{
int value = getTertiaryPropertyValue( EscherPropertyTypes.GROUPSHAPE__POSRELH );
@@ -160,11 +162,13 @@ public class OfficeDrawingsImpl implemen
return HorizontalRelativeElement.TEXT;
}
+ @Override
public EscherContainerRecord getOfficeArtSpContainer()
{
return getEscherShapeRecordContainer( getShapeId() );
}
+ @Override
public byte[] getPictureData()
{
EscherContainerRecord shapeDescription = getEscherShapeRecordContainer( getShapeId() );
@@ -189,26 +193,31 @@ public class OfficeDrawingsImpl implemen
return escherBlipRecord.getPicturedata();
}
+ @Override
public int getRectangleBottom()
{
return fspa.getYaBottom();
}
+ @Override
public int getRectangleLeft()
{
return fspa.getXaLeft();
}
+ @Override
public int getRectangleRight()
{
return fspa.getXaRight();
}
+ @Override
public int getRectangleTop()
{
return fspa.getYaTop();
}
+ @Override
public int getShapeId()
{
return fspa.getSpid();
@@ -230,6 +239,7 @@ public class OfficeDrawingsImpl implemen
return ( escherProperty == null ) ? -1 : escherProperty.getPropertyValue();
}
+ @Override
public VerticalPositioning getVerticalPositioning()
{
int value = getTertiaryPropertyValue( EscherPropertyTypes.GROUPSHAPE__POSV );
@@ -253,6 +263,7 @@ public class OfficeDrawingsImpl implemen
return VerticalPositioning.ABSOLUTE;
}
+ @Override
public VerticalRelativeElement getVerticalRelativeElement()
{
int value = getTertiaryPropertyValue( EscherPropertyTypes.GROUPSHAPE__POSV );
@@ -280,6 +291,7 @@ public class OfficeDrawingsImpl implemen
};
}
+ @Override
public OfficeDrawing getOfficeDrawingAt( int characterPosition )
{
final FSPA fspa = _fspaTable.getFspaFromCp( characterPosition );
@@ -289,6 +301,7 @@ public class OfficeDrawingsImpl implemen
return getOfficeDrawing( fspa );
}
+ @Override
public Collection<OfficeDrawing> getOfficeDrawings()
{
List<OfficeDrawing> result = new ArrayList<>();
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Paragraph.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Paragraph.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Paragraph.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Paragraph.java Wed Apr 14 22:53:33 2021
@@ -195,8 +195,8 @@ public class Paragraph extends Range imp
}
/**
- * @return <tt>true</tt>, if table trailer paragraph (last in table row),
- * <tt>false</tt> otherwise
+ * @return {@code true}, if table trailer paragraph (last in table row),
+ * {@code false} otherwise
*/
public boolean isTableRowEnd()
{
@@ -209,8 +209,8 @@ public class Paragraph extends Range imp
}
/**
- * @return <tt>true</tt>, if the end of paragraph mark is really an end of
- * cell mark for a nested table cell, <tt>false</tt> otherwise
+ * @return {@code true}, if the end of paragraph mark is really an end of
+ * cell mark for a nested table cell, {@code false} otherwise
*/
public boolean isEmbeddedCellMark()
{
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/PictureType.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/PictureType.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/PictureType.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/PictureType.java Wed Apr 14 22:53:33 2021
@@ -18,8 +18,6 @@ package org.apache.poi.hwpf.usermodel;
/**
* Picture types supported by MS Word format
- *
- * @author Sergey Vladimirov (vlsergey {at} gmail {dot} com)
*/
public enum PictureType
{
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Range.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Range.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Range.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/Range.java Wed Apr 14 22:53:33 2021
@@ -626,7 +626,7 @@ public class Range {
* @param newText
* The text to be replaced with
* @param addAfter
- * if <tt>true</tt> the text will be added at the end of current
+ * if {@code true} the text will be added at the end of current
* range, otherwise to the beginning
*/
public void replaceText( String newText, boolean addAfter )
@@ -657,7 +657,7 @@ public class Range {
* The replacement text (e.g., "Apache Software Foundation")
* @param pOffset
* The offset or index where the text to be replaced begins
- * (relative to/within this <code>Range</code>)
+ * (relative to/within this {@code Range})
*/
@Internal
public void replaceText(String pPlaceHolder, String pValue, int pOffset) {
@@ -1056,7 +1056,7 @@ public class Range {
/**
* Adjust the value of the various FIB character count fields, eg
- * <code>FIB.CCPText</code> after an insert or a delete...
+ * {@code FIB.CCPText} after an insert or a delete...
*
* Works on all CCP fields from this range onwards
*
Modified: poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/HSLFTestDataSamples.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/HSLFTestDataSamples.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/HSLFTestDataSamples.java (original)
+++ poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/HSLFTestDataSamples.java Wed Apr 14 22:53:33 2021
@@ -34,15 +34,15 @@ public class HSLFTestDataSamples {
public static InputStream openSampleFileStream(String sampleFileName) {
return _inst.openResourceAsStream(sampleFileName);
}
-
+
public static File getSampleFile(String sampleFileName) {
return _inst.getFile(sampleFileName);
}
-
+
public static byte[] getTestDataFileContent(String fileName) {
return _inst.readFile(fileName);
}
-
+
public static HSLFSlideShow getSlideShow(String fileName) throws IOException {
try (InputStream is = openSampleFileStream(fileName)) {
return new HSLFSlideShow(is);
@@ -50,8 +50,8 @@ public class HSLFTestDataSamples {
}
/**
- * Writes a slideshow to a <tt>ByteArrayOutputStream</tt> and reads it back
- * from a <tt>ByteArrayInputStream</tt>.<p>
+ * Writes a slideshow to a {@code ByteArrayOutputStream} and reads it back
+ * from a {@code ByteArrayInputStream}.<p>
* Useful for verifying that the serialisation round trip
*/
public static HSLFSlideShowImpl writeOutAndReadBack(HSLFSlideShowImpl original) {
@@ -66,8 +66,8 @@ public class HSLFTestDataSamples {
}
/**
- * Writes a slideshow to a <tt>ByteArrayOutputStream</tt> and reads it back
- * from a <tt>ByteArrayInputStream</tt>.<p>
+ * Writes a slideshow to a {@code ByteArrayOutputStream} and reads it back
+ * from a {@code ByteArrayInputStream}.<p>
* Useful for verifying that the serialisation round trip
*/
public static HSLFSlideShow writeOutAndReadBack(HSLFSlideShow original) {
Modified: poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/TestReWriteSanity.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/TestReWriteSanity.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/TestReWriteSanity.java (original)
+++ poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/TestReWriteSanity.java Wed Apr 14 22:53:33 2021
@@ -40,8 +40,6 @@ import org.junit.jupiter.api.Test;
/**
* Tests that HSLFSlideShow writes the powerpoint bit of data back out
* in a sane manner - i.e. records end up in the right place
- *
- * @author Nick Burch (nick at torchbox dot com)
*/
public final class TestReWriteSanity {
// HSLFSlideShow primed on the test data
Modified: poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/model/TestFreeform.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/model/TestFreeform.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/model/TestFreeform.java (original)
+++ poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/model/TestFreeform.java Wed Apr 14 22:53:33 2021
@@ -33,8 +33,6 @@ import org.junit.jupiter.api.Test;
* The Freeform shape is constructed from java.awt.GeneralPath.
* Check that the get/set path accessors are consistent.
* (TODO: verification of Bezier curves is more difficult due to rounding error. Figure out a test approach for that)
- *
- * @author Yegor Kozlov
*/
public final class TestFreeform {
Modified: poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/model/TestSetBoldItalic.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/model/TestSetBoldItalic.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/model/TestSetBoldItalic.java (original)
+++ poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/model/TestSetBoldItalic.java Wed Apr 14 22:53:33 2021
@@ -27,8 +27,6 @@ import org.junit.jupiter.api.Test;
/**
* Test setting text properties of newly added TextBoxes
- *
- * @author Yegor Kozlov
*/
public final class TestSetBoldItalic {
/**
Modified: poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/model/TestSheet.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/model/TestSheet.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/model/TestSheet.java (original)
+++ poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/model/TestSheet.java Wed Apr 14 22:53:33 2021
@@ -30,10 +30,8 @@ import org.apache.poi.hslf.usermodel.*;
import org.junit.jupiter.api.Test;
/**
- * Test common functionality of the <code>Sheet</code> object.
+ * Test common functionality of the {@code Sheet} object.
* For each ppt in the test directory check that all sheets are properly initialized
- *
- * @author Yegor Kozlov
*/
public final class TestSheet {
private static final POIDataSamples _slTests = POIDataSamples.getSlideShowInstance();
Modified: poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/model/TestSlideChangeNotes.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/model/TestSlideChangeNotes.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/model/TestSlideChangeNotes.java (original)
+++ poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/model/TestSlideChangeNotes.java Wed Apr 14 22:53:33 2021
@@ -28,8 +28,6 @@ import org.junit.jupiter.api.Test;
/**
* Tests that changing a slide's idea of what notes sheet is its works right
- *
- * @author Nick Burch (nick at torchbox dot com)
*/
public final class TestSlideChangeNotes {
// SlideShow primed on the test data
Modified: poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/model/TestSlides.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/model/TestSlides.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/model/TestSlides.java (original)
+++ poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/model/TestSlides.java Wed Apr 14 22:53:33 2021
@@ -30,9 +30,7 @@ import org.junit.jupiter.api.Test;
/**
* Test adding new slides to a ppt.
*
- * Note - uses the same empty PPT file as the core "new Slideshow"
- * stuff does
- * @author Yegor Kozlov
+ * Note - uses the same empty PPT file as the core "new Slideshow" stuff does
*/
public final class TestSlides {
Modified: poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestComment2000.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestComment2000.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestComment2000.java (original)
+++ poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestComment2000.java Wed Apr 14 22:53:33 2021
@@ -35,8 +35,6 @@ import org.junit.jupiter.api.Test;
/**
* Tests that Comment2000 works properly.
* TODO: Test Comment200Atom within
- *
- * @author Nick Burch (nick at torchbox dot com)
*/
public final class TestComment2000 {
// From a real file
Modified: poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestComment2000Atom.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestComment2000Atom.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestComment2000Atom.java (original)
+++ poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestComment2000Atom.java Wed Apr 14 22:53:33 2021
@@ -31,8 +31,6 @@ import org.junit.jupiter.api.Test;
/**
* Tests that Comment2000Atom works properly.
- *
- * @author Nick Burch (nick at torchbox dot com)
*/
public final class TestComment2000Atom {
// From a real file
Modified: poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestCurrentUserAtom.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestCurrentUserAtom.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestCurrentUserAtom.java (original)
+++ poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestCurrentUserAtom.java Wed Apr 14 22:53:33 2021
@@ -33,8 +33,6 @@ import org.junit.jupiter.api.Test;
/**
* Tests that CurrentUserAtom works properly.
- *
- * @author Nick Burch (nick at torchbox dot com)
*/
public final class TestCurrentUserAtom {
private static final POIDataSamples _slTests = POIDataSamples.getSlideShowInstance();
Modified: poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestDocumentEncryptionAtom.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestDocumentEncryptionAtom.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestDocumentEncryptionAtom.java (original)
+++ poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestDocumentEncryptionAtom.java Wed Apr 14 22:53:33 2021
@@ -26,8 +26,6 @@ import org.junit.jupiter.api.Test;
/**
* Tests that DocumentEncryptionAtom works properly.
- *
- * @author Nick Burch (nick at torchbox dot com)
*/
public final class TestDocumentEncryptionAtom {
// From a real file
Modified: poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestExVideoContainer.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestExVideoContainer.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestExVideoContainer.java (original)
+++ poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestExVideoContainer.java Wed Apr 14 22:53:33 2021
@@ -29,8 +29,6 @@ import org.junit.jupiter.api.Test;
/**
* Tests that {@link HeadersFootersAtom} works properly
- *
- * @author Yegor Kozlov
*/
public final class TestExVideoContainer {
Modified: poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestStyleTextPropAtom.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestStyleTextPropAtom.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestStyleTextPropAtom.java (original)
+++ poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestStyleTextPropAtom.java Wed Apr 14 22:53:33 2021
@@ -39,8 +39,6 @@ import org.junit.jupiter.api.Test;
/**
* Tests that StyleTextPropAtom works properly
- *
- * @author Nick Burch (nick at torchbox dot com)
*/
public final class TestStyleTextPropAtom {
/** From a real file: a paragraph with 4 different styles */
Modified: poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestTextSpecInfoAtom.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestTextSpecInfoAtom.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestTextSpecInfoAtom.java (original)
+++ poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/record/TestTextSpecInfoAtom.java Wed Apr 14 22:53:33 2021
@@ -26,8 +26,6 @@ import org.junit.jupiter.api.Test;
/**
* Tests TextSpecInfoAtom
- *
- * @author Yegor Kozlov
*/
public final class TestTextSpecInfoAtom {
Modified: poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/usermodel/TestBackground.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/usermodel/TestBackground.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/usermodel/TestBackground.java (original)
+++ poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/usermodel/TestBackground.java Wed Apr 14 22:53:33 2021
@@ -39,9 +39,7 @@ import org.junit.jupiter.api.Test;
/**
- * Test <code>Fill</code> object.
- *
- * @author Yegor Kozlov
+ * Test {@code Fill} object.
*/
public final class TestBackground {
private static POIDataSamples _slTests = POIDataSamples.getSlideShowInstance();
Modified: poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/usermodel/TestNumberedList.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/usermodel/TestNumberedList.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/usermodel/TestNumberedList.java (original)
+++ poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/usermodel/TestNumberedList.java Wed Apr 14 22:53:33 2021
@@ -39,8 +39,6 @@ import org.junit.jupiter.api.Test;
/**
* Test that checks numbered list functionality.
- *
- * @author Alex Nikiforov [mailto:anikif@gmail.com]
*/
public final class TestNumberedList {
private static POIDataSamples _slTests = POIDataSamples.getSlideShowInstance();
Modified: poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/usermodel/TestNumberedList3.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/usermodel/TestNumberedList3.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/usermodel/TestNumberedList3.java (original)
+++ poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/usermodel/TestNumberedList3.java Wed Apr 14 22:53:33 2021
@@ -43,8 +43,6 @@ import org.junit.jupiter.api.Test;
* if a paragraph has autonumber ()
* @see <a href="http://social.msdn.microsoft.com/Forums/mr-IN/os_binaryfile/thread/650888db-fabd-4b95-88dc-f0455f6e2d28">
* PPT: Missing TextAutoNumberScheme structure providing the style of the number bullets</a>
- *
- * @author Alex Nikiforov [mailto:anikif@gmail.com]
*/
public final class TestNumberedList3 {
private static final POIDataSamples _slTests = POIDataSamples.getSlideShowInstance();
Modified: poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/usermodel/TestPictures.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/usermodel/TestPictures.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/usermodel/TestPictures.java (original)
+++ poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/usermodel/TestPictures.java Wed Apr 14 22:53:33 2021
@@ -53,8 +53,6 @@ import org.junit.jupiter.api.Test;
/**
* Test adding/reading pictures
- *
- * @author Yegor Kozlov
*/
public final class TestPictures {
private static final POIDataSamples slTests = POIDataSamples.getSlideShowInstance();
Modified: poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/usermodel/TestRecordSetup.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/usermodel/TestRecordSetup.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/usermodel/TestRecordSetup.java (original)
+++ poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/usermodel/TestRecordSetup.java Wed Apr 14 22:53:33 2021
@@ -28,8 +28,6 @@ import org.junit.jupiter.api.Test;
* Tests that the record setup done by SlideShow
* has worked correctly
* Note: most recent record stuff has its own test
- *
- * @author Nick Burch (nick at torchbox dot com)
*/
public final class TestRecordSetup {
// SlideShow primed on the test data
Modified: poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/util/TestSystemTimeUtils.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/util/TestSystemTimeUtils.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/util/TestSystemTimeUtils.java (original)
+++ poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hslf/util/TestSystemTimeUtils.java Wed Apr 14 22:53:33 2021
@@ -30,8 +30,6 @@ import org.junit.jupiter.api.Test;
/**
* Tests that SystemTimeUtils works properly.
- *
- * @author Nick Burch (nick at torchbox dot com)
*/
public final class TestSystemTimeUtils {
// From real files
Modified: poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hwpf/HWPFTestDataSamples.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hwpf/HWPFTestDataSamples.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hwpf/HWPFTestDataSamples.java (original)
+++ poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hwpf/HWPFTestDataSamples.java Wed Apr 14 22:53:33 2021
@@ -93,8 +93,8 @@ public class HWPFTestDataSamples {
}
}
/**
- * Writes a spreadsheet to a <tt>ByteArrayOutputStream</tt> and reads it back
- * from a <tt>ByteArrayInputStream</tt>.<p>
+ * Writes a spreadsheet to a {@code ByteArrayOutputStream} and reads it back
+ * from a {@code ByteArrayInputStream}.<p>
* Useful for verifying that the serialisation round trip
*/
public static HWPFDocument writeOutAndReadBack(HWPFDocument original) {
Modified: poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestDifferentRoutes.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestDifferentRoutes.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestDifferentRoutes.java (original)
+++ poi/trunk/poi-scratchpad/src/test/java/org/apache/poi/hwpf/extractor/TestDifferentRoutes.java Wed Apr 14 22:53:33 2021
@@ -33,8 +33,6 @@ import org.junit.jupiter.api.Test;
/**
* Test the different routes to extracting text
- *
- * @author Nick Burch (nick at torchbox dot com)
*/
public final class TestDifferentRoutes {
private static final String[] p_text = new String[] {
Modified: poi/trunk/poi/src/main/java/org/apache/poi/ddf/EscherContainerRecord.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/ddf/EscherContainerRecord.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/ddf/EscherContainerRecord.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/ddf/EscherContainerRecord.java Wed Apr 14 22:53:33 2021
@@ -172,7 +172,7 @@ public final class EscherContainerRecord
/**
- * replaces the internal child list with the contents of the supplied <tt>childRecords</tt>
+ * replaces the internal child list with the contents of the supplied {@code childRecords}
*/
@Override
public void setChildRecords(List<EscherRecord> childRecords) {
Modified: poi/trunk/poi/src/main/java/org/apache/poi/ddf/EscherPropertyMetaData.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/ddf/EscherPropertyMetaData.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/ddf/EscherPropertyMetaData.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/ddf/EscherPropertyMetaData.java Wed Apr 14 22:53:33 2021
@@ -20,8 +20,6 @@ package org.apache.poi.ddf;
/**
* This class stores the type and description of an escher property.
- *
- * @author Glen Stampoultzis (glens at apache.org)
*/
public class EscherPropertyMetaData
{
Modified: poi/trunk/poi/src/main/java/org/apache/poi/hpsf/IllegalPropertySetDataException.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hpsf/IllegalPropertySetDataException.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hpsf/IllegalPropertySetDataException.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hpsf/IllegalPropertySetDataException.java Wed Apr 14 22:53:33 2021
@@ -23,9 +23,7 @@ package org.apache.poi.hpsf;
* have a value of <code>-1 (true)</code> or <code>0 (false)</code>.
* Any other value would trigger this exception. It supports a nested
* "reason" throwable, i.e. an exception that caused this one to be
- * thrown.</p>
- *
- * @author Drew Varner(Drew.Varner atDomain sc.edu)
+ * thrown.
*/
public class IllegalPropertySetDataException extends HPSFRuntimeException
{
@@ -42,7 +40,7 @@ public class IllegalPropertySetDataExcep
/**
* <p>Constructor</p>
- *
+ *
* @param msg The exception's message string
*/
public IllegalPropertySetDataException(final String msg)
@@ -54,7 +52,7 @@ public class IllegalPropertySetDataExcep
/**
* <p>Constructor</p>
- *
+ *
* @param reason This exception's underlying reason
*/
public IllegalPropertySetDataException(final Throwable reason)
@@ -66,7 +64,7 @@ public class IllegalPropertySetDataExcep
/**
* <p>Constructor</p>
- *
+ *
* @param msg The exception's message string
* @param reason This exception's underlying reason
*/
Modified: poi/trunk/poi/src/main/java/org/apache/poi/hssf/dev/EFBiffViewer.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hssf/dev/EFBiffViewer.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hssf/dev/EFBiffViewer.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hssf/dev/EFBiffViewer.java Wed Apr 14 22:53:33 2021
@@ -25,11 +25,6 @@ import org.apache.poi.hssf.eventusermode
import org.apache.poi.hssf.eventusermodel.HSSFRequest;
import org.apache.poi.poifs.filesystem.POIFSFileSystem;
-/**
- *
- * @author andy
- */
-
public class EFBiffViewer
{
String file;
Modified: poi/trunk/poi/src/main/java/org/apache/poi/hssf/dev/FormulaViewer.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hssf/dev/FormulaViewer.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hssf/dev/FormulaViewer.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hssf/dev/FormulaViewer.java Wed Apr 14 22:53:33 2021
@@ -33,10 +33,7 @@ import org.apache.poi.ss.formula.ptg.Ptg
/**
* FormulaViewer - finds formulas in a BIFF8 file and attempts to read them/display
* data from them. Only works if Formulas are enabled in "RecordFactory"
- * @author andy
- * @author Avik
*/
-
public class FormulaViewer
{
private String file;
Modified: poi/trunk/poi/src/main/java/org/apache/poi/hssf/model/InternalSheet.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hssf/model/InternalSheet.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hssf/model/InternalSheet.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hssf/model/InternalSheet.java Wed Apr 14 22:53:33 2021
@@ -358,6 +358,7 @@ public final class InternalSheet {
public RecordCloner(List<Record> destList) {
_destList = destList;
}
+ @Override
public void visitRecord(Record r) {
_destList.add(r.copy());
}
Modified: poi/trunk/poi/src/main/java/org/apache/poi/hssf/model/RecordStream.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hssf/model/RecordStream.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hssf/model/RecordStream.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hssf/model/RecordStream.java Wed Apr 14 22:53:33 2021
@@ -21,7 +21,7 @@ import java.util.List;
import org.apache.poi.hssf.record.Record;
/**
- * Simplifies iteration over a sequence of <tt>Record</tt> objects.
+ * Simplifies iteration over a sequence of {@code Record} objects.
*/
public final class RecordStream {
@@ -61,7 +61,7 @@ public final class RecordStream {
}
/**
- * @return the {@link Class} of the next Record. <code>null</code> if this stream is exhausted.
+ * @return the {@link Class} of the next Record. {@code null} if this stream is exhausted.
*/
public Class<? extends Record> peekNextClass() {
if(!hasNext()) {
@@ -71,7 +71,7 @@ public final class RecordStream {
}
/**
- * @return the next Record. <code>null</code> if this stream is exhausted.
+ * @return the next Record. {@code null} if this stream is exhausted.
*/
public Record peekNextRecord() {
return (hasNext()) ? _list.get(_nextIndex) : null;
Modified: poi/trunk/poi/src/main/java/org/apache/poi/hssf/model/RowBlocksReader.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hssf/model/RowBlocksReader.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hssf/model/RowBlocksReader.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hssf/model/RowBlocksReader.java Wed Apr 14 22:53:33 2021
@@ -43,7 +43,7 @@ public final class RowBlocksReader {
/**
* Also collects any loose MergeCellRecords and puts them in the supplied
* mergedCellsTable
- *
+ *
* @param rs the record stream
*/
public RowBlocksReader(RecordStream rs) {
@@ -100,7 +100,7 @@ public final class RowBlocksReader {
/**
* Some unconventional apps place {@link MergeCellsRecord}s within the row block. They
* actually should be in the {@link MergedCellsTable} which is much later (see bug 45699).
- * @return any loose <tt>MergeCellsRecord</tt>s found
+ * @return any loose {@code MergeCellsRecord}s found
*/
public MergeCellsRecord[] getLooseMergedCells() {
return _mergedCellsRecords;
Modified: poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/CFRuleBase.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/CFRuleBase.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/CFRuleBase.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/CFRuleBase.java Wed Apr 14 22:53:33 2021
@@ -420,7 +420,7 @@ public abstract class CFRuleBase extends
/**
* get the stack of the 2nd expression as a list
*
- * @return array of {@link Ptg}s, possibly <code>null</code>
+ * @return array of {@link Ptg}s, possibly {@code null}
*/
public Ptg[] getParsedExpression2() {
return Formula.getTokens(formula2);
@@ -436,7 +436,7 @@ public abstract class CFRuleBase extends
}
/**
- * @param formula must not be <code>null</code>
+ * @param formula must not be {@code null}
* @return encoded size of the formula tokens (does not include 2 bytes for ushort length)
*/
protected static int getFormulaSize(Formula formula) {
@@ -451,7 +451,7 @@ public abstract class CFRuleBase extends
*
* @param formula The formula to parse, excluding the leading equals sign.
* @param sheet The sheet that the formula is on.
- * @return <code>null</code> if <tt>formula</tt> was null.
+ * @return {@code null} if {@code formula} was null.
*/
public static Ptg[] parseFormula(String formula, HSSFSheet sheet) {
if(formula == null) {
Modified: poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/CellValueRecordInterface.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/CellValueRecordInterface.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/CellValueRecordInterface.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/CellValueRecordInterface.java Wed Apr 14 22:53:33 2021
@@ -22,9 +22,6 @@ package org.apache.poi.hssf.record;
* contain cell values. It allows the containing sheet to move through them and compare
* them.
*
- * @author Andrew C. Oliver (acoliver at apache dot org)
- * @author Jason Height (jheight at chariot dot net dot au)
- *
* @see org.apache.poi.hssf.record.Record
* @see org.apache.poi.hssf.record.RecordFactory
*/
Modified: poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/FormulaSpecialCachedValue.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/FormulaSpecialCachedValue.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/FormulaSpecialCachedValue.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/FormulaSpecialCachedValue.java Wed Apr 14 22:53:33 2021
@@ -64,7 +64,7 @@ public final class FormulaSpecialCachedV
}
/**
- * @return <code>null</code> if the double value encoded by <tt>valueLongBits</tt>
+ * @return {@code null} if the double value encoded by {@code valueLongBits}
* is a normal (non NaN) double value.
*/
public static FormulaSpecialCachedValue create(long valueLongBits) {
Modified: poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/SSTDeserializer.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/SSTDeserializer.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/SSTDeserializer.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/SSTDeserializer.java Wed Apr 14 22:53:33 2021
@@ -28,9 +28,6 @@ import static org.apache.logging.log4j.u
/**
* Handles the task of deserializing a SST string. The two main entry points are
- *
- * @author Glen Stampoultzis (glens at apache.org)
- * @author Jason Height (jheight at apache.org)
*/
class SSTDeserializer
{
Modified: poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/SSTSerializer.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/SSTSerializer.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/SSTSerializer.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/SSTSerializer.java Wed Apr 14 22:53:33 2021
@@ -24,8 +24,6 @@ import org.apache.poi.util.IntMapper;
/**
* This class handles serialization of SST records. It utilizes the record processor
* class write individual records. This has been refactored from the SSTRecord class.
- *
- * @author Glen Stampoultzis (glens at apache.org)
*/
final class SSTSerializer {
Modified: poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/CFRecordsAggregate.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/CFRecordsAggregate.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/CFRecordsAggregate.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/CFRecordsAggregate.java Wed Apr 14 22:53:33 2021
@@ -209,6 +209,7 @@ public final class CFRecordsAggregate ex
return GenericRecordJsonWriter.marshal(this);
}
+ @Override
public void visitContainedRecords(RecordVisitor rv) {
rv.visitRecord(header);
for (CFRuleBase rule : rules) {
Modified: poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/ChartSubstreamRecordAggregate.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/ChartSubstreamRecordAggregate.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/ChartSubstreamRecordAggregate.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/ChartSubstreamRecordAggregate.java Wed Apr 14 22:53:33 2021
@@ -63,7 +63,8 @@ public final class ChartSubstreamRecordA
}
}
- public void visitContainedRecords(RecordVisitor rv) {
+ @Override
+ public void visitContainedRecords(RecordVisitor rv) {
if (_recs.isEmpty()) {
return;
}
Modified: poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/ColumnInfoRecordsAggregate.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/ColumnInfoRecordsAggregate.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/ColumnInfoRecordsAggregate.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/ColumnInfoRecordsAggregate.java Wed Apr 14 22:53:33 2021
@@ -75,7 +75,7 @@ public final class ColumnInfoRecordsAggr
/**
* Inserts a column into the aggregate (at the position specified by
- * <code>idx</code>.
+ * {@code idx}.
*/
private void insertColumn(int idx, ColumnInfoRecord col) {
records.add(idx, col);
@@ -85,6 +85,7 @@ public final class ColumnInfoRecordsAggr
return records.size();
}
+ @Override
public void visitContainedRecords(RecordVisitor rv) {
int nItems = records.size();
if (nItems < 1) {
@@ -147,7 +148,6 @@ public final class ColumnInfoRecordsAggr
/**
* 'Collapsed' state is stored in a single column col info record immediately after the outline group
- * @param idx
* @return true, if the column is collapsed, false otherwise.
*/
private boolean isColumnGroupCollapsed(int idx) {
@@ -362,7 +362,7 @@ public final class ColumnInfoRecordsAggr
}
/**
- * Sets all non null fields into the <code>ci</code> parameter.
+ * Sets all non null fields into the {@code ci} parameter.
*/
private static void setColumnInfoFields(ColumnInfoRecord ci, Short xfStyle, Integer width,
Integer level, Boolean hidden, Boolean collapsed) {
@@ -428,7 +428,7 @@ public final class ColumnInfoRecordsAggr
}
/**
* merges two column info records (if they are adjacent and have the same formatting, etc)
- * @return <code>false</code> if the two column records could not be merged
+ * @return {@code false} if the two column records could not be merged
*/
private static boolean mergeColInfoRecords(ColumnInfoRecord ciA, ColumnInfoRecord ciB) {
if (ciA.isAdjacentBefore(ciB) && ciA.formatMatches(ciB)) {
@@ -447,8 +447,8 @@ public final class ColumnInfoRecordsAggr
* @param toColumnIx
* group to this column (inclusive)
* @param indent
- * if <code>true</code> the group will be indented by one
- * level, if <code>false</code> indenting will be decreased by
+ * if {@code true} the group will be indented by one
+ * level, if {@code false} indenting will be decreased by
* one level.
*/
public void groupColumnRange(int fromColumnIx, int toColumnIx, boolean indent) {
@@ -473,9 +473,9 @@ public final class ColumnInfoRecordsAggr
}
/**
- * Finds the <tt>ColumnInfoRecord</tt> which contains the specified columnIndex
+ * Finds the {@code ColumnInfoRecord} which contains the specified columnIndex
* @param columnIndex index of the column (not the index of the ColumnInfoRecord)
- * @return <code>null</code> if no column info found for the specified column
+ * @return {@code null} if no column info found for the specified column
*/
public ColumnInfoRecord findColumnInfo(int columnIndex) {
int nInfos = records.size();
Modified: poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/ConditionalFormattingTable.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/ConditionalFormattingTable.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/ConditionalFormattingTable.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/ConditionalFormattingTable.java Wed Apr 14 22:53:33 2021
@@ -43,7 +43,8 @@ public final class ConditionalFormatting
}
}
- public void visitContainedRecords(RecordVisitor rv) {
+ @Override
+ public void visitContainedRecords(RecordVisitor rv) {
for (CFRecordsAggregate subAgg : _cfHeaders) {
subAgg.visitContainedRecords(rv);
}
Modified: poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/CustomViewSettingsRecordAggregate.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/CustomViewSettingsRecordAggregate.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/CustomViewSettingsRecordAggregate.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/CustomViewSettingsRecordAggregate.java Wed Apr 14 22:53:33 2021
@@ -67,7 +67,8 @@ public final class CustomViewSettingsRec
}
}
- public void visitContainedRecords(RecordVisitor rv) {
+ @Override
+ public void visitContainedRecords(RecordVisitor rv) {
if (_recs.isEmpty()) {
return;
}
@@ -88,6 +89,6 @@ public final class CustomViewSettingsRec
}
public void append(RecordBase r){
- _recs.add(r);
+ _recs.add(r);
}
}
Modified: poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/DataValidityTable.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/DataValidityTable.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/DataValidityTable.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/DataValidityTable.java Wed Apr 14 22:53:33 2021
@@ -51,7 +51,8 @@ public final class DataValidityTable ext
_validationList = new ArrayList<>();
}
- public void visitContainedRecords(RecordVisitor rv) {
+ @Override
+ public void visitContainedRecords(RecordVisitor rv) {
if (_validationList.isEmpty()) {
return;
}
Modified: poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/FormulaRecordAggregate.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/FormulaRecordAggregate.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/FormulaRecordAggregate.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/FormulaRecordAggregate.java Wed Apr 14 22:53:33 2021
@@ -140,7 +140,8 @@ public final class FormulaRecordAggregat
return _formulaRecord.toString();
}
- public void visitContainedRecords(RecordVisitor rv) {
+ @Override
+ public void visitContainedRecords(RecordVisitor rv) {
rv.visitRecord(_formulaRecord);
Record sharedFormulaRecord = _sharedValueManager.getRecordForFirstCell(this);
if (sharedFormulaRecord != null) {
Modified: poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/MergedCellsTable.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/MergedCellsTable.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/MergedCellsTable.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/MergedCellsTable.java Wed Apr 14 22:53:33 2021
@@ -53,6 +53,7 @@ public final class MergedCellsTable exte
}
}
+ @Override
public int getRecordSize() {
// a bit cheaper than the default impl
int nRegions = _mergedRegions.size();
@@ -68,7 +69,8 @@ public final class MergedCellsTable exte
+ CellRangeAddressList.getEncodedSize(nLeftoverMergedRegions);
}
- public void visitContainedRecords(RecordVisitor rv) {
+ @Override
+ public void visitContainedRecords(RecordVisitor rv) {
int nRegions = _mergedRegions.size();
if (nRegions < 1) {
// no need to write a single empty MergeCellsRecord
Modified: poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/RecordAggregate.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/RecordAggregate.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/RecordAggregate.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/RecordAggregate.java Wed Apr 14 22:53:33 2021
@@ -21,14 +21,14 @@ import org.apache.poi.hssf.record.Record
import org.apache.poi.hssf.record.RecordBase;
/**
- * <tt>RecordAggregate</tt>s are groups of of BIFF <tt>Record</tt>s that are typically stored
+ * {@code RecordAggregate}s are groups of of BIFF {@code Record}s that are typically stored
* together and/or updated together. Workbook / Sheet records are typically stored in a sequential
* list, which does not provide much structure to coordinate updates.
*/
public abstract class RecordAggregate extends RecordBase {
/**
- * Visit each of the atomic BIFF records contained in this {@link RecordAggregate} in the order
+ * Visit each of the atomic BIFF records contained in this RecordAggregate in the order
* that they should be written to file. Implementors may or may not return the actual
* {@link Record}s being used to manage POI's internal implementation. Callers should not
* assume either way, and therefore only attempt to modify those {@link Record}s after cloning
@@ -37,11 +37,13 @@ public abstract class RecordAggregate ex
*/
public abstract void visitContainedRecords(RecordVisitor rv);
+ @Override
public final int serialize(int offset, byte[] data) {
SerializingRecordVisitor srv = new SerializingRecordVisitor(data, offset);
visitContainedRecords(srv);
return srv.countBytesWritten();
}
+ @Override
public int getRecordSize() {
RecordSizingVisitor rsv = new RecordSizingVisitor();
visitContainedRecords(rsv);
@@ -51,7 +53,7 @@ public abstract class RecordAggregate ex
public interface RecordVisitor {
/**
* Implementors may call non-mutating methods on Record r.
- * @param r must not be <code>null</code>
+ * @param r must not be {@code null}
*/
void visitRecord(org.apache.poi.hssf.record.Record r);
}
@@ -70,6 +72,7 @@ public abstract class RecordAggregate ex
public int countBytesWritten() {
return _countBytesWritten;
}
+ @Override
public void visitRecord(org.apache.poi.hssf.record.Record r) {
int currentOffset = _startOffset + _countBytesWritten;
_countBytesWritten += r.serialize(currentOffset, _data);
@@ -85,6 +88,7 @@ public abstract class RecordAggregate ex
public int getTotalSize() {
return _totalSize;
}
+ @Override
public void visitRecord(org.apache.poi.hssf.record.Record r) {
_totalSize += r.getRecordSize();
}
@@ -101,6 +105,7 @@ public abstract class RecordAggregate ex
_rv = rv;
_position = initialPosition;
}
+ @Override
public void visitRecord(org.apache.poi.hssf.record.Record r) {
_position += r.getRecordSize();
_rv.visitRecord(r);
Modified: poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/RowRecordsAggregate.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/RowRecordsAggregate.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/RowRecordsAggregate.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/RowRecordsAggregate.java Wed Apr 14 22:53:33 2021
@@ -42,11 +42,6 @@ import org.apache.poi.hssf.record.Unknow
import org.apache.poi.ss.SpreadsheetVersion;
import org.apache.poi.ss.formula.FormulaShifter;
-/**
- *
- * @author andy
- * @author Jason Height (jheight at chariot dot net dot au)
- */
public final class RowRecordsAggregate extends RecordAggregate {
private int _firstrow = -1;
private int _lastrow = -1;
Modified: poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/SharedValueManager.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/SharedValueManager.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/SharedValueManager.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/SharedValueManager.java Wed Apr 14 22:53:33 2021
@@ -40,9 +40,6 @@ import org.apache.poi.ss.util.CellRefere
* <li>{@link ArrayRecord}s</li>
* <li>{@link TableRecord}s</li>
* </ul>
- *
- * @author Josh Micich
- * @author Vladimirs Abramovs(Vladimirs.Abramovs at exigenservices.com) - handling of ArrayRecords
*/
public final class SharedValueManager {
@@ -100,7 +97,7 @@ public final class SharedValueManager {
}
/**
- * @return a new empty {@link SharedValueManager}.
+ * @return a new empty SharedValueManager.
*/
public static SharedValueManager createEmpty() {
// Note - must create distinct instances because they are assumed to be mutable.
@@ -151,7 +148,7 @@ public final class SharedValueManager {
/**
* @param firstCell as extracted from the {@link ExpPtg} from the cell's formula.
- * @return never <code>null</code>
+ * @return never {@code null}
*/
public SharedFormulaRecord linkSharedFormulaRecord(CellReference firstCell, FormulaRecordAggregate agg) {
SharedFormulaGroup result = findFormulaGroupForCell(firstCell);
@@ -186,7 +183,7 @@ public final class SharedValueManager {
* top left cell.
*
* @return the SHRFMLA, TABLE or ARRAY record for the formula cell, if it is the first cell of
- * a table or array region. <code>null</code> if the formula cell is not shared/array/table,
+ * a table or array region. {@code null} if the formula cell is not shared/array/table,
* or if the specified formula is not the the first in the group.
*/
public SharedValueRecordBase getRecordForFirstCell(FormulaRecordAggregate agg) {
@@ -231,7 +228,7 @@ public final class SharedValueManager {
}
/**
- * Converts all {@link FormulaRecord}s handled by <tt>sharedFormulaRecord</tt>
+ * Converts all {@link FormulaRecord}s handled by {@code sharedFormulaRecord}
* to plain unshared formulas
*/
public void unlink(SharedFormulaRecord sharedFormulaRecord) {
@@ -254,7 +251,7 @@ public final class SharedValueManager {
/**
* Removes the {@link ArrayRecord} for the cell group containing the specified cell.
* The caller should clear (set blank) all cells in the returned range.
- * @return the range of the array formula which was just removed. Never <code>null</code>.
+ * @return the range of the array formula which was just removed. Never {@code null}.
*/
public CellRangeAddress8Bit removeArrayFormula(int rowIndex, int columnIndex) {
for (ArrayRecord ar : _arrayRecords) {
@@ -269,7 +266,7 @@ public final class SharedValueManager {
}
/**
- * @return the shared ArrayRecord identified by (firstRow, firstColumn). never <code>null</code>.
+ * @return the shared ArrayRecord identified by (firstRow, firstColumn). never {@code null}.
*/
public ArrayRecord getArrayRecord(int firstRow, int firstColumn) {
for(ArrayRecord ar : _arrayRecords) {
Modified: poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/ValueRecordsAggregate.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/ValueRecordsAggregate.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/ValueRecordsAggregate.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/aggregates/ValueRecordsAggregate.java Wed Apr 14 22:53:33 2021
@@ -37,10 +37,6 @@ import org.apache.poi.util.Removal;
/**
*
* Aggregate value records together. Things are easier to handle that way.
- *
- * @author andy
- * @author Glen Stampoultzis (glens at apache.org)
- * @author Jason Height (jheight at chariot dot net dot au)
*/
public final class ValueRecordsAggregate implements Iterable<CellValueRecordInterface> {
private static final int MAX_ROW_INDEX = 0XFFFF;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org