Docmosis API 4.8.0

com.docmosis.document
Class DocumentConversionResult

java.lang.Object
  extended by com.docmosis.document.DocumentConversionResult

public class DocumentConversionResult
extends Object

The results of a document conversion


Constructor Summary
DocumentConversionResult(long length, int pages, ExternalResourceCollection externalResources)
           
 
Method Summary
 ExternalResourceCollection getExternalResources()
          Get the external resource references detected in the document.
 long getLength()
          Get the length of the resulting conversion (in bytes).
 int getPageCount()
          Get the page count of the file(s) converted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentConversionResult

public DocumentConversionResult(long length,
                                int pages,
                                ExternalResourceCollection externalResources)
Method Detail

getLength

public long getLength()
Get the length of the resulting conversion (in bytes). The length is a combined result if multiple output formats were specified.

Returns:
the number of bytes

getPageCount

public int getPageCount()
Get the page count of the file(s) converted. The count is a combined result if multiple output formats are specified.

Returns:
the page count of the document

getExternalResources

public ExternalResourceCollection getExternalResources()
Get the external resource references detected in the document. This can come from OLE objects which have hyperlinks for example

Returns:
null if there are none

Docmosis API 4.8.0

Copyright © 2014–2024 Docmosis Pty Ltd. All rights reserved.