Class: OLEStorageLitePPS

Inherits:
OLEStorageLite show all
Defined in:
lib/writeexcel/storage_lite.rb

Overview

:nodoc:

Direct Known Subclasses

OLEStorageLitePPSFile, OLEStorageLitePPSRoot

Constant Summary

Constants inherited from OLEStorageLite

OLEStorageLite::DATA_SIZE_SMALL, OLEStorageLite::LONG_INT_SIZE, OLEStorageLite::PPS_SIZE, OLEStorageLite::PPS_TYPE_DIR, OLEStorageLite::PPS_TYPE_FILE, OLEStorageLite::PPS_TYPE_ROOT

Instance Attribute Summary collapse

Attributes inherited from OLEStorageLite

#file

Instance Method Summary collapse

Methods inherited from OLEStorageLite

#asc2ucs, #getNthPps, #getPpsSearch, #getPpsTree, #localDate2OLE, #oleData2Local, #ucs2asc

Constructor Details

#initialize(iNo, sNm, iType, iPrev, iNext, iDir, raTime1st, raTime2nd, iStart, iSize, sData, raChild) ⇒ OLEStorageLitePPS

Returns a new instance of OLEStorageLitePPS


438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
# File 'lib/writeexcel/storage_lite.rb', line 438

def initialize(iNo, sNm, iType, iPrev, iNext, iDir,
               raTime1st, raTime2nd, iStart, iSize, sData, raChild)
  @no          = iNo
  @name        = sNm
  @type        = iType
  @prev_pps    = iPrev
  @next_pps    = iNext
  @dir_pps     = iDir
  @time_1st    = raTime1st
  @time_2nd    = raTime2nd
  @start_block = iStart
  @size        = iSize
  @data        = sData
  @child       = raChild
  @pps_file    = nil
end

Instance Attribute Details

#childObject

Returns the value of attribute child


435
436
437
# File 'lib/writeexcel/storage_lite.rb', line 435

def child
  @child
end

#dataObject

Returns the value of attribute data


435
436
437
# File 'lib/writeexcel/storage_lite.rb', line 435

def data
  @data
end

#dir_ppsObject

Returns the value of attribute dir_pps


434
435
436
# File 'lib/writeexcel/storage_lite.rb', line 434

def dir_pps
  @dir_pps
end

#nameObject

Returns the value of attribute name


434
435
436
# File 'lib/writeexcel/storage_lite.rb', line 434

def name
  @name
end

#next_ppsObject

Returns the value of attribute next_pps


434
435
436
# File 'lib/writeexcel/storage_lite.rb', line 434

def next_pps
  @next_pps
end

#noObject

Returns the value of attribute no


434
435
436
# File 'lib/writeexcel/storage_lite.rb', line 434

def no
  @no
end

#pps_fileObject (readonly)

Returns the value of attribute pps_file


436
437
438
# File 'lib/writeexcel/storage_lite.rb', line 436

def pps_file
  @pps_file
end

#prev_ppsObject

Returns the value of attribute prev_pps


434
435
436
# File 'lib/writeexcel/storage_lite.rb', line 434

def prev_pps
  @prev_pps
end

#sizeObject

Returns the value of attribute size


435
436
437
# File 'lib/writeexcel/storage_lite.rb', line 435

def size
  @size
end

#start_blockObject

Returns the value of attribute start_block


435
436
437
# File 'lib/writeexcel/storage_lite.rb', line 435

def start_block
  @start_block
end

#time_1stObject

Returns the value of attribute time_1st


435
436
437
# File 'lib/writeexcel/storage_lite.rb', line 435

def time_1st
  @time_1st
end

#time_2ndObject

Returns the value of attribute time_2nd


435
436
437
# File 'lib/writeexcel/storage_lite.rb', line 435

def time_2nd
  @time_2nd
end

#typeObject

Returns the value of attribute type


434
435
436
# File 'lib/writeexcel/storage_lite.rb', line 434

def type
  @type
end