Discuss this help topic in SecureBlackbox Forum

TElOpenOfficeDocument.Open

TElOpenOfficeDocument     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Opens document.

Declaration

[C#]
    void Open(TElOpenOfficePackage APackage);
    void Open(System.IO.Stream Stream);
    void Open(System.IO.Stream Stream, bool OwnStream);
    void Open(System.IO.Stream Stream, bool OwnStream, bool ReadOnly);
    void Open(System.IO.Stream Stream, long StreamOffset, bool OwnStream, bool ReadOnly, TElZipReader ZipReader);

[VB.NET]
    Sub Open(ByVal APackage As TElOpenOfficePackage)
    Sub Open(ByVal Stream As System.IO.Stream)
    Sub Open(ByVal Stream As System.IO.Stream, ByVal OwnStream As Boolean)
    Sub Open(ByVal Stream As System.IO.Stream, ByVal OwnStream As Boolean, ByVal ReadOnly As Boolean)
    Sub Open(ByVal Stream As System.IO.Stream, ByVal StreamOffset As Long, ByVal OwnStream As Boolean, ByVal ReadOnly As Boolean, ByVal ZipReader As TElZipReader)

[Pascal]
    procedure Open(APackage : TElOpenOfficePackage); overload;
    procedure Open(Stream : TStream); overload;
    procedure Open(Stream : TStream; OwnStream : Boolean); overload;
    procedure Open(Stream : TStream; OwnStream, ReadOnly : Boolean); overload;
    procedure Open(Stream : TStream; StreamOffset : Int64; OwnStream, ReadOnly : Boolean; ZipReader : TElZipReader); overload;

[C++]
    void Open(TElOpenOfficePackage &APackage);
    void Open(TElOpenOfficePackage *APackage);
    void Open(TStream &Stream);
    void Open(TStream *Stream);
    void Open(TStream &Stream, bool OwnStream);
    void Open(TStream *Stream, bool OwnStream);
    void Open(TStream &Stream, bool OwnStream, bool ReadOnly);
    void Open(TStream *Stream, bool OwnStream, bool ReadOnly);
    void Open(TStream &Stream, int64_t StreamOffset, bool OwnStream, bool ReadOnly, TElZipReader &ZipReader);
    void Open(TStream *Stream, int64_t StreamOffset, bool OwnStream, bool ReadOnly, TElZipReader *ZipReader);

[PHP]
    void Open(TElOpenOfficePackage $APackage)
    void Open(TStream $Stream)
    void Open(TStream $Stream, bool $OwnStream)
    void Open(TStream $Stream, bool $OwnStream, bool $ReadOnly)
    void Open(TStream $Stream, integer $StreamOffset, bool $OwnStream, bool $ReadOnly, TElZipReader $ZipReader)

[Java]
    void open(TElStream Stream, long StreamOffset, boolean OwnStream, boolean ReadOnly, TElZipReader ZipReader);
    void open(TElStream Stream);
    void open(TElOpenOfficePackage APackage);
    void open(TElStream Stream, boolean OwnStream, boolean ReadOnly);
    void open(TElStream Stream, boolean OwnStream);

Parameters

  • Stream - stream with document
  • StreamOffset - offset of the document in the stream
  • OwnStream - specifies if the stream is owned by the document. If this parameter is False or omitted, user should take care of stream disposal.
  • ReadOnly - specifies if document should be opened read-only
  • ZipReader - reference to the object which will extract archived data
  • APackage - ...

Description

    Use this method to open document stored in a stream.

See also:     Close     Flush    

Discuss this help topic in SecureBlackbox Forum