org.docx4j.org.xhtmlrenderer.docx
Class Docx4jDocxOutputDevice
java.lang.Object
org.docx4j.org.xhtmlrenderer.render.AbstractOutputDevice
org.docx4j.org.xhtmlrenderer.docx.Docx4jDocxOutputDevice
- All Implemented Interfaces:
- OutputDevice
public class Docx4jDocxOutputDevice
- extends AbstractOutputDevice
|
Method Summary |
void |
clip(Shape s)
|
void |
drawBorderLine(Rectangle bounds,
int side,
int width,
boolean solid)
|
void |
drawImage(FSImage image,
int x,
int y)
|
protected void |
drawLine(int x1,
int y1,
int x2,
int y2)
|
void |
drawOval(int x,
int y,
int width,
int height)
|
void |
drawRect(int x,
int y,
int width,
int height)
|
void |
drawSelection(RenderingContext c,
InlineText inlineText)
|
void |
drawString(String string,
float x,
float y,
Object object)
|
void |
fill(Shape s)
|
void |
fillOval(int x,
int y,
int width,
int height)
|
void |
fillRect(int x,
int y,
int width,
int height)
|
Shape |
getClip()
|
Object |
getRenderingHint(RenderingHints.Key key)
|
Stroke |
getStroke()
|
boolean |
isSupportsCMYKColors()
|
boolean |
isSupportsSelection()
|
void |
paintReplacedElement(RenderingContext c,
BlockBox box)
|
void |
setClip(Shape s)
|
void |
setColor(FSColor color)
|
void |
setFont(FSFont font)
|
void |
setRenderingHint(RenderingHints.Key key,
Object value)
|
void |
setStroke(Stroke s)
|
void |
translate(double tx,
double ty)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Docx4jDocxOutputDevice
public Docx4jDocxOutputDevice()
drawSelection
public void drawSelection(RenderingContext c,
InlineText inlineText)
paintReplacedElement
public void paintReplacedElement(RenderingContext c,
BlockBox box)
setFont
public void setFont(FSFont font)
setColor
public void setColor(FSColor color)
drawRect
public void drawRect(int x,
int y,
int width,
int height)
drawOval
public void drawOval(int x,
int y,
int width,
int height)
drawBorderLine
public void drawBorderLine(Rectangle bounds,
int side,
int width,
boolean solid)
drawImage
public void drawImage(FSImage image,
int x,
int y)
fill
public void fill(Shape s)
fillRect
public void fillRect(int x,
int y,
int width,
int height)
fillOval
public void fillOval(int x,
int y,
int width,
int height)
clip
public void clip(Shape s)
getClip
public Shape getClip()
setClip
public void setClip(Shape s)
translate
public void translate(double tx,
double ty)
setStroke
public void setStroke(Stroke s)
getStroke
public Stroke getStroke()
getRenderingHint
public Object getRenderingHint(RenderingHints.Key key)
setRenderingHint
public void setRenderingHint(RenderingHints.Key key,
Object value)
isSupportsSelection
public boolean isSupportsSelection()
isSupportsCMYKColors
public boolean isSupportsCMYKColors()
drawLine
protected void drawLine(int x1,
int y1,
int x2,
int y2)
- Specified by:
drawLine in class AbstractOutputDevice
drawString
public void drawString(String string,
float x,
float y,
Object object)
Copyright © 2011-2012. All Rights Reserved.