Minor formatting
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353590 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
550682d2b3
commit
7d6a1faa18
@ -35,9 +35,6 @@ public class TextPiece extends PropertyNode implements Comparable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param start Offset in main document stream.
|
* @param start Offset in main document stream.
|
||||||
* @param length The total length of the text in bytes. Note: 1 character
|
|
||||||
* does not necessarily refer to 1 byte.
|
|
||||||
* @param unicode true if this text is unicode.
|
|
||||||
*/
|
*/
|
||||||
public TextPiece(int start, int end, byte[] text, PieceDescriptor pd, int cpStart)
|
public TextPiece(int start, int end, byte[] text, PieceDescriptor pd, int cpStart)
|
||||||
throws UnsupportedEncodingException
|
throws UnsupportedEncodingException
|
||||||
|
@ -18,15 +18,13 @@
|
|||||||
package org.apache.poi.hwpf.model;
|
package org.apache.poi.hwpf.model;
|
||||||
|
|
||||||
|
|
||||||
import java.io.UnsupportedEncodingException;
|
import org.apache.poi.hwpf.model.io.HWPFOutputStream;
|
||||||
import java.io.IOException;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.ArrayList;
|
|
||||||
|
|
||||||
import org.apache.poi.poifs.common.POIFSConstants;
|
import org.apache.poi.poifs.common.POIFSConstants;
|
||||||
|
|
||||||
import org.apache.poi.hwpf.model.io.*;
|
import java.io.IOException;
|
||||||
|
import java.io.UnsupportedEncodingException;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Ryan Ackley
|
* @author Ryan Ackley
|
||||||
@ -66,7 +64,7 @@ public class TextPieceTable
|
|||||||
}
|
}
|
||||||
|
|
||||||
int firstPieceFilePosition = pieces[0].getFilePosition();
|
int firstPieceFilePosition = pieces[0].getFilePosition();
|
||||||
_cpMin = firstPieceFilePosition - fcMin;
|
_cpMin = firstPieceFilePosition - fcMin;
|
||||||
|
|
||||||
// using the PieceDescriptors, build our list of TextPieces.
|
// using the PieceDescriptors, build our list of TextPieces.
|
||||||
for (int x = 0; x < pieces.length; x++)
|
for (int x = 0; x < pieces.length; x++)
|
||||||
|
Loading…
Reference in New Issue
Block a user