From 058faf2581970fa18c314ad07f5658adeca32c69 Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Sun, 27 Nov 2011 22:08:55 +0900 Subject: update to README --- doc/Axlsx/CellProtection.html | 108 ++++++++++++++++++------------------------ 1 file changed, 45 insertions(+), 63 deletions(-) (limited to 'doc/Axlsx/CellProtection.html') diff --git a/doc/Axlsx/CellProtection.html b/doc/Axlsx/CellProtection.html index 2270800b..0e231d64 100644 --- a/doc/Axlsx/CellProtection.html +++ b/doc/Axlsx/CellProtection.html @@ -97,16 +97,14 @@
Note: -

-Using Styles#add_style is the recommended way to manage cell protection. -

+
+

Using Styles#add_style is the recommended way to manage cell protection.

-

-CellProtection stores information about locking or hiding cells in -spreadsheet. -

+ +

CellProtection stores information about locking or hiding cells in +spreadsheet.

@@ -145,9 +143,8 @@ spreadsheet. -

-specifies locking for cells that have the style containing this protection. -

+
+

specifies locking for cells that have the style containing this protection.

@@ -172,9 +169,8 @@ specifies locking for cells that have the style containing this protection. -

-specifies if the cells that have the style containing this protection. -

+
+

specifies if the cells that have the style containing this protection.

@@ -211,9 +207,8 @@ specifies if the cells that have the style containing this protection. -

-Creates a new CellProtection. -

+
+

Creates a new CellProtection.

@@ -235,9 +230,8 @@ Creates a new CellProtection. -

-Serializes the cell protection. -

+
+

Serializes the cell protection.

@@ -258,9 +252,8 @@ Serializes the cell protection.

-

-Creates a new CellProtection -

+ +

Creates a new CellProtection

@@ -281,9 +274,8 @@ Creates a new CellProtection — -

-a customizable set of options -

+
+

a customizable set of options

@@ -302,9 +294,8 @@ a customizable set of options - —

-value for hidden protection -

+ —
+

value for hidden protection

@@ -314,9 +305,8 @@ value for hidden protection - —

-value for locked protection -

+ —
+

value for locked protection

@@ -339,12 +329,11 @@ value for locked protection
# File 'lib/axlsx/stylesheet/cell_protection.rb', line 18
 
-def initialize(options={})
-  options.each do |o|
-    self.send("#{o[0]}=", o[1]) if self.respond_to? "#{o[0]}="
-  end
-end
-
+def initialize(options={}) + options.each do |o| + self.send("#{o[0]}=", o[1]) if self.respond_to? "#{o[0]}=" + end +end @@ -367,9 +356,8 @@ value for locked protection

-

-specifies locking for cells that have the style containing this protection -

+ +

specifies locking for cells that have the style containing this protection

@@ -403,10 +391,9 @@ specifies locking for cells that have the style containing this protection
# File 'lib/axlsx/stylesheet/cell_protection.rb', line 9
 
-def 
-  @hidden
-end
-
+def + @hidden +end @@ -424,9 +411,8 @@ specifies locking for cells that have the style containing this protection

-

-specifies if the cells that have the style containing this protection -

+ +

specifies if the cells that have the style containing this protection

@@ -460,10 +446,9 @@ specifies if the cells that have the style containing this protection
# File 'lib/axlsx/stylesheet/cell_protection.rb', line 13
 
-def locked
-  @locked
-end
-
+def locked + @locked +end @@ -485,9 +470,8 @@ specifies if the cells that have the style containing this protection

-

-Serializes the cell protection -

+ +

Serializes the cell protection

@@ -506,9 +490,8 @@ Serializes the cell protection — -

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

+
+

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

@@ -542,10 +525,9 @@ The document builder instance this objects xml will be added to.
# File 'lib/axlsx/stylesheet/cell_protection.rb', line 32
 
-def to_xml(xml)
-  xml.protection(self.instance_values)
-end
-
+def to_xml(xml) + xml.protection(self.instance_values) +end @@ -556,9 +538,9 @@ The document builder instance this objects xml will be added to.
-- cgit v1.2.3