Project rename
All checks were successful
CI Pipeline / build (push) Successful in 12s

This commit is contained in:
2025-12-02 13:21:13 +01:00
parent 29ebb9a8d1
commit dec346254c
36 changed files with 114 additions and 114 deletions

View File

@@ -1,15 +1,15 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
# Full demo of all Ezdoc features
# Full demo of all Notare features
# Run with: bundle exec ruby examples/full_demo.rb
require_relative "../lib/ezdoc"
require_relative "../lib/notare"
OUTPUT_FILE = File.expand_path("../example.docx", __dir__)
FIXTURES_DIR = File.expand_path("../test/fixtures", __dir__)
Ezdoc::Document.create(OUTPUT_FILE) do |doc|
Notare::Document.create(OUTPUT_FILE) do |doc|
# ============================================================================
# Custom Styles
# ============================================================================
@@ -20,7 +20,7 @@ Ezdoc::Document.create(OUTPUT_FILE) do |doc|
# ============================================================================
# Title and Introduction
# ============================================================================
doc.h1 "Ezdoc Feature Demo"
doc.h1 "Notare Feature Demo"
doc.p "A comprehensive example of all supported features", style: :subtitle
# ============================================================================
@@ -173,7 +173,7 @@ Ezdoc::Document.create(OUTPUT_FILE) do |doc|
doc.i { doc.text "formatting" }
doc.text " options with "
doc.text "custom styles", style: :highlight
doc.text " to demonstrate the full power of Ezdoc."
doc.text " to demonstrate the full power of Notare."
end
doc.p "End of demo document.", style: :centered_large