From 8cf0296bbc16e8eb535e9af932eed2557d5e66d2 Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Thu, 1 Dec 2011 14:11:42 +0900 Subject: removing generated yard docs from repository --- doc/Axlsx/TableStyles.html | 580 --------------------------------------------- 1 file changed, 580 deletions(-) delete mode 100644 doc/Axlsx/TableStyles.html (limited to 'doc/Axlsx/TableStyles.html') diff --git a/doc/Axlsx/TableStyles.html b/doc/Axlsx/TableStyles.html deleted file mode 100644 index 4f265099..00000000 --- a/doc/Axlsx/TableStyles.html +++ /dev/null @@ -1,580 +0,0 @@ - - - - - - Class: Axlsx::TableStyles - - — AXLSX - - - - - - - - - - - - - - - - - - - - - - -

Class: Axlsx::TableStyles - - - -

- -
- -
Inherits:
-
- SimpleTypedList - - - show all - -
- - - - - - - - - -
Defined in:
-
lib/axlsx/stylesheet/table_styles.rb
- -
-
- -

Overview

-
- -
- Note: -
-

Support for custom table styles does not exist in this version. Many of the -classes required are defined in preparation for future release. Please do -not attempt to add custom table styles.

-
-
- - -

TableStyles represents a collection of style definitions for table styles -and pivot table styles.

- - -
-
-
- - -
- - - - - -

Instance Attribute Summary (collapse)

- - - - - - - - - -

Attributes inherited from SimpleTypedList

-

allowed_types, locked_at, serialize_as

- - - -

- Instance Method Summary - (collapse) -

- - - - - - - - - -
-

Constructor Details

- -
-

- - - (TableStyles) initialize(options = {}) - - - -

-
- -

Creates a new TableStyles object that is a container for TableStyle objects

- - -
-
-
-

Parameters:

-
    - -
  • - - options - - - (Hash) - - - (defaults to: {}) - - - — -
    -

    a customizable set of options

    -
    - -
  • - -
- - - - -

Options Hash (options):

-
    - -
  • - defaultTableStyle - (String) - - - - -
  • - -
  • - defaultPivotStyle - (String) - - - - -
  • - -
- - - -
- - - - -
-
-
-
-17
-18
-19
-20
-21
-
-
# File 'lib/axlsx/stylesheet/table_styles.rb', line 17
-
-def initialize(options={})
-  @defaultTableStyle = options[:defaultTableStyle] || "TableStyleMedium9"
-  @defaultPivotStyle = options[:defaultPivotStyle] || "PivotStyleLight16"      
-  super TableStyle
-end
-
-
-
- -
-
-

Dynamic Method Handling

-

- This class handles dynamic methods through the method_missing method - - in the class Axlsx::SimpleTypedList - -

- -
- -
-

Instance Attribute Details

- - - - -
-

- - - (String) defaultPivotStyle - - - -

-
- -

The default pivot table style. The default value is ‘PivotStyleLight6’

- - -
-
-
- -

Returns:

-
    - -
  • - - - (String) - - - -
  • - -
- -
- - - - -
-
-
-
-12
-13
-14
-
-
# File 'lib/axlsx/stylesheet/table_styles.rb', line 12
-
-def defaultPivotStyle
-  @defaultPivotStyle
-end
-
-
-
- - - - -
-

- - - (String) defaultTableStyle - - - -

-
- -

The default table style. The default value is ‘TableStyleMedium9’

- - -
-
-
- -

Returns:

-
    - -
  • - - - (String) - - - -
  • - -
- -
- - - - -
-
-
-
-8
-9
-10
-
-
# File 'lib/axlsx/stylesheet/table_styles.rb', line 8
-
-def defaultTableStyle
-  @defaultTableStyle
-end
-
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - - (String) to_xml(xml) - - - -

-
- -

Serializes the table styles element

- - -
-
-
-

Parameters:

-
    - -
  • - - xml - - - (Nokogiri::XML::Builder) - - - - — -
    -

    The document builder instance this objects xml will be added to.

    -
    - -
  • - -
- -

Returns:

-
    - -
  • - - - (String) - - - -
  • - -
- -
- - - - -
-
-
-
-30
-31
-32
-33
-34
-35
-36
-
-
# File 'lib/axlsx/stylesheet/table_styles.rb', line 30
-
-def to_xml(xml)
-  attr = self.instance_values.reject {|k, v| ![:defaultTableStyle, :defaultPivotStyle].include?(k.to_sym) }
-  attr[:count] = self.size
-  xml.tableStyles(attr) {
-    self.each { |table_style| table_style.to_xml(xml) }
-  }
-end
-
-
-
- -
- -
- - - - - \ No newline at end of file -- cgit v1.2.3