Package | Description |
---|---|
com.nomagic.magicreport | |
com.nomagic.magicreport.engine.tools | |
com.nomagic.magicreport.format | |
com.nomagic.magicreport.helper.image |
Modifier and Type | Class and Description |
---|---|
class |
SVGIcon
A bean represent SVG icon.
|
Modifier and Type | Method and Description |
---|---|
Image |
Image.createOriginal()
Create a new instance of original image.
|
Modifier and Type | Method and Description |
---|---|
Image |
ImageTool.copy(java.lang.String location)
Copy an external image from local file or URL into report.
|
Image |
ImageTool.ImageProperty.getImage() |
Image |
ImageTool.include(java.lang.String location)
Include an external image from local file or URL into report.
|
Image |
ImageTool.limitImageSize(Image image)
Limit image size to paper page size.
|
Image |
ImageTool.limitImageSize(Image image,
int maximumWidthPixel,
int maximumHeightPixel)
Limit image size to paper page size and maximum size.
|
Image |
ImageTool.limitImageSize(Image image,
java.lang.String maximumWidth,
java.lang.String maximumHeight)
Limit image size to paper page size and maximum size.
|
Image |
RTFFormatterWrapper.rotateImage(Image image,
int degrees)
Rotates an image by a specific angle.
|
Image |
DOCXFormatterWrapper.rotateImage(Image image,
int degrees)
Rotates an image by a specific angle.
|
Image |
ODFFormatterWrapper.rotateImage(Image image,
int degrees)
Rotates an image by a specific angle.
|
Image |
IFormatterWrapper.rotateImage(Image image,
int degrees)
Rotates an image by a specific angle.
|
Image |
RTFFormatterWrapper.rotateImage(Image image,
int degrees,
boolean bestQualityOrVecter) |
Image |
DOCXFormatterWrapper.rotateImage(Image image,
int degrees,
boolean bestQualityOrVecter) |
Image |
ODFFormatterWrapper.rotateImage(Image image,
int degrees,
boolean bestQualityOrVecter) |
Image |
IFormatterWrapper.rotateImage(Image image,
int degrees,
boolean bestQualityOrVecter)
Rotates an image by a specific angle.
|
Image |
ImageTool.rotateLeft(Image image)
Return the image transform with clockwise rotation transformation.
|
Image |
ImageTool.rotateRight(Image image)
Return the image transformed with clockwise rotation transformation.
|
Image |
ImageTool.scale(Image image,
double sxy)
Convenience method to scale equally in height and width.
|
Image |
RTFFormatterWrapper.scale(Image image,
double sx,
double sy)
Return the RTF content of transformed image.
|
Image |
DOCXFormatterWrapper.scale(Image image,
double sx,
double sy)
Return the DOCX content of transformed image.
|
Image |
ODFFormatterWrapper.scale(Image image,
double sx,
double sy)
Return the RTF content of transformed image.
|
Image |
ImageTool.scale(Image image,
double sx,
double sy)
Return the image after scaling transformation.
|
Image |
IFormatterWrapper.scale(Image image,
double sx,
double sy)
Return the content of transformed image.
|
Image |
ImageTool.setHeight(Image image,
int height)
Return the image from specified height.
|
Image |
ImageTool.setHeight(Image image,
int height,
boolean keepratio)
Return the image from specified height.
|
Image |
ImageTool.setHeight(Image image,
java.lang.String height)
Scale the image by the given height measurement, keeping the ratio.
|
Image |
ImageTool.setHeight(Image image,
java.lang.String height,
boolean keepRatio)
Scale the image by the given height measurement, and keep ratio if set.
|
Image |
ImageTool.setSize(Image image,
int width,
int height)
Return the image from specified width and height.
|
Image |
ImageTool.setSize(Image image,
java.lang.String width,
java.lang.String height)
Scale the image by the given width/height measurements.
|
Image |
ImageTool.setSize(Image image,
java.lang.String width,
java.lang.String height,
boolean overrideAutoSizing)
Scale the image by the given width/height measurements.
|
Image |
ImageTool.setWidth(Image image,
int width)
Return the image from specified width.
|
Image |
ImageTool.setWidth(Image image,
int width,
boolean keepratio)
Return the image from specified width.
|
Image |
ImageTool.setWidth(Image image,
java.lang.String width)
Scale the image by the given width measurements, keeping the ratio.
|
Image |
ImageTool.setWidth(Image image,
java.lang.String width,
boolean keepRatio)
Scale the image by the given width measurement, and keep ratio if set.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Image> |
ImageTool.split(Image image)
Split the image into rows and columns with automatic number of rows and columns, and draw each chunked image
from left-to-right and top-to-bottom.
|
java.util.List<Image> |
ImageTool.split(Image image,
int cols,
int rows)
Split the image into rows and columns, and draw each chunked image from left-to-right and top-to-bottom.
|
Modifier and Type | Method and Description |
---|---|
ITool.RetainedString |
ImageTool.createImageWithAbsolutePath(Image image)
Export image and return absolute path of the file.
This method is suitable for TXT, HTML and XML template only. Use the method with above template types, the image would be exported on a file system and return absolute path. Use the method with other template types, the image would be exported in a report output and return INVALID path. |
ITool.RetainedString |
ImageTool.createImageWithAbsolutePath(Image image,
boolean includeURI)
Export image and return absolute path of the file.
This method is suitable for TXT, HTML and XML template only. Use the method with above template types, the image would be exported on a file system and return absolute path. Use the method with other template types, the image would be exported in a report output and return INVALID path. |
ITool.RetainedString |
ImageTool.createImageWithRelativePath(Image image)
Export image and return relative path of image file.
This method is suitable for TXT, HTML and XML template only. Use the method with above template types, the image would be exported on a file system and return relative path. Use the method with other template types, the image would be exported in a report output and return INVALID path. |
ITool.Void |
ImageTool.createSilentImage(Image image)
Create image and do not return any path.
|
ITool.RetainedString |
ImageTool.getAbsolutePath(Image image)
Return an absolute path of image file.
|
ITool.RetainedString |
ImageTool.getAbsolutePath(Image image,
boolean includeURI)
Return an absolute path of image file.
|
ImageTool.ImageProperty |
ImageTool.getImageProperty(Image image)
Get ImageProperty object
|
ITool.RetainedString |
ImageTool.getRelativePath(Image image)
Return a possible relative path of image file.
|
Image |
ImageTool.limitImageSize(Image image)
Limit image size to paper page size.
|
Image |
ImageTool.limitImageSize(Image image,
int maximumWidthPixel,
int maximumHeightPixel)
Limit image size to paper page size and maximum size.
|
Image |
ImageTool.limitImageSize(Image image,
java.lang.String maximumWidth,
java.lang.String maximumHeight)
Limit image size to paper page size and maximum size.
|
Image |
RTFFormatterWrapper.rotateImage(Image image,
int degrees)
Rotates an image by a specific angle.
|
Image |
DOCXFormatterWrapper.rotateImage(Image image,
int degrees)
Rotates an image by a specific angle.
|
Image |
ODFFormatterWrapper.rotateImage(Image image,
int degrees)
Rotates an image by a specific angle.
|
Image |
IFormatterWrapper.rotateImage(Image image,
int degrees)
Rotates an image by a specific angle.
|
Image |
RTFFormatterWrapper.rotateImage(Image image,
int degrees,
boolean bestQualityOrVecter) |
Image |
DOCXFormatterWrapper.rotateImage(Image image,
int degrees,
boolean bestQualityOrVecter) |
Image |
ODFFormatterWrapper.rotateImage(Image image,
int degrees,
boolean bestQualityOrVecter) |
Image |
IFormatterWrapper.rotateImage(Image image,
int degrees,
boolean bestQualityOrVecter)
Rotates an image by a specific angle.
|
Image |
ImageTool.rotateLeft(Image image)
Return the image transform with clockwise rotation transformation.
|
Image |
ImageTool.rotateRight(Image image)
Return the image transformed with clockwise rotation transformation.
|
Image |
ImageTool.scale(Image image,
double sxy)
Convenience method to scale equally in height and width.
|
Image |
RTFFormatterWrapper.scale(Image image,
double sx,
double sy)
Return the RTF content of transformed image.
|
Image |
DOCXFormatterWrapper.scale(Image image,
double sx,
double sy)
Return the DOCX content of transformed image.
|
Image |
ODFFormatterWrapper.scale(Image image,
double sx,
double sy)
Return the RTF content of transformed image.
|
Image |
ImageTool.scale(Image image,
double sx,
double sy)
Return the image after scaling transformation.
|
Image |
IFormatterWrapper.scale(Image image,
double sx,
double sy)
Return the content of transformed image.
|
Image |
ImageTool.setHeight(Image image,
int height)
Return the image from specified height.
|
Image |
ImageTool.setHeight(Image image,
int height,
boolean keepratio)
Return the image from specified height.
|
Image |
ImageTool.setHeight(Image image,
java.lang.String height)
Scale the image by the given height measurement, keeping the ratio.
|
Image |
ImageTool.setHeight(Image image,
java.lang.String height,
boolean keepRatio)
Scale the image by the given height measurement, and keep ratio if set.
|
void |
ImageTool.ImageProperty.setImage(Image image) |
Image |
ImageTool.setSize(Image image,
int width,
int height)
Return the image from specified width and height.
|
Image |
ImageTool.setSize(Image image,
java.lang.String width,
java.lang.String height)
Scale the image by the given width/height measurements.
|
Image |
ImageTool.setSize(Image image,
java.lang.String width,
java.lang.String height,
boolean overrideAutoSizing)
Scale the image by the given width/height measurements.
|
Image |
ImageTool.setWidth(Image image,
int width)
Return the image from specified width.
|
Image |
ImageTool.setWidth(Image image,
int width,
boolean keepratio)
Return the image from specified width.
|
Image |
ImageTool.setWidth(Image image,
java.lang.String width)
Scale the image by the given width measurements, keeping the ratio.
|
Image |
ImageTool.setWidth(Image image,
java.lang.String width,
boolean keepRatio)
Scale the image by the given width measurement, and keep ratio if set.
|
java.util.List<Image> |
ImageTool.split(Image image)
Split the image into rows and columns with automatic number of rows and columns, and draw each chunked image
from left-to-right and top-to-bottom.
|
java.util.List<Image> |
ImageTool.split(Image image,
int cols,
int rows)
Split the image into rows and columns, and draw each chunked image from left-to-right and top-to-bottom.
|
Modifier and Type | Method and Description |
---|---|
protected float[] |
DOCXFormatter.adjustImage(Image image,
float w,
float h,
int flag)
Returns [imageWidth, imageHeight, imageRotate, effectL, effectT, effectR, effectB ] the image will be
rotated if necessary 914,400 EMU per inch 12,700 EMU in a point360,000 EMU per cm.
|
protected ITool.RetainedString |
RTFFormatter.createImage(Image image)
Create a RTF image string from given
Image object. |
protected ITool.RetainedString |
TextFormatter.createImage(Image image)
Create a HTML image string from given
Image object. |
protected ITool.RetainedString |
PPTXFormatter.createImage(Image image)
Create a PPTX image string from given
Image object. |
protected ITool.RetainedString |
XLSXFormatter.createImage(Image image)
Create a DOCX image string from given
Image object. |
protected ITool.RetainedString |
DOCXFormatter.createImage(Image image)
Create a DOCX image string from given
Image object. |
protected ITool.RetainedString |
HTMLFormatter.createImage(Image image)
Create a HTML image string from given
Image object. |
protected ITool.RetainedString |
DocBookFormatter.createImage(Image image)
Create a DocBook image string from given
Image object. |
protected ITool.RetainedString |
ODFFormatter.createImage(Image image)
Create a ODF image string from given
Image object. |
protected ITool.RetainedString |
PPTXFormatter.createImage(Image image,
float width,
float height,
int flag)
Create a PPTX image string from given
Image object. |
protected ITool.RetainedString |
XLSXFormatter.createImage(Image image,
float width,
float height,
int flag)
Create a DOCX image string from given
Image object. |
protected ITool.RetainedString |
DOCXFormatter.createImage(Image image,
float width,
float height,
int flag)
Create a DOCX image string from given
Image object. |
protected ITool.RetainedString |
RTFFormatter.createImage(Image image,
int width,
int height,
int flag)
Create a RTF image string from given
Image object. |
protected ITool.RetainedString |
ODFFormatter.createImage(Image image,
int width,
int height,
int flag)
Create a ODF image string from given
Image object. |
protected ITool.RetainedString |
TextFormatter.createImage(Image image,
int width,
int height,
java.lang.String flag)
Create a HTML image string from given
Image object. |
protected ITool.RetainedString |
HTMLFormatter.createImage(Image image,
int width,
int height,
java.lang.String flag)
Create a HTML image string from given
Image object. |
long |
RTFFormatter.createImageBody(Image image,
java.io.Writer writer)
Create image body to writer.
|
protected ITool.RetainedString |
RTFFormatter.createImageFooter(Image image,
int width,
int height,
int flag)
Create an image footer.
|
protected ITool.RetainedString |
RTFFormatter.createImageHeader(Image image,
int width,
int height,
int flag)
Create an image header.
|
protected java.lang.String |
RTFFormatter.getImageFormat(Image image)
Return the image format.
|
protected boolean |
RTFFormatter.isLargeImage(Image image)
Compare the width and height of the image and paper if the image is greater than paper, it's considered as
large image.
|
protected boolean |
ODFFormatter.isLargeImage(Image image)
Compare the width and height of the image and paper if the image is larger than paper size, it's considered
as large image.
|
protected void |
DefaultFormatter.writeImage(Image image,
java.lang.String imageFormat,
java.io.File outputFile,
boolean forceWrite)
Write an image into output file.
|
protected void |
DefaultFormatter.writeImage(Image image,
java.lang.String imageFormat,
java.io.OutputStream outputStream,
boolean forceWrite)
Write an image into output stream.
|
Modifier and Type | Method and Description |
---|---|
Image |
IImageSearch.search(java.lang.String templateFileName,
java.util.List<java.lang.String> templateLocations,
java.lang.String imageLocation) |
Image |
IImageSearch.search(java.lang.String templateFileName,
java.lang.String templateLocation,
java.lang.String imageLocation) |
Copyright © 2010 - No Magic Asia