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 [5/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/hslf/usermodel/HSLFLine.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFLine.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFLine.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFLine.java Wed Apr 14 22:53:33 2021
@@ -27,8 +27,6 @@ import org.apache.poi.sl.usermodel.Shape
/**
* Represents a line in a PowerPoint drawing
- *
- * @author Yegor Kozlov
*/
public final class HSLFLine extends HSLFTextShape implements Line<HSLFShape,HSLFTextParagraph> {
public HSLFLine(EscherContainerRecord escherRecord, ShapeContainer<HSLFShape,HSLFTextParagraph> parent){
@@ -47,7 +45,7 @@ public final class HSLFLine extends HSLF
@Override
protected EscherContainerRecord createSpContainer(boolean isChild){
EscherContainerRecord ecr = super.createSpContainer(isChild);
-
+
setShapeType(ShapeType.LINE);
EscherSpRecord spRecord = ecr.getChildById(EscherSpRecord.RECORD_ID);
@@ -67,20 +65,20 @@ public final class HSLFLine extends HSLF
return ecr;
}
-
+
// /**
// * Sets the orientation of the line, if inverse is false, then line goes
-// * from top-left to bottom-right, otherwise use inverse equals true
+// * from top-left to bottom-right, otherwise use inverse equals true
// *
// * @param inverse the orientation of the line
// */
// public void setInverse(boolean inverse) {
// setShapeType(inverse ? ShapeType.LINE_INV : ShapeType.LINE);
// }
-//
+//
// /**
// * Gets the orientation of the line, if inverse is false, then line goes
-// * from top-left to bottom-right, otherwise inverse equals true
+// * from top-left to bottom-right, otherwise inverse equals true
// *
// * @return inverse the orientation of the line
// */
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFNotes.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFNotes.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFNotes.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFNotes.java Wed Apr 14 22:53:33 2021
@@ -31,8 +31,6 @@ import org.apache.poi.sl.usermodel.Place
* This class represents a slide's notes in a PowerPoint Document. It
* allows access to the text within, and the layout. For now, it only
* does the text side of things though
- *
- * @author Nick Burch
*/
public final class HSLFNotes extends HSLFSheet implements Notes<HSLFShape,HSLFTextParagraph> {
@@ -72,6 +70,7 @@ public final class HSLFNotes extends HSL
/**
* Return <code>null</code> - Notes Masters are not yet supported
*/
+ @Override
public HSLFMasterSheet getMasterSheet() {
return null;
}
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFPlaceholder.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFPlaceholder.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFPlaceholder.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFPlaceholder.java Wed Apr 14 22:53:33 2021
@@ -23,8 +23,6 @@ import org.apache.poi.sl.usermodel.Shape
/**
* Represents a Placeholder in PowerPoint.
- *
- * @author Yegor Kozlov
*/
public final class HSLFPlaceholder extends HSLFTextBox {
@@ -48,7 +46,7 @@ public final class HSLFPlaceholder exten
@Override
protected EscherContainerRecord createSpContainer(boolean isChild){
EscherContainerRecord ecr = super.createSpContainer(isChild);
-
+
setPlaceholder(Placeholder.BODY);
return ecr;
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSheet.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSheet.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSheet.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSheet.java Wed Apr 14 22:53:33 2021
@@ -47,14 +47,11 @@ import org.apache.poi.util.Internal;
/**
* This class defines the common format of "Sheets" in a powerpoint
* document. Such sheets could be Slides, Notes, Master etc
- *
- * @author Nick Burch
- * @author Yegor Kozlov
*/
public abstract class HSLFSheet implements HSLFShapeContainer, Sheet<HSLFShape,HSLFTextParagraph> {
/**
- * The <code>SlideShow</code> we belong to
+ * The {@code SlideShow} we belong to
*/
private HSLFSlideShow _slideShow;
@@ -69,9 +66,9 @@ public abstract class HSLFSheet implemen
* for notes it is org.apache.poi.hslf.record.Notes,
* for slide masters it is org.apache.poi.hslf.record.SlideMaster, etc.
*/
- private SheetContainer _container;
+ private final SheetContainer _container;
- private int _sheetNo;
+ private final int _sheetNo;
public HSLFSheet(SheetContainer container, int sheetNo) {
_container = container;
@@ -130,7 +127,7 @@ public abstract class HSLFSheet implemen
if (_slideShow != null) {
throw new HSLFException("Can't change existing slideshow reference");
}
-
+
_slideShow = ss;
List<List<HSLFTextParagraph>> trs = getTextParagraphs();
if (trs == null) {
@@ -177,14 +174,14 @@ public abstract class HSLFSheet implemen
EscherContainerRecord sp = (EscherContainerRecord)r;
HSLFShape sh = HSLFShapeFactory.createShape(sp, null);
sh.setSheet(this);
-
+
if (sh instanceof HSLFSimpleShape) {
HSLFHyperlink link = HSLFHyperlink.find(sh);
if (link != null) {
((HSLFSimpleShape)sh).setHyperlink(link);
}
}
-
+
shapeList.add(sh);
}
@@ -224,7 +221,7 @@ public abstract class HSLFSheet implemen
* Removes the specified shape from this sheet.
*
* @param shape shape to be removed from this sheet, if present.
- * @return <tt>true</tt> if the shape was deleted.
+ * @return {@code true} if the shape was deleted.
*/
@Override
public boolean removeShape(HSLFShape shape) {
@@ -287,8 +284,6 @@ public abstract class HSLFSheet implemen
/**
* Subclasses should call this method and update the array of text runs
* when a text shape is added
- *
- * @param shape
*/
protected void onAddTextShape(HSLFTextShape shape) {
}
@@ -297,7 +292,7 @@ public abstract class HSLFSheet implemen
* Return placeholder by text type
*
* @param type type of text, See {@link org.apache.poi.hslf.record.TextHeaderAtom}
- * @return <code>TextShape</code> or <code>null</code>
+ * @return {@code TextShape} or {@code null}
*/
public HSLFTextShape getPlaceholderByTextType(int type){
for (HSLFShape shape : getShapes()) {
@@ -330,7 +325,7 @@ public abstract class HSLFSheet implemen
}
/**
- * Return programmable tag associated with this sheet, e.g. <code>___PPT12</code>.
+ * Return programmable tag associated with this sheet, e.g. {@code ___PPT12}.
*
* @return programmable tag associated with this sheet.
*/
@@ -452,7 +447,7 @@ public abstract class HSLFSheet implemen
addShape(s);
return s;
}
-
+
/**
* Header / Footer settings for this slide.
*
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlide.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlide.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlide.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlide.java Wed Apr 14 22:53:33 2021
@@ -33,7 +33,6 @@ import org.apache.poi.hslf.record.ColorS
import org.apache.poi.hslf.record.Comment2000;
import org.apache.poi.hslf.record.EscherTextboxWrapper;
import org.apache.poi.hslf.record.HeadersFootersContainer;
-import org.apache.poi.hslf.record.Record;
import org.apache.poi.hslf.record.RecordContainer;
import org.apache.poi.hslf.record.RecordTypes;
import org.apache.poi.hslf.record.SSSlideInfoAtom;
@@ -54,9 +53,6 @@ import org.apache.poi.sl.usermodel.TextS
* This class represents a slide in a PowerPoint Document. It allows
* access to the text within, and the layout. For now, it only does
* the text side of things though
- *
- * @author Nick Burch
- * @author Yegor Kozlov
*/
public final class HSLFSlide extends HSLFSheet implements Slide<HSLFShape,HSLFTextParagraph> {
@@ -154,9 +150,10 @@ public final class HSLFSlide extends HSL
* Called by SlideShow ater a new slide is created.
* <p>
* For Slide we need to do the following:
- * <li> set id of the drawing group.
- * <li> set shapeId for the container descriptor and background
- * </p>
+ * <ul>
+ * <li> set id of the drawing group.</li>
+ * <li> set shapeId for the container descriptor and background</li>
+ * </ul>
*/
@Override
public void onCreate(){
@@ -191,9 +188,9 @@ public final class HSLFSlide extends HSL
}
/**
- * Create a <code>TextBox</code> object that represents the slide's title.
+ * Create a {@code TextBox} object that represents the slide's title.
*
- * @return <code>TextBox</code> object that represents the slide's title.
+ * @return {@code TextBox} object that represents the slide's title.
*/
public HSLFTextBox addTitle() {
HSLFPlaceholder pl = new HSLFPlaceholder();
@@ -211,8 +208,8 @@ public final class HSLFSlide extends HSL
/**
* <p>
- * The title is a run of text of type <code>TextHeaderAtom.CENTER_TITLE_TYPE</code> or
- * <code>TextHeaderAtom.TITLE_TYPE</code>
+ * The title is a run of text of type {@code TextHeaderAtom.CENTER_TITLE_TYPE} or
+ * {@code TextHeaderAtom.TITLE_TYPE}
* </p>
*
* @see TextHeaderAtom
@@ -259,7 +256,7 @@ public final class HSLFSlide extends HSL
}
/**
- * @return set of records inside <code>SlideListWithtext</code> container
+ * @return set of records inside {@code SlideListWithtext} container
* which hold text data for this slide (typically for placeholders).
*/
protected SlideAtomsSet getSlideAtomsSet() { return _atomSet; }
@@ -298,8 +295,8 @@ public final class HSLFSlide extends HSL
/**
* Sets whether this slide follows master background
*
- * @param flag <code>true</code> if the slide follows master,
- * <code>false</code> otherwise
+ * @param flag {@code true} if the slide follows master,
+ * {@code false} otherwise
*/
@Override
public void setFollowMasterBackground(boolean flag){
@@ -310,8 +307,8 @@ public final class HSLFSlide extends HSL
/**
* Whether this slide follows master sheet background
*
- * @return <code>true</code> if the slide follows master background,
- * <code>false</code> otherwise
+ * @return {@code true} if the slide follows master background,
+ * {@code false} otherwise
*/
@Override
public boolean getFollowMasterBackground(){
@@ -322,8 +319,8 @@ public final class HSLFSlide extends HSL
/**
* Sets whether this slide draws master sheet objects
*
- * @param flag <code>true</code> if the slide draws master sheet objects,
- * <code>false</code> otherwise
+ * @param flag {@code true} if the slide draws master sheet objects,
+ * {@code false} otherwise
*/
@Override
public void setFollowMasterObjects(boolean flag){
@@ -334,8 +331,8 @@ public final class HSLFSlide extends HSL
/**
* Whether this slide follows master color scheme
*
- * @return <code>true</code> if the slide follows master color scheme,
- * <code>false</code> otherwise
+ * @return {@code true} if the slide follows master color scheme,
+ * {@code false} otherwise
*/
public boolean getFollowMasterScheme(){
SlideAtom sa = getSlideRecord().getSlideAtom();
@@ -345,8 +342,8 @@ public final class HSLFSlide extends HSL
/**
* Sets whether this slide draws master color scheme
*
- * @param flag <code>true</code> if the slide draws master color scheme,
- * <code>false</code> otherwise
+ * @param flag {@code true} if the slide draws master color scheme,
+ * {@code false} otherwise
*/
public void setFollowMasterScheme(boolean flag){
SlideAtom sa = getSlideRecord().getSlideAtom();
@@ -356,8 +353,8 @@ public final class HSLFSlide extends HSL
/**
* Whether this slide draws master sheet objects
*
- * @return <code>true</code> if the slide draws master sheet objects,
- * <code>false</code> otherwise
+ * @return {@code true} if the slide draws master sheet objects,
+ * {@code false} otherwise
*/
@Override
public boolean getFollowMasterObjects(){
@@ -403,6 +400,7 @@ public final class HSLFSlide extends HSL
* PPT 2003 files. Doesn't work for PPT 97
* ones, as they do their comments oddly.
*/
+ @Override
public List<HSLFComment> getComments() {
final List<HSLFComment> comments = new ArrayList<>();
// If there are any, they're in
@@ -427,6 +425,7 @@ public final class HSLFSlide extends HSL
*
* @return Header / Footer settings for this slide
*/
+ @Override
public HeadersFooters getHeadersFooters(){
return new HeadersFooters(this, HeadersFootersContainer.SlideHeadersFootersContainer);
}
@@ -473,7 +472,7 @@ public final class HSLFSlide extends HSL
Drawable draw = drawFact.getDrawable(this);
draw.draw(graphics);
}
-
+
@Override
public boolean getFollowMasterColourScheme() {
return false;
@@ -482,7 +481,7 @@ public final class HSLFSlide extends HSL
@Override
public void setFollowMasterColourScheme(boolean follow) {
}
-
+
@Override
public boolean getFollowMasterGraphics() {
return getFollowMasterObjects();
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideMaster.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideMaster.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideMaster.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideMaster.java Wed Apr 14 22:53:33 2021
@@ -33,8 +33,6 @@ import org.apache.poi.util.Internal;
* SlideMaster determines the graphics, layout, and formatting for all the slides in a given presentation.
* It stores information about default font styles, placeholder sizes and positions,
* background design, and color schemes.
- *
- * @author Yegor Kozlov
*/
public final class HSLFSlideMaster extends HSLFMasterSheet {
private final List<List<HSLFTextParagraph>> _paragraphs = new ArrayList<>();
@@ -80,11 +78,11 @@ public final class HSLFSlideMaster exten
* If {@code name = "*"} return the current collection, otherwise if the name is not found
* in the current selection of txtype/level/name, first try lower levels then try parent types,
* if it wasn't found there return {@code null}.
- *
+ *
* @param txtype the {@link TextHeaderAtom} type
* @param level the indent level of the paragraph, if the level is not defined for the found
* collection, the highest existing level will be used
- * @param name the property name,
+ * @param name the property name,
* @param isCharacter if {@code true} use character styles, otherwise use paragraph styles
*/
@Override
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSoundData.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSoundData.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSoundData.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSoundData.java Wed Apr 14 22:53:33 2021
@@ -23,8 +23,6 @@ import java.util.ArrayList;
/**
* A class that represents sound data embedded in a slide show.
- *
- * @author Yegor Kozlov
*/
public final class HSLFSoundData {
/**
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFTable.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFTable.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFTable.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFTable.java Wed Apr 14 22:53:33 2021
@@ -40,8 +40,6 @@ import org.apache.poi.util.Units;
/**
* Represents a table in a PowerPoint presentation
- *
- * @author Yegor Kozlov
*/
public final class HSLFTable extends HSLFGroupShape
implements HSLFShapeContainer, TableShape<HSLFShape,HSLFTextParagraph> {
@@ -186,10 +184,10 @@ implements HSLFShapeContainer, TableShap
if (htc.isEmpty()) {
throw new IllegalStateException("HSLFTable without HSLFTableCells");
}
-
+
SortedSet<Double> colSet = new TreeSet<>();
SortedSet<Double> rowSet = new TreeSet<>();
-
+
// #1 pass - determine cols and rows
for (HSLFTableCell sh : htc) {
Rectangle2D anchor = sh.getAnchor();
@@ -197,10 +195,10 @@ implements HSLFShapeContainer, TableShap
rowSet.add(anchor.getY());
}
cells = new HSLFTableCell[rowSet.size()][colSet.size()];
-
+
List<Double> colLst = new ArrayList<>(colSet);
List<Double> rowLst = new ArrayList<>(rowSet);
-
+
// #2 pass - assign shape to table cells
for (HSLFTableCell sh : htc) {
Rectangle2D anchor = sh.getAnchor();
@@ -208,14 +206,14 @@ implements HSLFShapeContainer, TableShap
int col = colLst.indexOf(anchor.getX());
assert(row != -1 && col != -1);
cells[row][col] = sh;
-
+
// determine gridSpan / rowSpan
int gridSpan = calcSpan(colLst, anchor.getWidth(), col);
int rowSpan = calcSpan(rowLst, anchor.getHeight(), row);
-
+
sh.setGridSpan(gridSpan);
sh.setRowSpan(rowSpan);
- }
+ }
}
private int calcSpan(List<Double> spaces, double totalSpace, int idx) {
@@ -227,7 +225,7 @@ implements HSLFShapeContainer, TableShap
}
return span;
}
-
+
static class LineRect {
final HSLFLine l;
final double lx1, lx2, ly1, ly2;
@@ -356,10 +354,10 @@ implements HSLFShapeContainer, TableShap
if (row < 0 || row >= cells.length) {
throw new IllegalArgumentException("Row index '"+row+"' is not within range [0-"+(cells.length-1)+"]");
}
-
+
return cells[row][0].getAnchor().getHeight();
}
-
+
@Override
public void setRowHeight(int row, final double height) {
if (row < 0 || row >= cells.length) {
@@ -373,7 +371,7 @@ implements HSLFShapeContainer, TableShap
double currentHeight = Units.masterToPoints(LittleEndian.getInt(masterBytes, 0));
LittleEndian.putInt(masterBytes, 0, Units.pointsToMaster(height));
p.setElement(row, masterBytes);
-
+
// move the cells
double dy = height - currentHeight;
for (int i = row; i < cells.length; i++) {
@@ -400,7 +398,7 @@ implements HSLFShapeContainer, TableShap
if (col < 0 || col >= cells[0].length) {
throw new IllegalArgumentException("Column index '"+col+"' is not within range [0-"+(cells[0].length-1)+"]");
}
-
+
// TODO: check for merged cols
return cells[0][col].getAnchor().getWidth();
}
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFTextBox.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFTextBox.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFTextBox.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFTextBox.java Wed Apr 14 22:53:33 2021
@@ -29,9 +29,6 @@ import org.apache.poi.sl.usermodel.Verti
* <p>
* Contains the text in a text frame as well as the properties and methods
* that control alignment and anchoring of the text.
- * </p>
- *
- * @author Yegor Kozlov
*/
public class HSLFTextBox extends HSLFTextShape implements TextBox<HSLFShape,HSLFTextParagraph> {
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hssf/converter/AbstractExcelConverter.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hssf/converter/AbstractExcelConverter.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hssf/converter/AbstractExcelConverter.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hssf/converter/AbstractExcelConverter.java Wed Apr 14 22:53:33 2021
@@ -33,7 +33,6 @@ import org.w3c.dom.Document;
/**
* Common class for {@link ExcelToFoConverter} and {@link ExcelToHtmlConverter}
*
- * @author Sergey Vladimirov (vlsergey {at} gmail {dot} com)
* @see AbstractWordConverter
*/
@Beta
@@ -67,7 +66,7 @@ public abstract class AbstractExcelConve
/**
* Generates name for output as column header in case
- * <tt>{@link #isOutputColumnHeaders()} == true</tt>
+ * {@link #isOutputColumnHeaders()}{@code == true}
*
* @param columnIndex
* 0-based column index
@@ -86,7 +85,7 @@ public abstract class AbstractExcelConve
/**
* Generates name for output as row number in case
- * <tt>{@link #isOutputRowNumbers()} == true</tt>
+ * {@link #isOutputRowNumbers()}{@code == true}
*/
protected String getRowName( HSSFRow row )
{
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hssf/converter/AbstractExcelUtils.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hssf/converter/AbstractExcelUtils.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hssf/converter/AbstractExcelUtils.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hssf/converter/AbstractExcelUtils.java Wed Apr 14 22:53:33 2021
@@ -160,7 +160,7 @@ class AbstractExcelUtils {
* @param mergedRanges map of sheet merged ranges built with
* {@link #buildMergedRangesMap(Sheet)}
* @return {@link CellRangeAddress} from map if cell with specified row and
- * column numbers contained in found range, <tt>null</tt> otherwise
+ * column numbers contained in found range, {@code null} otherwise
*/
public static CellRangeAddress getMergedRange(
CellRangeAddress[][] mergedRanges, int rowNumber, int columnNumber) {
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hssf/converter/ExcelToFoConverter.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hssf/converter/ExcelToFoConverter.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hssf/converter/ExcelToFoConverter.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hssf/converter/ExcelToFoConverter.java Wed Apr 14 22:53:33 2021
@@ -170,11 +170,11 @@ public class ExcelToFoConverter extends
}
/**
- * Returns <tt>false</tt> if cell style by itself (without text, i.e.
- * borders, fill, etc.) worth a mention, <tt>true</tt> otherwise
+ * Returns {@code false} if cell style by itself (without text, i.e.
+ * borders, fill, etc.) worth a mention, {@code true} otherwise
*
- * @return <tt>false</tt> if cell style by itself (without text, i.e.
- * borders, fill, etc.) worth a mention, <tt>true</tt> otherwise
+ * @return {@code false} if cell style by itself (without text, i.e.
+ * borders, fill, etc.) worth a mention, {@code true} otherwise
*/
protected boolean isEmptyStyle(CellStyle cellStyle) {
return cellStyle == null || (
@@ -423,7 +423,7 @@ public class ExcelToFoConverter extends
/**
* Creates COLGROUP element with width specified for all columns. (Except
- * first if <tt>{@link #isOutputRowNumbers()}==true</tt>)
+ * first if {@link #isOutputRowNumbers()}{@code ==true})
*
* @return table width in inches
*/
@@ -670,7 +670,7 @@ public class ExcelToFoConverter extends
/**
* Process single sheet (as specified by 0-based sheet index)
*
- * @return <tt>true</tt> if result were added to FO document, <tt>false</tt>
+ * @return {@code true} if result were added to FO document, {@code false}
* otherwise
*/
protected boolean processSheet(HSSFWorkbook workbook, int sheetIndex) {
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hssf/converter/ExcelToHtmlConverter.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hssf/converter/ExcelToHtmlConverter.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hssf/converter/ExcelToHtmlConverter.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hssf/converter/ExcelToHtmlConverter.java Wed Apr 14 22:53:33 2021
@@ -69,7 +69,7 @@ public class ExcelToHtmlConverter extend
private static final Logger LOG = LogManager.getLogger(ExcelToHtmlConverter.class);
/**
- * Java main() interface to interact with {@link ExcelToHtmlConverter}
+ * Java main() interface to interact with ExcelToHtmlConverter
*
* <p>
* Usage: ExcelToHtmlConverter infile outfile
@@ -266,13 +266,14 @@ public class ExcelToHtmlConverter extend
return cssClassPrefixTable;
}
+ @Override
public Document getDocument() {
return htmlDocumentFacade.getDocument();
}
protected String getStyleClassName(HSSFWorkbook workbook,
HSSFCellStyle cellStyle) {
- final Short cellStyleKey = Short.valueOf(cellStyle.getIndex());
+ final Short cellStyleKey = cellStyle.getIndex();
String knownClass = excelStyleToClass.get(cellStyleKey);
if (knownClass != null) {
@@ -446,7 +447,7 @@ public class ExcelToHtmlConverter extend
/**
* Creates COLGROUP element with width specified for all columns. (Except
- * first if <tt>{@link #isOutputRowNumbers()}==true</tt>)
+ * first if {@link #isOutputRowNumbers()}{@code ==true})
*/
protected void processColumnWidths(HSSFSheet sheet, int maxSheetColumns,
Element table) {
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/NumberFormatter.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/NumberFormatter.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/NumberFormatter.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/NumberFormatter.java Wed Apr 14 22:53:33 2021
@@ -25,8 +25,6 @@ import org.apache.poi.util.Beta;
/**
* Utility class to translate numbers in letters, usually for lists.
- *
- * @author Sergey Vladimirov (vlsergey {at} gmail {dot} com)
*/
@Beta
public final class NumberFormatter {
@@ -61,7 +59,7 @@ public final class NumberFormatter {
return String.valueOf( num );
}
}
-
+
private static String toLetters(int number) {
if ( number <= 0 ) {
throw new IllegalArgumentException( "Unsupported number: " + number );
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/PicturesManager.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/PicturesManager.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/PicturesManager.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/PicturesManager.java Wed Apr 14 22:53:33 2021
@@ -21,8 +21,6 @@ import org.apache.poi.util.Beta;
/**
* User-implemented pictures manager to store images on-disk
- *
- * @author Sergey Vladimirov (vlsergey {at} gmail {dot} com)
*/
@Beta
public interface PicturesManager
@@ -35,7 +33,7 @@ public interface PicturesManager
* {@link PictureType#TIFF}, but rarely {@link PictureType#EMF} or
* {@link PictureType#WMF}. FO (Apache FOP) supports at least PNG and SVG
* types.
- *
+ *
* @param content
* picture content
* @param pictureType
@@ -50,7 +48,7 @@ public interface PicturesManager
* display height in inches (scaled). May be useful for rendering
* vector images (such as EMF or WMF)
* @return path to file that can be used as reference in HTML (img's src) of
- * XLS FO (fo:external-graphic's src) or <tt>null</tt> if image were
+ * XLS FO (fo:external-graphic's src) or {@code null} if image were
* not saved and should not be referenced from result HTML / FO.
*/
String savePicture( byte[] content, PictureType pictureType,
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/WordToFoConverter.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/WordToFoConverter.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/WordToFoConverter.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/WordToFoConverter.java Wed Apr 14 22:53:33 2021
@@ -58,9 +58,6 @@ import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.w3c.dom.Text;
-/**
- * @author Sergey Vladimirov (vlsergey {at} gmail {dot} com)
- */
@Beta
public class WordToFoConverter extends AbstractWordConverter
{
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/WordToHtmlConverter.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/WordToHtmlConverter.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/WordToHtmlConverter.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/WordToHtmlConverter.java Wed Apr 14 22:53:33 2021
@@ -67,8 +67,8 @@ import org.w3c.dom.Text;
public class WordToHtmlConverter extends AbstractWordConverter
{
/**
- * Holds properties values, applied to current <tt>p</tt> element. Those
- * properties shall not be doubled in children <tt>span</tt> elements.
+ * Holds properties values, applied to current {@code p} element. Those
+ * properties shall not be doubled in children {@code span} elements.
*/
private static class BlockProperies
{
@@ -91,7 +91,7 @@ public class WordToHtmlConverter extends
private Element notes;
/**
- * Creates new instance of {@link WordToHtmlConverter}. Can be used for
+ * Creates new instance of WordToHtmlConverter. Can be used for
* output several {@link HWPFDocument}s into single HTML document.
*
* @param document XML DOM Document used as HTML document
@@ -132,7 +132,7 @@ public class WordToHtmlConverter extends
}
/**
- * Java main() interface to interact with {@link WordToHtmlConverter}<p>
+ * Java main() interface to interact with WordToHtmlConverter<p>
*
* Usage: WordToHtmlConverter infile outfile<p>
*
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/dev/FieldIterator.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/dev/FieldIterator.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/dev/FieldIterator.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/dev/FieldIterator.java Wed Apr 14 22:53:33 2021
@@ -20,11 +20,7 @@ package org.apache.poi.hwpf.dev;
import org.apache.poi.util.Internal;
/**
- * <p>
* For iterating through our fields. Used during model classes autogeneration.
- * </p>
- *
- * @author Glen Stampoultzis (glens at apache.org)
*/
@Internal
public class FieldIterator
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/dev/HWPFLister.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/dev/HWPFLister.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/dev/HWPFLister.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/dev/HWPFLister.java Wed Apr 14 22:53:33 2021
@@ -69,9 +69,6 @@ import org.apache.poi.util.LittleEndian;
/**
* Used by developers to list out key information on a HWPF file. End users will
* probably never need to use this program.
- *
- * @author Nick Burch (nick at torchbox dot com)
- * @author Sergey Vladimirov (vlsergey at gmail dot com)
*/
@Beta
public final class HWPFLister {
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/dev/RecordUtil.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/dev/RecordUtil.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/dev/RecordUtil.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/dev/RecordUtil.java Wed Apr 14 22:53:33 2021
@@ -23,9 +23,6 @@ import org.apache.poi.util.StringUtil;
/**
* Helper functions for the record transformations. Used during model classes
* autogeneration.
- *
- * @author Glen Stampoultzis (glens at apache.org)
- * @author Andrew C. Oliver (acoliver at apache dot org)
*/
@Internal
public class RecordUtil
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/extractor/Word6Extractor.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/extractor/Word6Extractor.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/extractor/Word6Extractor.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/extractor/Word6Extractor.java Wed Apr 14 22:53:33 2021
@@ -33,8 +33,6 @@ import org.apache.poi.poifs.filesystem.P
* This should only be used on the older files, for most uses you
* should call {@link WordExtractor} which deals properly
* with HWPF.
- *
- * @author Nick Burch
*/
public final class Word6Extractor implements POIOLE2TextExtractor {
private HWPFOldDocument doc;
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/extractor/WordExtractor.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/extractor/WordExtractor.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/extractor/WordExtractor.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/extractor/WordExtractor.java Wed Apr 14 22:53:33 2021
@@ -35,8 +35,6 @@ import org.apache.poi.poifs.filesystem.P
*
* You should use either getParagraphText() or getText() unless you have a
* strong reason otherwise.
- *
- * @author Nick Burch
*/
public final class WordExtractor implements POIOLE2TextExtractor {
private final HWPFDocument doc;
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/CHPBinTable.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/CHPBinTable.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/CHPBinTable.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/CHPBinTable.java Wed Apr 14 22:53:33 2021
@@ -46,8 +46,6 @@ import static org.apache.logging.log4j.u
/**
* This class holds all of the character formatting properties.
- *
- * @author Ryan Ackley
*/
@Internal
public class CHPBinTable
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/CHPFormattedDiskPage.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/CHPFormattedDiskPage.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/CHPFormattedDiskPage.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/CHPFormattedDiskPage.java Wed Apr 14 22:53:33 2021
@@ -40,8 +40,6 @@ import org.apache.poi.util.RecordFormatE
* CHP and PAP fkps also store the compressed styles(grpprl) that correspond to
* the offsets on the front of the fkp. The offset of the grpprls is determined
* differently for CHP fkps and PAP fkps.
- *
- * @author Ryan Ackley
*/
@Internal
public final class CHPFormattedDiskPage extends FormattedDiskPage
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/DocumentProperties.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/DocumentProperties.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/DocumentProperties.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/DocumentProperties.java Wed Apr 14 22:53:33 2021
@@ -24,11 +24,6 @@ import org.apache.poi.hwpf.model.types.D
import org.apache.poi.util.IOUtils;
import org.apache.poi.util.Internal;
-/**
- * Comment me
- *
- * @author Ryan Ackley
- */
@Internal
public final class DocumentProperties extends DOPAbstractType
{
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FFData.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FFData.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FFData.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FFData.java Wed Apr 14 22:53:33 2021
@@ -28,17 +28,6 @@ import org.apache.poi.util.LittleEndianC
/**
* The FFData structure specifies form field data for a text box, check box, or
* drop-down list box.
- * <p>
- * Class and fields descriptions are quoted from [MS-DOC] -- v20121003 Word
- * (.doc) Binary File Format; Copyright (c) 2012 Microsoft Corporation; Release:
- * October 8, 2012
- * <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] -- v20121003 Word (.doc)
- * Binary File Format; Copyright (c) 2012 Microsoft Corporation;
- * Release: October 8, 2012
*/
@Internal
public class FFData
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FFDataBase.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FFDataBase.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FFDataBase.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FFDataBase.java Wed Apr 14 22:53:33 2021
@@ -29,10 +29,6 @@ import org.apache.poi.util.Internal;
* <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] -- v20121003 Word (.doc)
- * Binary File Format; Copyright (c) 2012 Microsoft Corporation;
- * Release: October 8, 2012
*/
@Internal
public class FFDataBase extends FFDataBaseAbstractType
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FSPA.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FSPA.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FSPA.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FSPA.java Wed Apr 14 22:53:33 2021
@@ -22,8 +22,6 @@ import org.apache.poi.util.Internal;
/**
* File Shape Address structure
- *
- * @author Squeeself
*/
@Internal
public final class FSPA extends FSPAAbstractType
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/Ffn.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/Ffn.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/Ffn.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/Ffn.java Wed Apr 14 22:53:33 2021
@@ -30,8 +30,6 @@ import org.apache.poi.util.LittleEndianC
* FFN - Font Family Name. FFN is a data structure that stores the names of the Main
* Font and that of Alternate font as an array of characters. It has also a header
* that stores info about the whole structure and the fonts
- *
- * @author Praveen Mathew
*/
@Internal
public final class Ffn
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FibBase.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FibBase.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FibBase.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FibBase.java Wed Apr 14 22:53:33 2021
@@ -27,10 +27,6 @@ import org.apache.poi.util.Internal;
* <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.
- *
- * @author Andrew C. Oliver; 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 class FibBase extends FibBaseAbstractType {
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FibRgLw95.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FibRgLw95.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FibRgLw95.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FibRgLw95.java Wed Apr 14 22:53:33 2021
@@ -22,16 +22,9 @@ import org.apache.poi.util.Internal;
/**
* The FibRgLw97 structure is the third section of the FIB. This contains an
* array of 4-byte values.
- * <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
- *
- * @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
-class FibRgLw95 extends FibRgLw95AbstractType implements FibRgLw
+class FibRgLw95 extends FibRgLw95AbstractType implements FibRgLw
{
public FibRgLw95()
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FibRgLw97.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FibRgLw97.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FibRgLw97.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FibRgLw97.java Wed Apr 14 22:53:33 2021
@@ -25,10 +25,6 @@ import org.apache.poi.util.Internal;
* <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
- *
- * @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 class FibRgLw97 extends FibRgLw97AbstractType implements FibRgLw
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FibRgW97.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FibRgW97.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FibRgW97.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FibRgW97.java Wed Apr 14 22:53:33 2021
@@ -23,13 +23,6 @@ import org.apache.poi.util.Internal;
/**
* 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.
- *
- * @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 class FibRgW97 extends FibRgW97AbstractType
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FieldDescriptor.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FieldDescriptor.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FieldDescriptor.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FieldDescriptor.java Wed Apr 14 22:53:33 2021
@@ -22,8 +22,6 @@ import org.apache.poi.util.Internal;
/**
* Class for the FLD structure.
- *
- * @author Cedric Bosdonnat <cb...@novell.com>
*/
@Internal
public final class FieldDescriptor extends FLDAbstractType
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FieldsTables.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FieldsTables.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FieldsTables.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FieldsTables.java Wed Apr 14 22:53:33 2021
@@ -29,9 +29,6 @@ import org.apache.poi.util.Internal;
/**
* This class provides access to all the fields Plex.
- *
- * @author Cedric Bosdonnat <cb...@novell.com>
- *
*/
@Internal
public class FieldsTables
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FontTable.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FontTable.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FontTable.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FontTable.java Wed Apr 14 22:53:33 2021
@@ -32,8 +32,6 @@ import org.apache.poi.util.LittleEndianC
* Word files. The sttbfffn is an sttbf where each string is an FFN structure instead
* of pascal-style strings. An sttbf is a string Table stored in file. Thus sttbffn
* is like an Sttbf with an array of FFN structures that stores the font name strings
- *
- * @author Praveen Mathew
*/
@Internal
public final class FontTable
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FormattedDiskPage.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FormattedDiskPage.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FormattedDiskPage.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/FormattedDiskPage.java Wed Apr 14 22:53:33 2021
@@ -37,8 +37,6 @@ import org.apache.poi.util.LittleEndian;
* CHP and PAP fkps also store the compressed styles(grpprl) that correspond to
* the offsets on the front of the fkp. The offset of the grpprls is determined
* differently for CHP fkps and PAP fkps.
- *
- * @author Ryan Ackley
*/
@Internal
public abstract class FormattedDiskPage {
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/Grfhic.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/Grfhic.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/Grfhic.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/Grfhic.java Wed Apr 14 22:53:33 2021
@@ -24,15 +24,6 @@ import org.apache.poi.util.Internal;
* 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>
- * 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
*/
@Internal
public class Grfhic extends GrfhicAbstractType
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/LFO.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/LFO.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/LFO.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/LFO.java Wed Apr 14 22:53:33 2021
@@ -23,10 +23,7 @@ import org.apache.poi.hwpf.model.types.L
/**
* "The LFO structure specifies the LSTF element that corresponds to a list that
* contains a paragraph. An LFO can also specify formatting information that
- * overrides the LSTF element to which it corresponds." -- [MS-DOC] -- v20110315
- * Word (.doc) Binary File Format
- *
- * @author Sergey Vladimirov (vlsergey {at} gmail {dot} com)
+ * overrides the LSTF element to which it corresponds."
*/
@Internal
public class LFO extends LFOAbstractType
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/LFOData.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/LFOData.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/LFOData.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/LFOData.java Wed Apr 14 22:53:33 2021
@@ -29,8 +29,6 @@ import org.apache.poi.util.LittleEndianC
/**
* The LFOData structure contains the Main Document CP of the corresponding LFO,
* as well as an array of LVL override data.
- *
- * @author Sergey Vladimirov (vlsergey {at} gmail {dot} com)
*/
@Internal
public class LFOData
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/LFOLVLBase.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/LFOLVLBase.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/LFOLVLBase.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/LFOLVLBase.java Wed Apr 14 22:53:33 2021
@@ -24,10 +24,6 @@ import org.apache.poi.hwpf.model.types.L
* <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
- *
- * @author Sergey Vladimirov; according to Microsoft Office Word 97-2007 Binary
- * File Format Specification [*.doc] and [MS-DOC] - v20110608 Word
- * (.doc) Binary File Format
*/
class LFOLVLBase extends LFOLVLBaseAbstractType
{
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/LSTF.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/LSTF.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/LSTF.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/LSTF.java Wed Apr 14 22:53:33 2021
@@ -19,15 +19,7 @@ package org.apache.poi.hwpf.model;
import org.apache.poi.hwpf.model.types.LSTFAbstractType;
/**
- * 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
- *
- * @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 LSTF structure contains formatting properties that apply to an entire list.
*/
class LSTF extends LSTFAbstractType
{
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/LVLF.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/LVLF.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/LVLF.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/LVLF.java Wed Apr 14 22:53:33 2021
@@ -22,10 +22,6 @@ import org.apache.poi.util.Internal;
/**
* The LVLF structure contains formatting properties for an individual level in
* a list
- *
- * @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
class LVLF extends LVLFAbstractType
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/NoteType.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/NoteType.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/NoteType.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/NoteType.java Wed Apr 14 22:53:33 2021
@@ -15,15 +15,13 @@
limitations under the License.
==================================================================== */
-/**
- * Word document notes types (and their FIB field indices)
- *
- * @author Sergey Vladimirov (vlsergey {at} gmail {doc} com)
- */
package org.apache.poi.hwpf.model;
import org.apache.poi.util.Internal;
+/**
+ * Word document notes types (and their FIB field indices)
+ */
@Internal
public enum NoteType {
/** Ending note */
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/NotesTables.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/NotesTables.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/NotesTables.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/NotesTables.java Wed Apr 14 22:53:33 2021
@@ -24,8 +24,6 @@ import org.apache.poi.util.Internal;
/**
* Holds information about document notes (footnotes or ending notes)
- *
- * @author Sergey Vladimirov (vlsergey {at} gmail {doc} com)
*/
@Internal
public class NotesTables
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/OfficeArtContent.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/OfficeArtContent.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/OfficeArtContent.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/OfficeArtContent.java Wed Apr 14 22:53:33 2021
@@ -34,8 +34,6 @@ import static org.apache.logging.log4j.u
* Information about drawings in the document.
* <p>
* The {@code delay stream} referenced in {@code [MS-ODRAW]} is the {@code WordDocument} stream.
- *
- * @author Squeeself
*/
@Internal
public final class OfficeArtContent {
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/PAPFormattedDiskPage.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/PAPFormattedDiskPage.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/PAPFormattedDiskPage.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/PAPFormattedDiskPage.java Wed Apr 14 22:53:33 2021
@@ -41,8 +41,6 @@ import org.apache.poi.util.LittleEndian;
* CHP and PAP fkps also store the compressed styles(grpprl) that correspond to
* the offsets on the front of the fkp. The offset of the grpprls is determined
* differently for CHP fkps and PAP fkps.
- *
- * @author Ryan Ackley
*/
@Internal
public final class PAPFormattedDiskPage extends FormattedDiskPage {
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/PICF.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/PICF.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/PICF.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/PICF.java Wed Apr 14 22:53:33 2021
@@ -24,11 +24,6 @@ import org.apache.poi.util.Internal;
/**
* 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
- *
- * @author Sergey Vladimirov (vlsergey {at} gmail {dot} com)
*/
@Internal
public class PICF extends PICFAbstractType
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/PicturesTable.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/PicturesTable.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/PicturesTable.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/PicturesTable.java Wed Apr 14 22:53:33 2021
@@ -52,8 +52,6 @@ import org.apache.poi.util.LittleEndian;
* CharacterRun.isSpecial() returns true. The file location of the picture in the Word binary file is accessed
* via CharacterRun.getPicOffset(). The CharacterRun.getPicOffset() is a byte offset into the data stream.
* Beginning at the position recorded in picOffset, a header data structure, will be stored.
- *
- * @author Dmitry Romanov
*/
@Internal
public final class PicturesTable {
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/PlexOfField.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/PlexOfField.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/PlexOfField.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/PlexOfField.java Wed Apr 14 22:53:33 2021
@@ -25,8 +25,6 @@ import org.apache.poi.util.Internal;
/**
* Structure describing the Plex for fields (contained plclfd* in the spec).
- *
- * @author Cedric Bosdonnat <cb...@novell.com>
*/
@Internal
public class PlexOfField
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/PlfLfo.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/PlfLfo.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/PlfLfo.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/PlfLfo.java Wed Apr 14 22:53:33 2021
@@ -36,8 +36,6 @@ import static org.apache.logging.log4j.u
* <p>
* Documentation quoted from Page 424 of 621. [MS-DOC] -- v20110315 Word (.doc)
* Binary File Format
- *
- * @author Sergey Vladimirov (vlsergey {at} gmail {dot} com)
*/
public class PlfLfo
{
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/RevisionMarkAuthorTable.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/RevisionMarkAuthorTable.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/RevisionMarkAuthorTable.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/RevisionMarkAuthorTable.java Wed Apr 14 22:53:33 2021
@@ -28,8 +28,6 @@ import org.apache.poi.util.Internal;
/**
* String table containing the names of authors of revision marks, e-mails and
* comments in this document.
- *
- * @author Ryan Lauck
*/
@Internal
public final class RevisionMarkAuthorTable {
@@ -40,7 +38,7 @@ public final class RevisionMarkAuthorTab
/**
* Constructor to read the table from the table stream.
- *
+ *
* @param tableStream the table stream.
* @param offset the offset into the byte array.
* @param size the size of the table in the byte array.
@@ -53,16 +51,16 @@ public final class RevisionMarkAuthorTab
/**
* Gets the entries. The returned list cannot be modified.
- *
+ *
* @return the list of entries.
*/
public List<String> getEntries() {
return Collections.unmodifiableList(Arrays.asList(entries));
}
-
+
/**
* Get an author by its index. Returns null if it does not exist.
- *
+ *
* @return the revision mark author
*/
public String getAuthor(int index) {
@@ -72,10 +70,10 @@ public final class RevisionMarkAuthorTab
}
return auth;
}
-
+
/**
* Gets the number of entries.
- *
+ *
* @return the number of entries.
*/
public int getSize() {
@@ -84,7 +82,7 @@ public final class RevisionMarkAuthorTab
/**
* Writes this table to the table stream.
- *
+ *
* @param tableStream the table stream to write to.
* @throws IOException if an error occurs while writing.
*/
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/SavedByEntry.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/SavedByEntry.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/SavedByEntry.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/SavedByEntry.java Wed Apr 14 22:53:33 2021
@@ -24,8 +24,6 @@ import org.apache.poi.util.Internal;
/**
* A single entry in the {@link SavedByTable}.
- *
- * @author Daniel Noll
*/
@Internal
public final class SavedByEntry
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/SavedByTable.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/SavedByTable.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/SavedByTable.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/SavedByTable.java Wed Apr 14 22:53:33 2021
@@ -27,8 +27,6 @@ import org.apache.poi.util.Internal;
/**
* String table containing the history of the last few revisions ("saves") of
* the document. Read-only for the time being.
- *
- * @author Daniel Noll
*/
@Internal
public final class SavedByTable
@@ -40,7 +38,7 @@ public final class SavedByTable
/**
* Constructor to read the table from the table stream.
- *
+ *
* @param tableStream
* the table stream.
* @param offset
@@ -61,7 +59,7 @@ public final class SavedByTable
/**
* Gets the entries. The returned list cannot be modified.
- *
+ *
* @return the list of entries.
*/
public List<SavedByEntry> getEntries()
@@ -71,7 +69,7 @@ public final class SavedByTable
/**
* Writes this table to the table stream.
- *
+ *
* @param tableStream
* the table stream to write to.
* @throws IOException
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/Sttb.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/Sttb.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/Sttb.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/Sttb.java Wed Apr 14 22:53:33 2021
@@ -19,6 +19,7 @@ package org.apache.poi.hwpf.model;
import java.util.Arrays;
import org.apache.logging.log4j.LogManager;
+import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
import org.apache.poi.util.LittleEndianConsts;
import org.apache.poi.util.StringUtil;
@@ -27,18 +28,8 @@ import org.apache.poi.util.StringUtil;
* The STTB is a string table that is made up of a header that is followed by an
* array of elements. The cData value specifies the number of elements that are
* contained in the array.
- * <p>
- * Class and fields descriptions are quoted from [MS-DOC] -- v20121003 Word
- * (.doc) Binary File Format; Copyright (c) 2012 Microsoft Corporation; Release:
- * October 8, 2012
- * <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] -- v20121003 Word (.doc)
- * Binary File Format; Copyright (c) 2012 Microsoft Corporation;
- * Release: October 8, 2012
*/
+@Internal
public class Sttb
{
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/SttbUtils.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/SttbUtils.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/SttbUtils.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/SttbUtils.java Wed Apr 14 22:53:33 2021
@@ -23,8 +23,6 @@ import org.apache.poi.util.Internal;
/**
* Utils class for storing and reading "STring TaBle stored in File"
- *
- * @author Sergey Vladimirov (vlsergey {at} gmail {dot} com)
*/
@Internal
class SttbUtils
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/StyleDescription.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/StyleDescription.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/StyleDescription.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/StyleDescription.java Wed Apr 14 22:53:33 2021
@@ -33,11 +33,6 @@ import org.apache.poi.util.StringUtil;
import static org.apache.logging.log4j.util.Unbox.box;
-/**
- * Comment me
- *
- * @author Ryan Ackley
- */
@Internal
public final class StyleDescription {
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/StyleSheet.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/StyleSheet.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/StyleSheet.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/StyleSheet.java Wed Apr 14 22:53:33 2021
@@ -36,8 +36,6 @@ import org.apache.poi.util.LittleEndianC
* <p>
* Fields documentation is quotes from Microsoft Office Word 97-2007 Binary File
* Format (.doc) Specification, page 36 of 210
- *
- * @author Ryan Ackley
*/
@Internal
public final class StyleSheet {
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/SubdocumentType.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/SubdocumentType.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/SubdocumentType.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/SubdocumentType.java Wed Apr 14 22:53:33 2021
@@ -20,8 +20,6 @@ import org.apache.poi.util.Internal;
/**
* Document text parts that can have text pieces (CPs)
- *
- * @author Sergey Vladimirov (vlsergey {at} gmail {dot} com)
*/
@Internal
public enum SubdocumentType {
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/TextPieceTable.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/TextPieceTable.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/TextPieceTable.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/TextPieceTable.java Wed Apr 14 22:53:33 2021
@@ -38,8 +38,6 @@ import static org.apache.logging.log4j.u
* The piece table for matching up character positions to bits of text. This
* mostly works in bytes, but the TextPieces themselves work in characters. This
* does the icky convertion.
- *
- * @author Ryan Ackley
*/
@Internal
public class TextPieceTable implements CharIndexTranslator {
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/Xst.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/Xst.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/Xst.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/Xst.java Wed Apr 14 22:53:33 2021
@@ -24,13 +24,7 @@ import org.apache.poi.util.LittleEndian;
import org.apache.poi.util.LittleEndianConsts;
/**
- * The Xst structure is a string. The string is prepended by its length and is
- * not null-terminated.
- * <p>
- * Documentation quoted from Page 424 of 621. [MS-DOC] -- v20110315 Word (.doc)
- * Binary File Format
- *
- * @author Sergey Vladimirov (vlsergey {at} gmail {dot} com)
+ * The Xst structure is a string. The string is prepended by its length and is not null-terminated.
*/
public class Xst
{
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/DOPAbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/DOPAbstractType.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/DOPAbstractType.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/DOPAbstractType.java Wed Apr 14 22:53:33 2021
@@ -26,10 +26,6 @@ import org.apache.poi.util.LittleEndian;
/**
* Document Properties.
- * NOTE: This source is automatically generated please do not modify this file. Either subclass or
- * remove the record in src/records/definitions.
- *
- * @author S. Ryan Ackley
*/
@Internal
public abstract class DOPAbstractType {
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FFDataBaseAbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FFDataBaseAbstractType.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FFDataBaseAbstractType.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FFDataBaseAbstractType.java Wed Apr 14 22:53:33 2021
@@ -25,23 +25,7 @@ import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
/**
- * The FFData structure specifies form field data for a text
- box, check box, or drop-down list box. <p>Class and fields
- descriptions are quoted from [MS-DOC] -- v20121003 Word (.doc) Binary
- File Format; Copyright (c) 2012 Microsoft Corporation; Release:
- October 8, 2012
-
- * <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] -- v20121003 Word
- (.doc) Binary File Format; Copyright (c) 2012 Microsoft Corporation;
- Release: October 8, 2012
-
+ * The FFData structure specifies form field data for a text box, check box, or drop-down list box.
*/
@Internal
public abstract class FFDataBaseAbstractType
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FLDAbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FLDAbstractType.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FLDAbstractType.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FLDAbstractType.java Wed Apr 14 22:53:33 2021
@@ -22,15 +22,6 @@ import org.apache.poi.util.Internal;
/**
* Field Descriptor (FLD).
- * <p>
- * Class and fields descriptions are quoted from Microsoft Office Word 97-2007
- * Binary File Format
- *
- * NOTE: This source is automatically generated please do not modify this file.
- * Either subclass or remove the record in src/records/definitions.
- *
- * @author Sergey Vladimirov; according to Microsoft Office Word 97-2007 Binary
- * File Format Specification [*.doc]
*/
@Internal
public abstract class FLDAbstractType
@@ -137,7 +128,7 @@ public abstract class FLDAbstractType
/**
* Type of field boundary the FLD describes: 19 -- field begin mark, 20 --
* field separation mark; 21 -- field end mark
- *
+ *
* @return the ch field value.
*/
public byte getCh()
@@ -157,7 +148,7 @@ public abstract class FLDAbstractType
/**
* Reserved
- *
+ *
* @return the reserved field value.
*/
public byte getReserved()
@@ -177,7 +168,7 @@ public abstract class FLDAbstractType
/**
* Ignored for saved file
- *
+ *
* @return the fDiffer field value.
*/
public boolean isFDiffer()
@@ -198,7 +189,7 @@ public abstract class FLDAbstractType
/**
* ==1 when result still believes this field is an EMBED or LINK field
- *
+ *
* @return the fZombieEmbed field value.
*/
public boolean isFZombieEmbed()
@@ -219,7 +210,7 @@ public abstract class FLDAbstractType
/**
* ==1 when user has edited or formatted the result. == 0 otherwise
- *
+ *
* @return the fResultDirty field value.
*/
public boolean isFResultDirty()
@@ -240,7 +231,7 @@ public abstract class FLDAbstractType
/**
* ==1 when user has inserted text into or deleted text from the result
- *
+ *
* @return the fResultEdited field value.
*/
public boolean isFResultEdited()
@@ -260,7 +251,7 @@ public abstract class FLDAbstractType
/**
* ==1 when field is locked from recalculation
- *
+ *
* @return the fLocked field value.
*/
public boolean isFLocked()
@@ -281,7 +272,7 @@ public abstract class FLDAbstractType
/**
* ==1 whenever the result of the field is never to be shown
- *
+ *
* @return the fPrivateResult field value.
*/
public boolean isFPrivateResult()
@@ -302,7 +293,7 @@ public abstract class FLDAbstractType
/**
* ==1 when field is nested within another field
- *
+ *
* @return the fNested field value.
*/
public boolean isFNested()
@@ -322,7 +313,7 @@ public abstract class FLDAbstractType
/**
* ==1 when field has a field separator
- *
+ *
* @return the fHasSep field value.
*/
public boolean isFHasSep()
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FSPAAbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FSPAAbstractType.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FSPAAbstractType.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FSPAAbstractType.java Wed Apr 14 22:53:33 2021
@@ -23,19 +23,6 @@ import org.apache.poi.util.LittleEndian;
/**
* File Shape Address (FSPA).
- * <p>
- * Class and fields descriptions are quoted from Microsoft Office Word 97-2007
- * 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]
*/
@Internal
public abstract class FSPAAbstractType
@@ -370,7 +357,7 @@ public abstract class FSPAAbstractType
/**
* Sets the fBelowText field value.
- *
+ *
*/
@Internal
public void setFBelowText( boolean value )
@@ -379,7 +366,7 @@ public abstract class FSPAAbstractType
}
/**
- *
+ *
* @return the fBelowText field value.
*/
@Internal
@@ -390,7 +377,7 @@ public abstract class FSPAAbstractType
/**
* Sets the fAnchorLock field value.
- *
+ *
*/
@Internal
public void setFAnchorLock( boolean value )
@@ -399,7 +386,7 @@ public abstract class FSPAAbstractType
}
/**
- *
+ *
* @return the fAnchorLock field value.
*/
@Internal
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FibBaseAbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FibBaseAbstractType.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FibBaseAbstractType.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FibBaseAbstractType.java Wed Apr 14 22:53:33 2021
@@ -23,20 +23,7 @@ import org.apache.poi.util.LittleEndian;
/**
* Base part of the File information Block (FibBase). Holds the core part of the FIB,
- from the first 32 bytes. <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 Andrew C. Oliver; Sergey Vladimirov; according to Microsoft Office Word 97-2007 Binary
- File Format Specification [*.doc] and [MS-DOC] - v20110608 Word (.doc) Binary File Format
-
+ * from the first 32 bytes.
*/
@Internal
public abstract class FibBaseAbstractType
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FibRgLw95AbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FibRgLw95AbstractType.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FibRgLw95AbstractType.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FibRgLw95AbstractType.java Wed Apr 14 22:53:33 2021
@@ -25,16 +25,6 @@ import org.apache.poi.util.LittleEndian;
/**
* The FibRgLw95 structure is the third section of the FIB for Word95.
-
- * <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
-
*/
@Internal
public abstract class FibRgLw95AbstractType
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FibRgLw97AbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FibRgLw97AbstractType.java?rev=1888780&r1=1888779&r2=1888780&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FibRgLw97AbstractType.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/types/FibRgLw97AbstractType.java Wed Apr 14 22:53:33 2021
@@ -23,19 +23,7 @@ import org.apache.poi.util.LittleEndian;
/**
* The FibRgLw97 structure is the third section of the FIB. This contains an array of
- 4-byte values. <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
-
+ * 4-byte values.
*/
@Internal
public abstract class FibRgLw97AbstractType
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org