summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2013-03-16 11:40:54 +0900
committerRandy Morgan <[email protected]>2013-03-16 11:40:54 +0900
commit38e1638fa715398429797276058f2c18e9e21e9b (patch)
tree30fd423d54033d2a525ebd6092f6da7a1342efbd /examples
parent0cb6eec06b6e13df28a6ce9e0b90e4e1ed8d5b28 (diff)
downloadcaxlsx-38e1638fa715398429797276058f2c18e9e21e9b.tar.gz
caxlsx-38e1638fa715398429797276058f2c18e9e21e9b.zip
First run at 'hidden' comments WIP
The xml is genrated correcty, but the comment still shows until it is selected once in the excel ui - so I must be missing something.
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/example.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/example.rb b/examples/example.rb
index c9b5564e..70f003fc 100755
--- a/examples/example.rb
+++ b/examples/example.rb
@@ -583,6 +583,8 @@ if examples.include? :comments
wb.add_worksheet(:name => 'comments') do |sheet|
sheet.add_row ['Can we build it?']
sheet.add_comment :ref => 'A1', :author => 'Bob', :text => 'Yes We Can!'
+ sheet.add_comment :ref => 'A2', :author => 'Bob', :text => 'Yes We Can! - but I dont think you need to know about it!', :visible => false
+
end
end