com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class Output

  • java.lang.Object
    • com.aspose.slides.Output


  • public final class Output
    extends java.lang.Object

    Represents a collection of output elements for IWebDocument.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      IOutputFile add(java.lang.String path, android.graphics.Bitmap image)
      Adds an output element for the image.
      IOutputFile add(java.lang.String path, IFontData fontData, int fontStyle)
      Adds an output element for the font.
      IOutputFile add(java.lang.String path, IPPImage image)
      Adds an output element for the image.
      IOutputFile add(java.lang.String path, IVideo video)
      Adds an output element for the video.
      IOutputFile add(java.lang.String path, java.lang.String textContent)
      Adds an output element for the text content.
      <TContextObject>
      IOutputFile
      add(java.lang.String path, java.lang.String templateKey, TContextObject contextObject)
      Adds an output element for the context object.
      void bindResource(IOutputFile outputFile, java.lang.Object obj)
      Binds resource to output file.
      java.lang.String getResourcePath(java.lang.Object obj)
      Returns the path for a given resource.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • add

        public final <TContextObject> IOutputFile add(java.lang.String path,
                                                      java.lang.String templateKey,
                                                      TContextObject contextObject)

        Adds an output element for the context object.

        Parameters:
        path - Output path.
        templateKey - The key of the template used for context object transformation before output.
        contextObject - Context object.
        Returns:
        IOutputFile object for the context object.
      • add

        public final IOutputFile add(java.lang.String path,
                                     IPPImage image)

        Adds an output element for the image.

        Parameters:
        path - Output path.
        image - Image to output.
        Returns:
        IOutputFile object for the image.
      • add

        public final IOutputFile add(java.lang.String path,
                                     android.graphics.Bitmap image)

        Adds an output element for the image.

        Parameters:
        path - Output path.
        image - Image to output.
        Returns:
        IOutputFile object for the image.
      • add

        public final IOutputFile add(java.lang.String path,
                                     IVideo video)

        Adds an output element for the video.

        Parameters:
        path - Output path.
        video - Video to output.
        Returns:
        IOutputFile object for the video.
      • add

        public final IOutputFile add(java.lang.String path,
                                     IFontData fontData,
                                     int fontStyle)

        Adds an output element for the font.

        Parameters:
        path - Output path.
        fontData - Font to output.
        fontStyle - Font style.
        Returns:
        IOutputFile object for the font.
      • add

        public final IOutputFile add(java.lang.String path,
                                     java.lang.String textContent)

        Adds an output element for the text content.

        Parameters:
        path - Output path.
        textContent - Content to output.
        Returns:
        IOutputFile object for the text content.
      • bindResource

        public final void bindResource(IOutputFile outputFile,
                                       java.lang.Object obj)

        Binds resource to output file.

        Parameters:
        outputFile - Output file.
        obj - Resource object.
      • getResourcePath

        public final java.lang.String getResourcePath(java.lang.Object obj)

        Returns the path for a given resource.

        Parameters:
        obj - Resource object.
        Returns:
        Resource path.