Module: OpenXml::Xlsx
- Defined in:
- lib/openxml/xlsx.rb,
lib/openxml/xlsx/parts.rb,
lib/openxml/xlsx/package.rb,
lib/openxml/xlsx/version.rb,
lib/openxml/xlsx/elements.rb,
lib/openxml/xlsx/parts/table.rb,
lib/openxml/xlsx/elements/row.rb,
lib/openxml/xlsx/elements/cell.rb,
lib/openxml/xlsx/elements/font.rb,
lib/openxml/xlsx/elements/style.rb,
lib/openxml/xlsx/parts/workbook.rb,
lib/openxml/xlsx/elements/border.rb,
lib/openxml/xlsx/parts/worksheet.rb,
lib/openxml/xlsx/parts/stylesheet.rb,
lib/openxml/xlsx/elements/alignment.rb,
lib/openxml/xlsx/elements/theme_color.rb,
lib/openxml/xlsx/parts/shared_strings.rb,
lib/openxml/xlsx/elements/border_style.rb,
lib/openxml/xlsx/elements/defined_name.rb,
lib/openxml/xlsx/elements/pattern_fill.rb,
lib/openxml/xlsx/elements/relationship.rb,
lib/openxml/xlsx/elements/table_column.rb,
lib/openxml/xlsx/elements/indexed_color.rb,
lib/openxml/xlsx/elements/number_format.rb,
lib/openxml/xlsx/elements/border_component.rb,
lib/openxml/xlsx/elements/implied_number_format.rb
Defined Under Namespace
Modules: Elements, Parts Classes: Package
Constant Summary collapse
- REL_DOCUMENT =
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument".freeze
- REL_WORKSHEET =
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet".freeze
- REL_STYLES =
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles".freeze
- REL_SHARED_STRINGS =
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings".freeze
- REL_CALC_CHAIN =
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain".freeze
- REL_THEME =
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme".freeze
- REL_TABLE =
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/table".freeze
- TYPE_WORKBOOK =
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml".freeze
- TYPE_WORKSHEET =
"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml".freeze
- TYPE_THEME =
"application/vnd.openxmlformats-officedocument.theme+xml".freeze
- TYPE_STYLES =
"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml".freeze
- TYPE_SHARED_STRINGS =
"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml".freeze
- TYPE_CALC_CHAIN =
"application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml".freeze
- TYPE_CORE_PROPS =
"application/vnd.openxmlformats-package.core-properties+xml".freeze
- TYPE_APP_PROPS =
"application/vnd.openxmlformats-officedocument.extended-properties+xml".freeze
- TYPE_TABLE =
"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml".freeze
- VERSION =
"0.2.0"
Class Method Summary collapse
Class Method Details
.index!(collection, item) ⇒ Object
21 22 23 |
# File 'lib/openxml/xlsx.rb', line 21 def self.index!(collection, item) collection.index(item) || collection.push(item).length - 1 end |