public class TextRegionSegment extends RegionSegment
regionBitmapHeight, regionBitmapWidth, regionBitmapXLocation, regionBitmapYLocation, regionFlagsarithmeticDecoder, BITMAP, decoder, END_OF_FILE, END_OF_PAGE, END_OF_STRIPE, EXTENSION, huffmanDecoder, IMMEDIATE_GENERIC_REFINEMENT_REGION, IMMEDIATE_GENERIC_REGION, IMMEDIATE_HALFTONE_REGION, IMMEDIATE_LOSSLESS_GENERIC_REFINEMENT_REGION, IMMEDIATE_LOSSLESS_GENERIC_REGION, IMMEDIATE_LOSSLESS_HALFTONE_REGION, IMMEDIATE_LOSSLESS_TEXT_REGION, IMMEDIATE_TEXT_REGION, INTERMEDIATE_GENERIC_REFINEMENT_REGION, INTERMEDIATE_GENERIC_REGION, INTERMEDIATE_HALFTONE_REGION, INTERMEDIATE_TEXT_REGION, mmrDecoder, PAGE_INFORMATION, PATTERN_DICTIONARY, PROFILES, segmentHeader, SYMBOL_DICTIONARY, TABLES| Constructor and Description |
|---|
TextRegionSegment(JBIG2StreamDecoder streamDecoder,
boolean inlineImage) |
| Modifier and Type | Method and Description |
|---|---|
TextRegionFlags |
getTextRegionFlags() |
TextRegionHuffmanFlags |
getTextRegionHuffmanFlags() |
void |
readSegment() |
getSegmentHeader, readATValue, setSegmentHeaderpublic TextRegionSegment(JBIG2StreamDecoder streamDecoder, boolean inlineImage)
public void readSegment()
throws java.io.IOException,
JBIG2Exception
readSegment in class RegionSegmentjava.io.IOExceptionJBIG2Exceptionpublic TextRegionFlags getTextRegionFlags()
public TextRegionHuffmanFlags getTextRegionHuffmanFlags()