Package | Description |
---|---|
com.itextpdf.html2pdf | |
com.itextpdf.html2pdf.attach | |
com.itextpdf.html2pdf.css | |
com.itextpdf.html2pdf.css.media | |
com.itextpdf.html2pdf.css.resolve |
Modifier and Type | Method and Description |
---|---|
MediaDeviceDescription |
ConverterProperties.getMediaDeviceDescription()
Gets the media device description.
|
Modifier and Type | Method and Description |
---|---|
ConverterProperties |
ConverterProperties.setMediaDeviceDescription(MediaDeviceDescription mediaDeviceDescription)
Sets the media device description.
|
Modifier and Type | Method and Description |
---|---|
MediaDeviceDescription |
ProcessorContext.getDeviceDescription()
Gets the device description.
|
Modifier and Type | Method and Description |
---|---|
List<CssDeclaration> |
CssStyleSheet.getCssDeclarations(INode node, MediaDeviceDescription deviceDescription)
Gets the CSS declarations.
|
List<CssRuleSet> |
CssStatement.getCssRuleSets(INode node, MediaDeviceDescription deviceDescription)
Gets a list of CssRuleSet objects.
|
List<CssRuleSet> |
CssRuleSet.getCssRuleSets(INode element, MediaDeviceDescription deviceDescription) |
List<CssRuleSet> |
CssNestedAtRule.getCssRuleSets(INode node, MediaDeviceDescription deviceDescription) |
Modifier and Type | Method and Description |
---|---|
static MediaDeviceDescription |
MediaDeviceDescription.createDefault()
Creates the default MediaDeviceDescription .
|
MediaDeviceDescription |
MediaDeviceDescription.setBitsPerComponent(int bitsPerComponent)
Sets the bits per component.
|
MediaDeviceDescription |
MediaDeviceDescription.setColorIndex(int colorIndex)
Sets the color index.
|
MediaDeviceDescription |
MediaDeviceDescription.setGrid(boolean grid)
Sets the grid value.
|
MediaDeviceDescription |
MediaDeviceDescription.setHeight(float height)
Sets the height in points.
|
MediaDeviceDescription |
MediaDeviceDescription.setMonochrome(int monochrome)
Sets the number of bits per pixel on a monochrome (greyscale) device.
|
MediaDeviceDescription |
MediaDeviceDescription.setOrientation(String orientation)
Sets the orientation.
|
MediaDeviceDescription |
MediaDeviceDescription.setResolution(float resolution)
Sets the resolution in DPI.
|
MediaDeviceDescription |
MediaDeviceDescription.setScan(String scan)
Sets the scan value.
|
MediaDeviceDescription |
MediaDeviceDescription.setWidth(float width)
Sets the width in points.
|
Modifier and Type | Method and Description |
---|---|
List<CssRuleSet> |
CssMediaRule.getCssRuleSets(INode element, MediaDeviceDescription deviceDescription) |
boolean |
MediaQuery.matches(MediaDeviceDescription deviceDescription)
Tries to match a device description with the media query.
|
boolean |
MediaExpression.matches(MediaDeviceDescription deviceDescription)
Tries to match a MediaDeviceDescription .
|
boolean |
CssMediaRule.matchMediaDevice(MediaDeviceDescription deviceDescription)
Tries to match a media device.
|
Constructor and Description |
---|
DefaultCssResolver(INode treeRoot, MediaDeviceDescription mediaDeviceDescription, ResourceResolver resourceResolver)
Creates a new DefaultCssResolver instance.
|
Copyright © 1998–2019 iText Group NV. All rights reserved.