Skip to end of metadata
Go to start of metadata

Contents Summary

Limitations of Aspose.Words for Android via Java API compared to Aspose.Words for Java API

  1. *Document.print *methods are not available.
  2. Saving in TIFF and BMP formats is not supported, though SaveFormat.TIFF and SaveFormat.BMP are available in public Aspose.Words for Android via Java API, but UnsupportedOperationException is thrown when these save formats are used.
  3. Reading TIFF images is not supported.
  4. Signing ODT documents is not supported yet.
  5. Barcodes are not supported.
  6. Gradients along a curve are not supported
  7. Printing is not supported

Public API differences

  • is used instead of java.awt.image.BufferedImage;
  • is used instead of java.awt.image.Graphics2D;
  • is used instead of  java.awt.geom.Rectangle2D.Float;
  • is used instead of java.awt.geom.Point2D.Float;
  • is used instead of java.awt.Rectangle;
  • is used instead of java.awt.Point.

See the following Public API methods:

  1. com.aspose.words.DocumentBuilder:
    1. insertImage(Bitmap)
    2. insertImage(Bitmap, double, double)
    3. insertImage(Bitmap, int, double, int, double, double, double, int)
    4. insertOleImage(Bitmap)
    5. insertOleObject(InputStream, String, boolean, Bitmap)
    6. insertOleObject(String, boolean, boolean, Bitmap)
    7. insertOleObject(String, String, boolean, boolean, Bitmap)
  2. com.aspose.words.IBarcodeGenerator:
    1. Bitmap getBarcodeImage(BarcodeParameters)
    2. Bitmap getOldBarcodeImage(BarcodeParameters)
  3. com.aspose.words.ImageData:
    1. setImage(Bitmap)
    2. Bitmap toImage()
  4. com.aspose.words.ImageFieldMergingArgs:
    1. Bitmap getImage()
    2. setImage(Bitmap)
  5. com.aspose.words.Document:
    1. renderToScale(int, Canvas, float, float, float) throws Exception
    2. float renderToSize(int, Canvas, float, float, float, float) throws Exception
  6. com.aspose.words.LayoutEnumerator:
    1. getRectangle() throws Exception
  7. com.aspose.words.NodeRendererBase:
    1. getSizeInPoints()
    2. getOpaqueBoundsInPoints()
    3. public getSizeInPixels(float, float)
    4. getBoundsInPixels(float, float)
    5. getOpaqueBoundsInPixels(float, float)
    6. renderToScale(Canvas, float, float, float)
    7. float renderToSize(Canvas, float, float, float, float)
  8. com.aspose.words.PageInfo:
    1. getSizeInPixels(float, float)
    2. getSizeInPoints()
  9. com.aspose.words.ShapeBase:
    1. adjustWithEffects(
    2. getBounds() 
    3. getBoundsInPoints() 
    4. getBoundsWithEffects()
    5. getCoordOrigin()
    6. getCoordSize() 
    7. getSizeInPoints()
    8. localToParent(
    9. setBounds( 
    10. setCoordOrigin(
    11. setCoordSize(
  10. com.aspose.words.ThumbnailGeneratingOptions:
    1. getThumbnailSize()
    2. setThumbnailSize(

Aspose.Words for Android via Java additional requirements

In order to use metered licensing feature and load documents or images by http/ftp protocols users should add following permission to their applications
<uses-permission android:name="android.permission.INTERNET" />

Public API Examples

  • No labels