public class BrowsableDocument extends IcePDFPageImg
at, interpolationMethod, trueCoef
ar, pc, scaleFactor, zoomSensitive
bColor, borderColor, cursorInsideFColor, HSVb
alphaC, coef, color, cursorInsideColor, ENTERED_GLYPH, EXITED_GLYPH, fColor, HSV, NO_CURSOR_EVENT, orient, sensit, size, stickedTo, stroke, visible, vx, vy, vz
acO
Constructor and Description |
---|
BrowsableDocument(Document pdfDoc,
int currentPage)
Instantiate a PDF page as a ZVTM glyph, rendered at a resolution that matches the default scale for that page.
|
BrowsableDocument(double x,
double y,
int z,
Document pdfDoc,
int currentPage)
Instantiate a PDF page as a ZVTM glyph, rendered at a resolution that matches the default scale for that page.
|
BrowsableDocument(double x,
double y,
int z,
Document pdfDoc,
int currentPage,
float detailFactor,
double scaleFactor)
Instantiate a PDF page as a ZVTM glyph, rendered at a resolution that matches the default scale for that page multiplied by detailFactor.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Cloning this PDF page glyph.
|
int |
getCurrentPageNumber()
Get the number (starting from 0 for page 1) of the page currently displayed.
|
Document |
getDocument()
Get the underlying IcePDF document.
|
void |
setPage(int pageNumber) |
draw, drawForLens, flush, getInterpolationMethod, getPageImage, setInterpolationMethod
addCamera, coordInside, coordInsideP, coordInsideV, fillsView, getHeight, getJava2DShape, getOrient, getSize, getWidth, highlight, initCams, isZoomSensitive, orientTo, project, projectForLens, removeCamera, reSize, setHeight, setWidth, setZoomSensitive, sizeTo, visibleInDisc, visibleInRegion
addHSVbColor, getBorderColor, getDefaultBorderColor, getHSVbColor, isBorderDrawn, isFilled, setBorderColor, setCursorInsideFillColor, setDrawBorder, setFilled, setHSVbColor
addHSVColor, containedInRegion, getBounds, getColor, getDefaultColor, getDefaultCursorInsideHighlightColor, getHSVColor, getLocation, getOwner, getStickedGlyphArray, getStroke, getTranslucencyValue, getType, getZindex, isSelected, isSensitive, isVisible, isVisibleThroughLens, move, moveTo, propagateMove, select, setColor, setCursorInsideHighlightColor, setDefaultCursorInsideHighlightColor, setHSVColor, setOwner, setSensitivity, setStroke, setTranslucencyValue, setType, setVisible, setZindex, stick, stickToGlyph, toString, unstick, unstickAllGlyphs, unstickAllGlyphs, unstickFromGlyph, visibleInViewport
public BrowsableDocument(Document pdfDoc, int currentPage)
pdfDoc
- the PDF document from ICEpdfcurrentPage
- page number starting from 0 (for page 1)public BrowsableDocument(double x, double y, int z, Document pdfDoc, int currentPage)
x
- coordinate in virtual spacey
- coordinate in virtual spacez
- z-index (pass 0 if you do not use z-ordering)pdfDoc
- the PDF document from ICEpdfcurrentPage
- page number starting from 0 (for page 1)public BrowsableDocument(double x, double y, int z, Document pdfDoc, int currentPage, float detailFactor, double scaleFactor)
x
- coordinate in virtual spacey
- coordinate in virtual spacez
- z-index (pass 0 if you do not use z-ordering)pdfDoc
- the PDF document from ICEpdfcurrentPage
- page number starting from 0 (for page 1)detailFactor
- Multiplication factor applied to compute the actual width and height of the bitmap image in which to render the page, taking the default rendering scale as a basis (1.0f).
This has a direct impact of the PDF page rendering quality. > 1.0 will create higher quality renderings, < will create lower quality renderings.scaleFactor
- glyph size multiplication factor in virtual space w.r.t specified image size (default is 1.0). This has not impact on the PDF page rendering quality (a posteriori rescaling in ZVTM).public void setPage(int pageNumber)
public Document getDocument()
public int getCurrentPageNumber()
public Object clone()
clone
in class IcePDFPageImg
Copyright © 2000-2002 Xerox Corporation. All Rights Reserved
Copyright © 2003 World Wide Web Consortium. All Rights Reserved
Copyright © 2004-2015 INRIA. All Rights Reserved
Licensed under the GNU LGPL. For full terms see the file COPYING.