Package com.aowagie.text.pdf.codec.wmf
Class MetaDo
- java.lang.Object
-
- com.aowagie.text.pdf.codec.wmf.MetaDo
-
public class MetaDo extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private int
bottom
private PdfContentByte
cb
private InputMeta
in
private int
inch
private int
left
private static int
META_ARC
private static int
META_CHORD
private static int
META_CREATEBRUSHINDIRECT
private static int
META_CREATEFONTINDIRECT
private static int
META_CREATEPALETTE
private static int
META_CREATEPENINDIRECT
private static int
META_CREATEREGION
private static int
META_DELETEOBJECT
private static int
META_DIBCREATEPATTERNBRUSH
private static int
META_DIBSTRETCHBLT
private static int
META_ELLIPSE
private static int
META_EXTTEXTOUT
private static int
META_INTERSECTCLIPRECT
private static int
META_LINETO
private static int
META_MOVETO
private static int
META_PIE
private static int
META_POLYGON
private static int
META_POLYLINE
private static int
META_POLYPOLYGON
private static int
META_RECTANGLE
private static int
META_RESTOREDC
private static int
META_ROUNDRECT
private static int
META_SAVEDC
private static int
META_SELECTOBJECT
private static int
META_SETBKCOLOR
private static int
META_SETBKMODE
private static int
META_SETPIXEL
private static int
META_SETPOLYFILLMODE
private static int
META_SETTEXTALIGN
private static int
META_SETTEXTCOLOR
private static int
META_SETWINDOWEXT
private static int
META_SETWINDOWORG
private static int
META_STRETCHDIB
private static int
META_TEXTOUT
private int
right
private MetaState
state
private int
top
-
Constructor Summary
Constructors Constructor Description MetaDo(java.io.InputStream in, PdfContentByte cb)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static float
getArc(float xCenter, float yCenter, float xDot, float yDot)
private boolean
isNullStrokeFill(boolean isRectangle)
private void
outputText(int x, int y, int flag, int x1, int y1, int x2, int y2, java.lang.String text)
void
readAll()
private void
strokeAndFill()
private static void
writeDWord(java.io.OutputStream os, int v)
private static void
writeWord(java.io.OutputStream os, int v)
-
-
-
Field Detail
-
META_SETBKCOLOR
private static final int META_SETBKCOLOR
- See Also:
- Constant Field Values
-
META_SETBKMODE
private static final int META_SETBKMODE
- See Also:
- Constant Field Values
-
META_SETPOLYFILLMODE
private static final int META_SETPOLYFILLMODE
- See Also:
- Constant Field Values
-
META_SETTEXTCOLOR
private static final int META_SETTEXTCOLOR
- See Also:
- Constant Field Values
-
META_SETWINDOWORG
private static final int META_SETWINDOWORG
- See Also:
- Constant Field Values
-
META_SETWINDOWEXT
private static final int META_SETWINDOWEXT
- See Also:
- Constant Field Values
-
META_LINETO
private static final int META_LINETO
- See Also:
- Constant Field Values
-
META_MOVETO
private static final int META_MOVETO
- See Also:
- Constant Field Values
-
META_INTERSECTCLIPRECT
private static final int META_INTERSECTCLIPRECT
- See Also:
- Constant Field Values
-
META_ARC
private static final int META_ARC
- See Also:
- Constant Field Values
-
META_ELLIPSE
private static final int META_ELLIPSE
- See Also:
- Constant Field Values
-
META_PIE
private static final int META_PIE
- See Also:
- Constant Field Values
-
META_RECTANGLE
private static final int META_RECTANGLE
- See Also:
- Constant Field Values
-
META_ROUNDRECT
private static final int META_ROUNDRECT
- See Also:
- Constant Field Values
-
META_SAVEDC
private static final int META_SAVEDC
- See Also:
- Constant Field Values
-
META_SETPIXEL
private static final int META_SETPIXEL
- See Also:
- Constant Field Values
-
META_TEXTOUT
private static final int META_TEXTOUT
- See Also:
- Constant Field Values
-
META_POLYGON
private static final int META_POLYGON
- See Also:
- Constant Field Values
-
META_POLYLINE
private static final int META_POLYLINE
- See Also:
- Constant Field Values
-
META_RESTOREDC
private static final int META_RESTOREDC
- See Also:
- Constant Field Values
-
META_SELECTOBJECT
private static final int META_SELECTOBJECT
- See Also:
- Constant Field Values
-
META_SETTEXTALIGN
private static final int META_SETTEXTALIGN
- See Also:
- Constant Field Values
-
META_CHORD
private static final int META_CHORD
- See Also:
- Constant Field Values
-
META_EXTTEXTOUT
private static final int META_EXTTEXTOUT
- See Also:
- Constant Field Values
-
META_POLYPOLYGON
private static final int META_POLYPOLYGON
- See Also:
- Constant Field Values
-
META_DIBSTRETCHBLT
private static final int META_DIBSTRETCHBLT
- See Also:
- Constant Field Values
-
META_DIBCREATEPATTERNBRUSH
private static final int META_DIBCREATEPATTERNBRUSH
- See Also:
- Constant Field Values
-
META_STRETCHDIB
private static final int META_STRETCHDIB
- See Also:
- Constant Field Values
-
META_DELETEOBJECT
private static final int META_DELETEOBJECT
- See Also:
- Constant Field Values
-
META_CREATEPALETTE
private static final int META_CREATEPALETTE
- See Also:
- Constant Field Values
-
META_CREATEPENINDIRECT
private static final int META_CREATEPENINDIRECT
- See Also:
- Constant Field Values
-
META_CREATEFONTINDIRECT
private static final int META_CREATEFONTINDIRECT
- See Also:
- Constant Field Values
-
META_CREATEBRUSHINDIRECT
private static final int META_CREATEBRUSHINDIRECT
- See Also:
- Constant Field Values
-
META_CREATEREGION
private static final int META_CREATEREGION
- See Also:
- Constant Field Values
-
cb
private final PdfContentByte cb
-
in
private final InputMeta in
-
left
private int left
-
top
private int top
-
right
private int right
-
bottom
private int bottom
-
inch
private int inch
-
state
private final MetaState state
-
-
Constructor Detail
-
MetaDo
public MetaDo(java.io.InputStream in, PdfContentByte cb)
-
-
Method Detail
-
readAll
public void readAll() throws java.io.IOException, DocumentException
- Throws:
java.io.IOException
DocumentException
-
outputText
private void outputText(int x, int y, int flag, int x1, int y1, int x2, int y2, java.lang.String text)
-
isNullStrokeFill
private boolean isNullStrokeFill(boolean isRectangle)
-
strokeAndFill
private void strokeAndFill()
-
getArc
private static float getArc(float xCenter, float yCenter, float xDot, float yDot)
-
writeWord
private static void writeWord(java.io.OutputStream os, int v) throws java.io.IOException
- Throws:
java.io.IOException
-
writeDWord
private static void writeDWord(java.io.OutputStream os, int v) throws java.io.IOException
- Throws:
java.io.IOException
-
-