Class PageInformation
java.lang.Object
org.apache.pdfbox.jbig2.segments.PageInformation
- All Implemented Interfaces:
SegmentData
This class represents the segment type "Page information", 7.4.8 (page 73).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intprotected intshortintshortintintintgetWidth()voidinit(SegmentHeader header, SubInputStream sis) Parse the stream and read information of header.booleanbooleanbooleanbooleanboolean
-
Constructor Details
-
PageInformation
public PageInformation()
-
-
Method Details
-
init
public void init(SegmentHeader header, SubInputStream sis) throws InvalidHeaderValueException, IOException Description copied from interface:SegmentDataParse the stream and read information of header.- Specified by:
initin interfaceSegmentData- Parameters:
header- - The segments' header (to make referred-to segments available in data part).sis- - WrappedImageInputStreamintoSubInputStream.- Throws:
InvalidHeaderValueException- if the segment header value is invalidIOException- if an underlying IO operation fails
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
getResolutionX
public int getResolutionX() -
getResolutionY
public int getResolutionY() -
getDefaultPixelValue
public short getDefaultPixelValue() -
isCombinationOperatorOverrideAllowed
public boolean isCombinationOperatorOverrideAllowed() -
getCombinationOperator
-
isStriped
public boolean isStriped() -
getMaxStripeSize
public short getMaxStripeSize() -
isAuxiliaryBufferRequired
public boolean isAuxiliaryBufferRequired() -
mightContainRefinements
public boolean mightContainRefinements() -
isLossless
public boolean isLossless() -
getBitmapWidth
protected int getBitmapWidth() -
getBitmapHeight
protected int getBitmapHeight()
-