com.lowagie.text.rtf.parser.destinations

Class RtfDestinationShppict

public class RtfDestinationShppict extends RtfDestination

RtfDestinationShppict handles data destined for picture destinations

Since: 2.0.8

Author: Howard Shank (hgshank@yahoo.com)

Field Summary
intbbp
longbinaryLength
booleanbitmap
IntegerbitsPerPixel
StringBufferbuffer
static intBLIPUID
IntegercropBottom
IntegercropLeft
IntegercropRight
IntegercropTop
intdataFormat
ByteArrayOutputStreamdataOS
LongdesiredHeight
LongdesiredWidth
static intFORMAT_BINARY
static intFORMAT_HEXADECIMAL
Longheight
StringBufferhexChars
BooleaninlinePicture
static intNORMAL
intpictureType
Integerplanes
intpmmetafile
static intPIXEL_TWIPS_FACTOR
Constant for converting pixels to twips
Booleanscaled
IntegerscaleX
IntegerscaleY
intstate
Stringtag
IntegerunitsPerInch
Longwidth
IntegerwidthBytes
BooleanwordArt
Constructor Summary
RtfDestinationShppict()
RtfDestinationShppict(RtfParser parser)
Constructs a new RtfDestinationShppict.
Method Summary
booleanaddImage()
booleancloseDestination()
booleanhandleCharacter(int ch)
booleanhandleCloseGroup()
booleanhandleControlWord(RtfCtrlWordData ctrlWordData)
booleanhandleOpenGroup()
booleanhandleOpeningSubGroup()
voidsetToDefaults()
voidwriteBuffer()
voidwriteText(String value)

Field Detail

bbp

private int bbp

binaryLength

private long binaryLength

bitmap

private boolean bitmap

bitsPerPixel

private Integer bitsPerPixel

buffer

private StringBuffer buffer

BLIPUID

private static final int BLIPUID

cropBottom

private Integer cropBottom

cropLeft

private Integer cropLeft

cropRight

private Integer cropRight

cropTop

private Integer cropTop

dataFormat

private int dataFormat

dataOS

private ByteArrayOutputStream dataOS

desiredHeight

private Long desiredHeight

desiredWidth

private Long desiredWidth

FORMAT_BINARY

public static final int FORMAT_BINARY

FORMAT_HEXADECIMAL

public static final int FORMAT_HEXADECIMAL

height

private Long height

hexChars

private StringBuffer hexChars

inlinePicture

private Boolean inlinePicture

NORMAL

private static final int NORMAL

pictureType

private int pictureType

planes

private Integer planes

pmmetafile

private int pmmetafile

PIXEL_TWIPS_FACTOR

private static final int PIXEL_TWIPS_FACTOR
Constant for converting pixels to twips

scaled

private Boolean scaled

scaleX

private Integer scaleX

scaleY

private Integer scaleY

state

private int state

tag

private String tag

unitsPerInch

private Integer unitsPerInch

width

private Long width

widthBytes

private Integer widthBytes

wordArt

private Boolean wordArt

Constructor Detail

RtfDestinationShppict

public RtfDestinationShppict()

RtfDestinationShppict

public RtfDestinationShppict(RtfParser parser)
Constructs a new RtfDestinationShppict.

Method Detail

addImage

private boolean addImage()

closeDestination

public boolean closeDestination()

handleCharacter

public boolean handleCharacter(int ch)

handleCloseGroup

public boolean handleCloseGroup()

handleControlWord

public boolean handleControlWord(RtfCtrlWordData ctrlWordData)

handleOpenGroup

public boolean handleOpenGroup()

handleOpeningSubGroup

public boolean handleOpeningSubGroup()

setToDefaults

public void setToDefaults()

writeBuffer

private void writeBuffer()

writeText

private void writeText(String value)