Discuss this help topic in SecureBlackbox Forum

TElOpenOfficePackage.Open

TElOpenOfficePackage     See also     


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


Opens a package.

Declaration

[C#/Java]
    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 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(Stream : TStream);
    procedure Open(Stream : TStream; OwnStream : boolean);
    procedure Open(Stream : TStream; OwnStream, ReadOnly : boolean);
    procedure Open(Stream : TStream; StreamOffset : Int64; OwnStream, ReadOnly : boolean; ZipReader : TElZipReader);

[C++]
    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(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)

Parameters

  • Stream - stream with the file data
  • StreamOffset - offset of the data in the stream
  • OwnStream - specifies if the stream is owned by the component. If this parameter is False or is omitted, user should take care of stream disposal.
  • ReadOnly - specifies if the stream is opened in a read-only mode
  • ZipReader - the component to be used to read the compressed data

Description

    Use this method to open a Zip file.

See also:     Close     Flush     CreateNew    

Discuss this help topic in SecureBlackbox Forum