Esempio n. 1
0
        private uint _standardStreamMinBytes; //in bytes

        #endregion Fields

        #region Constructors

        /// <summary>
        /// Initializes a new, blank, Ole2Document object.
        /// </summary>
        public Ole2Document()
        {
            SetDefaults();

            _header = new Header(this);
            _msat = new Msat(this);
            _sat = new Sat(this);
            _ssat = new Ssat(this);
            _directory = new Directory(this);
            _streams = new Streams(this);

            _streams.AddNamed(new Bytes(), Directory.RootName);
        }
Esempio n. 2
0
        /// <summary>
        /// Initializes a new, blank, Ole2Document object.
        /// </summary>
        public Ole2Document()
        {
            SetDefaults();

            _header    = new Header(this);
            _msat      = new Msat(this);
            _sat       = new Sat(this);
            _ssat      = new Ssat(this);
            _directory = new Directory(this);
            _streams   = new Streams(this);

            _streams.AddNamed(new Bytes(), Directory.RootName);
        }