public class PdfBoxPDFReplacedElement extends Object implements PdfBoxReplacedElement, PdfBoxLinkManager.IPdfBoxElementWithShapedLinks
| Modifier and Type | Method and Description |
|---|---|
static PdfBoxPDFReplacedElement |
create(org.apache.pdfbox.pdmodel.PDDocument target,
byte[] pdfBytes,
Element e,
Box box,
CssContext ctx,
SharedContext shared) |
void |
detach(LayoutContext c) |
int |
getBaseline() |
int |
getIntrinsicHeight() |
int |
getIntrinsicWidth() |
Map<Shape,String> |
getLinkMap() |
Point |
getLocation() |
boolean |
hasBaseline() |
boolean |
isRequiresInteractivePaint() |
void |
paint(RenderingContext c,
PdfBoxOutputDevice outputDevice,
BlockBox box) |
void |
setLocation(int x,
int y) |
public static PdfBoxPDFReplacedElement create(org.apache.pdfbox.pdmodel.PDDocument target, byte[] pdfBytes, Element e, Box box, CssContext ctx, SharedContext shared)
public int getIntrinsicWidth()
getIntrinsicWidth in interface ReplacedElementpublic int getIntrinsicHeight()
getIntrinsicHeight in interface ReplacedElementpublic Point getLocation()
getLocation in interface ReplacedElementpublic void setLocation(int x,
int y)
setLocation in interface ReplacedElementpublic Map<Shape,String> getLinkMap()
getLinkMap in interface PdfBoxLinkManager.IPdfBoxElementWithShapedLinkspublic void detach(LayoutContext c)
detach in interface ReplacedElementpublic boolean isRequiresInteractivePaint()
isRequiresInteractivePaint in interface ReplacedElementpublic void paint(RenderingContext c, PdfBoxOutputDevice outputDevice, BlockBox box)
paint in interface PdfBoxReplacedElementpublic int getBaseline()
getBaseline in interface ReplacedElementpublic boolean hasBaseline()
hasBaseline in interface ReplacedElementCopyright © 2004–2025. All rights reserved.