Class: OLEStorageLitePPS

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

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

Instance Method Summary collapse

Methods inherited from OLEStorageLite

#asc2ucs, #localDate2OLE, #ucs2asc

Constructor Details

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

Returns a new instance of OLEStorageLitePPS.



49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# File 'lib/WriteExcel/storage_lite.rb', line 49

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.



46
47
48
# File 'lib/WriteExcel/storage_lite.rb', line 46

def child
  @child
end

#dataObject

Returns the value of attribute data.



46
47
48
# File 'lib/WriteExcel/storage_lite.rb', line 46

def data
  @data
end

#dir_ppsObject

Returns the value of attribute dir_pps.



45
46
47
# File 'lib/WriteExcel/storage_lite.rb', line 45

def dir_pps
  @dir_pps
end

#nameObject

Returns the value of attribute name.



45
46
47
# File 'lib/WriteExcel/storage_lite.rb', line 45

def name
  @name
end

#next_ppsObject

Returns the value of attribute next_pps.



45
46
47
# File 'lib/WriteExcel/storage_lite.rb', line 45

def next_pps
  @next_pps
end

#noObject

Returns the value of attribute no.



45
46
47
# File 'lib/WriteExcel/storage_lite.rb', line 45

def no
  @no
end

#pps_fileObject (readonly)

Returns the value of attribute pps_file.



47
48
49
# File 'lib/WriteExcel/storage_lite.rb', line 47

def pps_file
  @pps_file
end

#prev_ppsObject

Returns the value of attribute prev_pps.



45
46
47
# File 'lib/WriteExcel/storage_lite.rb', line 45

def prev_pps
  @prev_pps
end

#sizeObject

Returns the value of attribute size.



46
47
48
# File 'lib/WriteExcel/storage_lite.rb', line 46

def size
  @size
end

#start_blockObject

Returns the value of attribute start_block.



46
47
48
# File 'lib/WriteExcel/storage_lite.rb', line 46

def start_block
  @start_block
end

#time_1stObject

Returns the value of attribute time_1st.



46
47
48
# File 'lib/WriteExcel/storage_lite.rb', line 46

def time_1st
  @time_1st
end

#time_2ndObject

Returns the value of attribute time_2nd.



46
47
48
# File 'lib/WriteExcel/storage_lite.rb', line 46

def time_2nd
  @time_2nd
end

#typeObject

Returns the value of attribute type.



45
46
47
# File 'lib/WriteExcel/storage_lite.rb', line 45

def type
  @type
end