summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorZsolt Kozaroczy <[email protected]>2023-10-19 10:13:06 +0200
committerGitHub <[email protected]>2023-10-19 10:13:06 +0200
commit52912ca8ac772144e2fb7b868301a5846b9ee39d (patch)
tree28be04ab123214e63ee628d582d36a754a7af855 /examples
parentabfe20072384f8457e7a47b6fe4cc8af101bce56 (diff)
parentd74e85d1ac03954ce1d687fb1245cbee38c4f718 (diff)
downloadcaxlsx-52912ca8ac772144e2fb7b868301a5846b9ee39d.tar.gz
caxlsx-52912ca8ac772144e2fb7b868301a5846b9ee39d.zip
Merge pull request #307 from kiskoza/escape-formulas-by-default
Escape formulas by default
Diffstat (limited to 'examples')
-rw-r--r--examples/basic_formula_example.md2
-rw-r--r--examples/cached_formula_example.md2
-rw-r--r--examples/column_outlines_example.md2
-rw-r--r--examples/complex_example.md2
-rw-r--r--examples/defined_name_example.md2
-rw-r--r--examples/row_outlines_example.md2
6 files changed, 12 insertions, 0 deletions
diff --git a/examples/basic_formula_example.md b/examples/basic_formula_example.md
index d19288fb..5a6eb878 100644
--- a/examples/basic_formula_example.md
+++ b/examples/basic_formula_example.md
@@ -7,6 +7,8 @@ You could insert formulas
```ruby
require 'axlsx'
+Axlsx.escape_formulas = false
+
p = Axlsx::Package.new
wb = p.workbook
diff --git a/examples/cached_formula_example.md b/examples/cached_formula_example.md
index e5b82264..47855b59 100644
--- a/examples/cached_formula_example.md
+++ b/examples/cached_formula_example.md
@@ -7,6 +7,8 @@ When you add a formula in Excel, it immediately calculates its value and store i
```ruby
require 'axlsx'
+Axlsx.escape_formulas = false
+
p = Axlsx::Package.new
wb = p.workbook
diff --git a/examples/column_outlines_example.md b/examples/column_outlines_example.md
index 6d402af5..5e2557e4 100644
--- a/examples/column_outlines_example.md
+++ b/examples/column_outlines_example.md
@@ -7,6 +7,8 @@ If you have a list of data that you want to group and summarize, you can create
```ruby
require 'axlsx'
+Axlsx.escape_formulas = false
+
p = Axlsx::Package.new
wb = p.workbook
diff --git a/examples/complex_example.md b/examples/complex_example.md
index 4f395b02..c0c8d7f4 100644
--- a/examples/complex_example.md
+++ b/examples/complex_example.md
@@ -7,6 +7,8 @@ This is a complex example with a worksheet full of data.
```ruby
require 'axlsx'
+Axlsx.escape_formulas = false
+
p = Axlsx::Package.new
wb = p.workbook
diff --git a/examples/defined_name_example.md b/examples/defined_name_example.md
index ce998263..b2dd3a80 100644
--- a/examples/defined_name_example.md
+++ b/examples/defined_name_example.md
@@ -7,6 +7,8 @@ You could use defined names in formulas
```ruby
require 'axlsx'
+Axlsx.escape_formulas = false
+
p = Axlsx::Package.new
wb = p.workbook
diff --git a/examples/row_outlines_example.md b/examples/row_outlines_example.md
index baa48cfe..78c0d55a 100644
--- a/examples/row_outlines_example.md
+++ b/examples/row_outlines_example.md
@@ -7,6 +7,8 @@ If you have a list of data that you want to group and summarize, you can create
```ruby
require 'axlsx'
+Axlsx.escape_formulas = false
+
p = Axlsx::Package.new
wb = p.workbook