com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class SaveOptions.ResourceSavingInfo

    • Method Detail

      • getResourceType

        public int getResourceType()

        Set by converter. Supposed file name that goes from converter to code of custom method Can be use in custom code to decide how to process or where save that file

        Returns:
        NodeLevelResourceType element
        See Also:
        SaveOptions.NodeLevelResourceType
      • getSupposedFileName

        public String getSupposedFileName()

        Set by converter. Supposed file name that goes from converter to code of custom method Can be use in custom code to decide how to process or where save that file

        Returns:
        String value
      • getContentStream

        public byte[] getContentStream()

        Set by converter. Represents binary content of saved file.

        Returns:
        array of bytes
      • isCustomProcessingCancelled

        public boolean isCustomProcessingCancelled()

        this flag must set to "true" in custom code if for some reasons proposed file should be processed not with custom code but with converter's code itself in standard for converter way. So, it' setting set to true means that custom code did not process referenced file and converter must handle it itself (in both sences - for saving somewhere and for naming in referencing file).

        Returns:
        boolean value
      • setCustomProcessingCancelled

        public void setCustomProcessingCancelled(boolean customProcessingCancelled)

        this flag must set to "true" in custom code if for some reasons proposed file should be processed not with custom code but with converter's code itself in standard for converter way. So, it' setting set to true means that custom code did not process referenced file and converter must handle it itself (in both senses - for saving somewhere and for naming in referencing file).

        Parameters:
        customProcessingCancelled - boolean value