bug 59170: remove deprecated constructors in o.a.p.hwpf.usermodel.Paragraph
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748791 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
890afdc0f4
commit
07767097bb
@ -159,39 +159,6 @@ public class Paragraph extends Range implements Cloneable {
|
||||
protected ParagraphProperties _props;
|
||||
protected SprmBuffer _papx;
|
||||
|
||||
@Deprecated
|
||||
protected Paragraph( int startIdxInclusive, int endIdxExclusive,
|
||||
Table parent )
|
||||
{
|
||||
super( startIdxInclusive, endIdxExclusive, parent );
|
||||
|
||||
initAll();
|
||||
PAPX papx = _paragraphs.get( _parEnd - 1 );
|
||||
_props = papx.getParagraphProperties( _doc.getStyleSheet() );
|
||||
_papx = papx.getSprmBuf();
|
||||
_istd = papx.getIstd();
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
protected Paragraph( PAPX papx, Range parent )
|
||||
{
|
||||
super( Math.max( parent._start, papx.getStart() ), Math.min(
|
||||
parent._end, papx.getEnd() ), parent );
|
||||
_props = papx.getParagraphProperties( _doc.getStyleSheet() );
|
||||
_papx = papx.getSprmBuf();
|
||||
_istd = papx.getIstd();
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
protected Paragraph( PAPX papx, Range parent, int start )
|
||||
{
|
||||
super( Math.max( parent._start, start ), Math.min( parent._end,
|
||||
papx.getEnd() ), parent );
|
||||
_props = papx.getParagraphProperties( _doc.getStyleSheet() );
|
||||
_papx = papx.getSprmBuf();
|
||||
_istd = papx.getIstd();
|
||||
}
|
||||
|
||||
@Internal
|
||||
Paragraph( PAPX papx, ParagraphProperties properties, Range parent )
|
||||
{
|
||||
@ -213,12 +180,6 @@ public class Paragraph extends Range implements Cloneable {
|
||||
return _istd;
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public int type()
|
||||
{
|
||||
return TYPE_PARAGRAPH;
|
||||
}
|
||||
|
||||
public boolean isInTable()
|
||||
{
|
||||
return _props.getFInTable();
|
||||
|
Loading…
Reference in New Issue
Block a user