docxi 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/lib/{docxer.rb → docxi.rb} +7 -7
  4. data/lib/{docxer → docxi}/content_types.rb +4 -4
  5. data/lib/{docxer → docxi}/content_types/default.rb +1 -1
  6. data/lib/{docxer → docxi}/content_types/override.rb +1 -1
  7. data/lib/{docxer → docxi}/document.rb +1 -1
  8. data/lib/{docxer → docxi}/properties.rb +5 -5
  9. data/lib/{docxer → docxi}/properties/app.rb +2 -2
  10. data/lib/{docxer → docxi}/properties/core.rb +1 -1
  11. data/lib/{docxer → docxi}/relationships.rb +3 -3
  12. data/lib/{docxer → docxi}/relationships/relationship.rb +1 -1
  13. data/lib/docxi/version.rb +3 -0
  14. data/lib/docxi/word.rb +16 -0
  15. data/lib/docxi/word/contents.rb +6 -0
  16. data/lib/{docxer → docxi}/word/contents/break.rb +1 -1
  17. data/lib/{docxer → docxi}/word/contents/image.rb +1 -1
  18. data/lib/{docxer → docxi}/word/contents/paragraph.rb +4 -4
  19. data/lib/{docxer → docxi}/word/contents/table.rb +2 -2
  20. data/lib/{docxer → docxi}/word/contents/table_of_content.rb +1 -1
  21. data/lib/{docxer → docxi}/word/contents/text.rb +2 -2
  22. data/lib/{docxer → docxi}/word/document.rb +2 -2
  23. data/lib/{docxer → docxi}/word/effects.rb +2 -2
  24. data/lib/{docxer → docxi}/word/endnotes.rb +2 -2
  25. data/lib/{docxer → docxi}/word/fonts.rb +3 -3
  26. data/lib/{docxer → docxi}/word/fonts/font.rb +1 -1
  27. data/lib/{docxer → docxi}/word/footers.rb +2 -2
  28. data/lib/{docxer → docxi}/word/footers/footer.rb +4 -4
  29. data/lib/{docxer → docxi}/word/footnotes.rb +2 -2
  30. data/lib/{docxer → docxi}/word/headers.rb +2 -2
  31. data/lib/{docxer → docxi}/word/headers/header.rb +3 -3
  32. data/lib/{docxer → docxi}/word/helpers.rb +5 -5
  33. data/lib/{docxer → docxi}/word/medias.rb +2 -2
  34. data/lib/{docxer → docxi}/word/medias/media.rb +1 -1
  35. data/lib/{docxer → docxi}/word/numbering.rb +2 -2
  36. data/lib/{docxer → docxi}/word/relationships.rb +3 -3
  37. data/lib/{docxer → docxi}/word/relationships/relationship.rb +1 -1
  38. data/lib/{docxer → docxi}/word/settings.rb +2 -2
  39. data/lib/{docxer → docxi}/word/styles.rb +2 -2
  40. data/lib/{docxer → docxi}/word/themes.rb +2 -2
  41. data/lib/{docxer → docxi}/word/themes/theme.rb +2 -2
  42. data/lib/{docxer → docxi}/word/web_settings.rb +2 -2
  43. metadata +41 -41
  44. data/lib/docxer/version.rb +0 -3
  45. data/lib/docxer/word.rb +0 -16
  46. data/lib/docxer/word/contents.rb +0 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 34fb074e4870c5e781a9d50f66e8bd3a01bad7c0
4
- data.tar.gz: b01600e044ad5a3199c4c70bf7ac09381e108462
3
+ metadata.gz: 6c090f48de3b5f08211cfcf6772bede9af088528
4
+ data.tar.gz: 0dda1273cb0c9cdd092a36db7a9448538828dbe6
5
5
  SHA512:
6
- metadata.gz: 065977adf5b19aba50abe44de2b37e89887b5e517310e75160ef88aed464466596612e22c988caa7c37a9ac4890cba318f0aa33ac83b3b4e3f753d826ecb71b1
7
- data.tar.gz: 83940b46ec8c2413a0a79dc994f39e7e0c961e7cf580dffdbb71ef0665cd258d027bcb49f95eae62005ddb7451c0caa4f19c308cc08a0549a5f4bed8c0cadd2f
6
+ metadata.gz: 2ada27ba61335c8421b4d8e2dd65757afb79a960b8ffdb20d121d48d3310c042bc9264dd882f3568918c9ca689f9edec5c52beee4a68c70fa3480ac07f843a48
7
+ data.tar.gz: ba26ae7dfe72ad1e40ce4bfb64602965d31e67e3240a9d9501817d70230442740be4c2e80ab434a4ac549bd03cad1082f0445968a1cd6c5e2ce50f3be2c82845
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- Docxer gem provides ability to create docx documents using Ruby.
1
+ Docxi gem provides ability to create docx documents using Ruby.
2
2
 
3
3
  ## Features
4
4
 
@@ -15,11 +15,11 @@ At the moment, the gem supports a limited number of functions, but the developme
15
15
  ## Usage
16
16
 
17
17
  ```ruby
18
- word = Docxer::Document.new
18
+ word = Docxi::Document.new
19
19
  document = word.document
20
20
 
21
21
  # Creates Header
22
- header = Docxer::Word::Headers::Header.new do |h|
22
+ header = Docxi::Word::Headers::Header.new do |h|
23
23
  # Inserts image into header
24
24
  header_logo = document.add_media File.open('logo.png')
25
25
  h.image header_logo, align: 'right', width: 100, height: 100
@@ -29,7 +29,7 @@ end
29
29
  document.add_header(header)
30
30
 
31
31
  # Creates Footer
32
- footer = Docxer::Word::Footers::Footer.new do |f|
32
+ footer = Docxi::Word::Footers::Footer.new do |f|
33
33
  # Adds footer text
34
34
  f.text "Footer Text", size: 8, align: 'center'
35
35
  # Adds page numbers
@@ -1,20 +1,20 @@
1
1
  require 'nokogiri'
2
2
  require 'zip/zip'
3
3
 
4
- require 'docxer/relationships'
5
- require 'docxer/content_types'
6
- require 'docxer/properties'
7
- require 'docxer/word'
8
- require 'docxer/document'
4
+ require 'docxi/relationships'
5
+ require 'docxi/content_types'
6
+ require 'docxi/properties'
7
+ require 'docxi/word'
8
+ require 'docxi/document'
9
9
 
10
- module Docxer
10
+ module Docxi
11
11
 
12
12
  def self.to_xml(document)
13
13
  document.to_xml(:save_with => Nokogiri::XML::Node::SaveOptions::AS_XML).gsub("\n", "\r\n").strip
14
14
  end
15
15
 
16
16
  def self.test
17
- word = Docxer::Document.new
17
+ word = Docxi::Document.new
18
18
 
19
19
  word.document.break
20
20
  word.document.break
@@ -1,7 +1,7 @@
1
- require 'docxer/content_types/default'
2
- require 'docxer/content_types/override'
1
+ require 'docxi/content_types/default'
2
+ require 'docxi/content_types/override'
3
3
 
4
- module Docxer
4
+ module Docxi
5
5
  class ContentTypes
6
6
 
7
7
  attr_accessor :content_types
@@ -35,7 +35,7 @@ module Docxer
35
35
 
36
36
  def render(zip)
37
37
  zip.put_next_entry('[Content_Types].xml')
38
- zip.write(Docxer.to_xml(document))
38
+ zip.write(Docxi.to_xml(document))
39
39
  end
40
40
 
41
41
  private
@@ -1,4 +1,4 @@
1
- module Docxer
1
+ module Docxi
2
2
  class ContentTypes
3
3
  class Default
4
4
 
@@ -1,4 +1,4 @@
1
- module Docxer
1
+ module Docxi
2
2
  class ContentTypes
3
3
  class Override
4
4
 
@@ -1,4 +1,4 @@
1
- module Docxer
1
+ module Docxi
2
2
  class Document
3
3
 
4
4
  attr_accessor :document, :properties, :relationships, :content_types
@@ -1,7 +1,7 @@
1
- require 'docxer/properties/app'
2
- require 'docxer/properties/core'
1
+ require 'docxi/properties/app'
2
+ require 'docxi/properties/core'
3
3
 
4
- module Docxer
4
+ module Docxi
5
5
  class Properties
6
6
  attr_accessor :options, :app, :core
7
7
 
@@ -19,10 +19,10 @@ module Docxer
19
19
 
20
20
  def render(zip)
21
21
  zip.put_next_entry('docProps/app.xml')
22
- zip.write(Docxer.to_xml(app.document))
22
+ zip.write(Docxi.to_xml(app.document))
23
23
 
24
24
  zip.put_next_entry('docProps/core.xml')
25
- zip.write(Docxer.to_xml(core.document))
25
+ zip.write(Docxi.to_xml(core.document))
26
26
  end
27
27
 
28
28
  end
@@ -1,4 +1,4 @@
1
- module Docxer
1
+ module Docxi
2
2
  class Properties
3
3
  class App
4
4
 
@@ -16,7 +16,7 @@ module Docxer
16
16
  xml.Pages 1
17
17
  xml.Words 0
18
18
  xml.Characters 0
19
- xml.Application "Docxer Ruby Gem"
19
+ xml.Application "Docxi Ruby Gem"
20
20
  xml.DocSecurity 0
21
21
  xml.Lines 0
22
22
  xml.Paragraphs 0
@@ -1,4 +1,4 @@
1
- module Docxer
1
+ module Docxi
2
2
  class Properties
3
3
  class Core
4
4
 
@@ -1,6 +1,6 @@
1
- require 'docxer/relationships/relationship'
1
+ require 'docxi/relationships/relationship'
2
2
 
3
- module Docxer
3
+ module Docxi
4
4
  class Relationships
5
5
  @@prefix = 'rId'
6
6
 
@@ -22,7 +22,7 @@ module Docxer
22
22
 
23
23
  def render(zip)
24
24
  zip.put_next_entry('_rels/.rels')
25
- zip.write(Docxer.to_xml(document))
25
+ zip.write(Docxi.to_xml(document))
26
26
  end
27
27
 
28
28
  private
@@ -1,4 +1,4 @@
1
- module Docxer
1
+ module Docxi
2
2
  class Relationships
3
3
  class Relationship
4
4
 
@@ -0,0 +1,3 @@
1
+ module Docxi
2
+ VERSION = "0.0.2"
3
+ end
data/lib/docxi/word.rb ADDED
@@ -0,0 +1,16 @@
1
+ require 'docxi/word/fonts'
2
+ require 'docxi/word/settings'
3
+ require 'docxi/word/styles'
4
+ require 'docxi/word/numbering'
5
+ require 'docxi/word/effects'
6
+ require 'docxi/word/web_settings'
7
+ require 'docxi/word/themes'
8
+ require 'docxi/word/medias'
9
+ require 'docxi/word/relationships'
10
+ require 'docxi/word/footnotes'
11
+ require 'docxi/word/footers'
12
+ require 'docxi/word/headers'
13
+ require 'docxi/word/endnotes'
14
+ require 'docxi/word/contents'
15
+ require 'docxi/word/helpers'
16
+ require 'docxi/word/document'
@@ -0,0 +1,6 @@
1
+ require 'docxi/word/contents/break'
2
+ require 'docxi/word/contents/text'
3
+ require 'docxi/word/contents/table_of_content'
4
+ require 'docxi/word/contents/image'
5
+ require 'docxi/word/contents/paragraph'
6
+ require 'docxi/word/contents/table'
@@ -1,4 +1,4 @@
1
- module Docxer
1
+ module Docxi
2
2
  module Word
3
3
  module Contents
4
4
 
@@ -1,4 +1,4 @@
1
- module Docxer
1
+ module Docxi
2
2
  module Word
3
3
  module Contents
4
4
 
@@ -1,4 +1,4 @@
1
- module Docxer
1
+ module Docxi
2
2
  module Word
3
3
  module Contents
4
4
 
@@ -35,19 +35,19 @@ module Docxer
35
35
 
36
36
  def text(text, options={})
37
37
  options = @options.merge(options)
38
- text = Docxer::Word::Contents::Text.new(text, options)
38
+ text = Docxi::Word::Contents::Text.new(text, options)
39
39
  @content << text
40
40
  text
41
41
  end
42
42
 
43
43
  def br(options={})
44
- br = Docxer::Word::Contents::Break.new(options)
44
+ br = Docxi::Word::Contents::Break.new(options)
45
45
  @content << br
46
46
  br
47
47
  end
48
48
 
49
49
  def image(image, options={})
50
- img = Docxer::Word::Contents::Image.new(image, options)
50
+ img = Docxi::Word::Contents::Image.new(image, options)
51
51
  @content << img
52
52
  img
53
53
  end
@@ -1,4 +1,4 @@
1
- module Docxer
1
+ module Docxi
2
2
  module Word
3
3
  module Contents
4
4
 
@@ -137,7 +137,7 @@ module Docxer
137
137
 
138
138
  def text(text, options={})
139
139
  options = @options.merge(options)
140
- element = Docxer::Word::Contents::Paragraph.new(options) do |p|
140
+ element = Docxi::Word::Contents::Paragraph.new(options) do |p|
141
141
  p.text(text)
142
142
  end
143
143
  @content << element
@@ -1,4 +1,4 @@
1
- module Docxer
1
+ module Docxi
2
2
  module Word
3
3
  module Contents
4
4
 
@@ -1,4 +1,4 @@
1
- module Docxer
1
+ module Docxi
2
2
  module Word
3
3
  module Contents
4
4
 
@@ -23,7 +23,7 @@ module Docxer
23
23
  xml['w'].t @text
24
24
  end
25
25
  if options[:br]
26
- br = Docxer::Word::Contents::Break.new
26
+ br = Docxi::Word::Contents::Break.new
27
27
  br.render(xml)
28
28
  end
29
29
  end
@@ -1,4 +1,4 @@
1
- module Docxer
1
+ module Docxi
2
2
  module Word
3
3
  class Document
4
4
 
@@ -88,7 +88,7 @@ module Docxer
88
88
 
89
89
  def render(zip)
90
90
  zip.put_next_entry('word/document.xml')
91
- zip.write(Docxer.to_xml(document))
91
+ zip.write(Docxi.to_xml(document))
92
92
 
93
93
  fonts.render(zip)
94
94
  settings.render(zip)
@@ -1,4 +1,4 @@
1
- module Docxer
1
+ module Docxi
2
2
  module Word
3
3
  class Effects
4
4
 
@@ -9,7 +9,7 @@ module Docxer
9
9
 
10
10
  def render(zip)
11
11
  zip.put_next_entry('word/stylesWithEffects.xml')
12
- zip.write(Docxer.to_xml(document))
12
+ zip.write(Docxi.to_xml(document))
13
13
  end
14
14
 
15
15
  private
@@ -1,4 +1,4 @@
1
- module Docxer
1
+ module Docxi
2
2
  module Word
3
3
  class Endnotes
4
4
 
@@ -9,7 +9,7 @@ module Docxer
9
9
 
10
10
  def render(zip)
11
11
  zip.put_next_entry('word/endnotes.xml')
12
- zip.write(Docxer.to_xml(document))
12
+ zip.write(Docxi.to_xml(document))
13
13
  end
14
14
 
15
15
  def document
@@ -1,6 +1,6 @@
1
- require 'docxer/word/fonts/font'
1
+ require 'docxi/word/fonts/font'
2
2
 
3
- module Docxer
3
+ module Docxi
4
4
  module Word
5
5
  class Fonts
6
6
 
@@ -21,7 +21,7 @@ module Docxer
21
21
 
22
22
  def render(zip)
23
23
  zip.put_next_entry('word/fontTable.xml')
24
- zip.write(Docxer.to_xml(document))
24
+ zip.write(Docxi.to_xml(document))
25
25
  end
26
26
 
27
27
  private
@@ -1,4 +1,4 @@
1
- module Docxer
1
+ module Docxi
2
2
  module Word
3
3
  class Fonts
4
4
  class Font
@@ -1,6 +1,6 @@
1
- require 'docxer/word/footers/footer'
1
+ require 'docxi/word/footers/footer'
2
2
 
3
- module Docxer
3
+ module Docxi
4
4
  module Word
5
5
  class Footers
6
6
 
@@ -1,6 +1,6 @@
1
1
  #encoding: utf-8
2
2
 
3
- module Docxer
3
+ module Docxi
4
4
  module Word
5
5
  class Footers
6
6
  class Footer
@@ -28,17 +28,17 @@ module Docxer
28
28
 
29
29
  def render(zip)
30
30
  zip.put_next_entry("word/#{target}")
31
- zip.write(Docxer.to_xml(document))
31
+ zip.write(Docxi.to_xml(document))
32
32
 
33
33
  if !@relationships.empty?
34
34
  zip.put_next_entry("word/_rels/#{target}.rels")
35
- zip.write(Docxer.to_xml(relationships))
35
+ zip.write(Docxi.to_xml(relationships))
36
36
  end
37
37
  end
38
38
 
39
39
  def text(text, options={})
40
40
  options = @options.merge(options)
41
- element = Docxer::Word::Contents::Paragraph.new(options) do |p|
41
+ element = Docxi::Word::Contents::Paragraph.new(options) do |p|
42
42
  p.text(text)
43
43
  end
44
44
  @content << element
@@ -1,4 +1,4 @@
1
- module Docxer
1
+ module Docxi
2
2
  module Word
3
3
  class Footnotes
4
4
 
@@ -9,7 +9,7 @@ module Docxer
9
9
 
10
10
  def render(zip)
11
11
  zip.put_next_entry('word/footnotes.xml')
12
- zip.write(Docxer.to_xml(document))
12
+ zip.write(Docxi.to_xml(document))
13
13
  end
14
14
 
15
15
  private
@@ -1,6 +1,6 @@
1
- require 'docxer/word/headers/header'
1
+ require 'docxi/word/headers/header'
2
2
 
3
- module Docxer
3
+ module Docxi
4
4
  module Word
5
5
  class Headers
6
6
 
@@ -1,6 +1,6 @@
1
1
  #encoding: utf-8
2
2
 
3
- module Docxer
3
+ module Docxi
4
4
  module Word
5
5
  class Headers
6
6
  class Header
@@ -28,11 +28,11 @@ module Docxer
28
28
 
29
29
  def render(zip)
30
30
  zip.put_next_entry("word/#{target}")
31
- zip.write(Docxer.to_xml(document))
31
+ zip.write(Docxi.to_xml(document))
32
32
 
33
33
  if !@relationships.empty?
34
34
  zip.put_next_entry("word/_rels/#{target}.rels")
35
- zip.write(Docxer.to_xml(relationships))
35
+ zip.write(Docxi.to_xml(relationships))
36
36
  end
37
37
  end
38
38
 
@@ -1,4 +1,4 @@
1
- module Docxer
1
+ module Docxi
2
2
  module Word
3
3
  module Helpers
4
4
 
@@ -9,25 +9,25 @@ module Docxer
9
9
  end
10
10
 
11
11
  def br(options={})
12
- element = Docxer::Word::Contents::Break.new(options)
12
+ element = Docxi::Word::Contents::Break.new(options)
13
13
  @content << element
14
14
  element
15
15
  end
16
16
 
17
17
  def p(options={}, &block)
18
- element = Docxer::Word::Contents::Paragraph.new(options, &block)
18
+ element = Docxi::Word::Contents::Paragraph.new(options, &block)
19
19
  @content << element
20
20
  element
21
21
  end
22
22
 
23
23
  def table_of_content(options={}, &block)
24
- toc = Docxer::Word::Contents::TableOfContent.new(options, &block)
24
+ toc = Docxi::Word::Contents::TableOfContent.new(options, &block)
25
25
  @content << toc
26
26
  toc
27
27
  end
28
28
 
29
29
  def table(options={}, &block)
30
- table = Docxer::Word::Contents::Table.new(options, &block)
30
+ table = Docxi::Word::Contents::Table.new(options, &block)
31
31
  @content << table
32
32
  table
33
33
  end
@@ -1,6 +1,6 @@
1
- require 'docxer/word/medias/media'
1
+ require 'docxi/word/medias/media'
2
2
 
3
- module Docxer
3
+ module Docxi
4
4
  module Word
5
5
  class Medias
6
6
 
@@ -1,4 +1,4 @@
1
- module Docxer
1
+ module Docxi
2
2
  module Word
3
3
  class Medias
4
4
  class Media
@@ -1,5 +1,5 @@
1
1
  #encoding: utf-8
2
- module Docxer
2
+ module Docxi
3
3
  module Word
4
4
  class Numbering
5
5
 
@@ -10,7 +10,7 @@ module Docxer
10
10
 
11
11
  def render(zip)
12
12
  zip.put_next_entry('word/numbering.xml')
13
- zip.write(Docxer.to_xml(document))
13
+ zip.write(Docxi.to_xml(document))
14
14
  end
15
15
 
16
16
  private
@@ -1,6 +1,6 @@
1
- require 'docxer/word/relationships/relationship'
1
+ require 'docxi/word/relationships/relationship'
2
2
 
3
- module Docxer
3
+ module Docxi
4
4
  module Word
5
5
  class Relationships
6
6
  @@prefix = 'rId'
@@ -29,7 +29,7 @@ module Docxer
29
29
 
30
30
  def render(zip)
31
31
  zip.put_next_entry('word/_rels/document.xml.rels')
32
- zip.write(Docxer.to_xml(document))
32
+ zip.write(Docxi.to_xml(document))
33
33
  end
34
34
 
35
35
  private
@@ -1,4 +1,4 @@
1
- module Docxer
1
+ module Docxi
2
2
  module Word
3
3
  class Relationships
4
4
  class Relationship
@@ -1,4 +1,4 @@
1
- module Docxer
1
+ module Docxi
2
2
  module Word
3
3
  class Settings
4
4
 
@@ -9,7 +9,7 @@ module Docxer
9
9
 
10
10
  def render(zip)
11
11
  zip.put_next_entry('word/settings.xml')
12
- zip.write(Docxer.to_xml(document))
12
+ zip.write(Docxi.to_xml(document))
13
13
  end
14
14
 
15
15
  private
@@ -1,4 +1,4 @@
1
- module Docxer
1
+ module Docxi
2
2
  module Word
3
3
  class Styles
4
4
 
@@ -9,7 +9,7 @@ module Docxer
9
9
 
10
10
  def render(zip)
11
11
  zip.put_next_entry('word/styles.xml')
12
- zip.write(Docxer.to_xml(document))
12
+ zip.write(Docxi.to_xml(document))
13
13
  end
14
14
 
15
15
  private
@@ -1,6 +1,6 @@
1
- require 'docxer/word/themes/theme'
1
+ require 'docxi/word/themes/theme'
2
2
 
3
- module Docxer
3
+ module Docxi
4
4
  module Word
5
5
  class Themes
6
6
 
@@ -1,6 +1,6 @@
1
1
  #encoding: utf-8
2
2
 
3
- module Docxer
3
+ module Docxi
4
4
  module Word
5
5
  class Themes
6
6
  class Theme
@@ -15,7 +15,7 @@ module Docxer
15
15
  end
16
16
 
17
17
  def render
18
- Docxer.to_xml(document)
18
+ Docxi.to_xml(document)
19
19
  end
20
20
 
21
21
  private
@@ -1,4 +1,4 @@
1
- module Docxer
1
+ module Docxi
2
2
  module Word
3
3
  class WebSettings
4
4
 
@@ -9,7 +9,7 @@ module Docxer
9
9
 
10
10
  def render(zip)
11
11
  zip.put_next_entry('word/webSettings.xml')
12
- zip.write(Docxer.to_xml(document))
12
+ zip.write(Docxi.to_xml(document))
13
13
  end
14
14
 
15
15
  private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docxi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Irfan Babar
@@ -53,46 +53,46 @@ files:
53
53
  - LICENSE
54
54
  - README.md
55
55
  - Rakefile
56
- - lib/docxer.rb
57
- - lib/docxer/content_types.rb
58
- - lib/docxer/content_types/default.rb
59
- - lib/docxer/content_types/override.rb
60
- - lib/docxer/document.rb
61
- - lib/docxer/properties.rb
62
- - lib/docxer/properties/app.rb
63
- - lib/docxer/properties/core.rb
64
- - lib/docxer/relationships.rb
65
- - lib/docxer/relationships/relationship.rb
66
- - lib/docxer/version.rb
67
- - lib/docxer/word.rb
68
- - lib/docxer/word/contents.rb
69
- - lib/docxer/word/contents/break.rb
70
- - lib/docxer/word/contents/image.rb
71
- - lib/docxer/word/contents/paragraph.rb
72
- - lib/docxer/word/contents/table.rb
73
- - lib/docxer/word/contents/table_of_content.rb
74
- - lib/docxer/word/contents/text.rb
75
- - lib/docxer/word/document.rb
76
- - lib/docxer/word/effects.rb
77
- - lib/docxer/word/endnotes.rb
78
- - lib/docxer/word/fonts.rb
79
- - lib/docxer/word/fonts/font.rb
80
- - lib/docxer/word/footers.rb
81
- - lib/docxer/word/footers/footer.rb
82
- - lib/docxer/word/footnotes.rb
83
- - lib/docxer/word/headers.rb
84
- - lib/docxer/word/headers/header.rb
85
- - lib/docxer/word/helpers.rb
86
- - lib/docxer/word/medias.rb
87
- - lib/docxer/word/medias/media.rb
88
- - lib/docxer/word/numbering.rb
89
- - lib/docxer/word/relationships.rb
90
- - lib/docxer/word/relationships/relationship.rb
91
- - lib/docxer/word/settings.rb
92
- - lib/docxer/word/styles.rb
93
- - lib/docxer/word/themes.rb
94
- - lib/docxer/word/themes/theme.rb
95
- - lib/docxer/word/web_settings.rb
56
+ - lib/docxi.rb
57
+ - lib/docxi/content_types.rb
58
+ - lib/docxi/content_types/default.rb
59
+ - lib/docxi/content_types/override.rb
60
+ - lib/docxi/document.rb
61
+ - lib/docxi/properties.rb
62
+ - lib/docxi/properties/app.rb
63
+ - lib/docxi/properties/core.rb
64
+ - lib/docxi/relationships.rb
65
+ - lib/docxi/relationships/relationship.rb
66
+ - lib/docxi/version.rb
67
+ - lib/docxi/word.rb
68
+ - lib/docxi/word/contents.rb
69
+ - lib/docxi/word/contents/break.rb
70
+ - lib/docxi/word/contents/image.rb
71
+ - lib/docxi/word/contents/paragraph.rb
72
+ - lib/docxi/word/contents/table.rb
73
+ - lib/docxi/word/contents/table_of_content.rb
74
+ - lib/docxi/word/contents/text.rb
75
+ - lib/docxi/word/document.rb
76
+ - lib/docxi/word/effects.rb
77
+ - lib/docxi/word/endnotes.rb
78
+ - lib/docxi/word/fonts.rb
79
+ - lib/docxi/word/fonts/font.rb
80
+ - lib/docxi/word/footers.rb
81
+ - lib/docxi/word/footers/footer.rb
82
+ - lib/docxi/word/footnotes.rb
83
+ - lib/docxi/word/headers.rb
84
+ - lib/docxi/word/headers/header.rb
85
+ - lib/docxi/word/helpers.rb
86
+ - lib/docxi/word/medias.rb
87
+ - lib/docxi/word/medias/media.rb
88
+ - lib/docxi/word/numbering.rb
89
+ - lib/docxi/word/relationships.rb
90
+ - lib/docxi/word/relationships/relationship.rb
91
+ - lib/docxi/word/settings.rb
92
+ - lib/docxi/word/styles.rb
93
+ - lib/docxi/word/themes.rb
94
+ - lib/docxi/word/themes/theme.rb
95
+ - lib/docxi/word/web_settings.rb
96
96
  homepage: ''
97
97
  licenses:
98
98
  - MIT
@@ -1,3 +0,0 @@
1
- module Docxer
2
- VERSION = "0.0.1"
3
- end
data/lib/docxer/word.rb DELETED
@@ -1,16 +0,0 @@
1
- require 'docxer/word/fonts'
2
- require 'docxer/word/settings'
3
- require 'docxer/word/styles'
4
- require 'docxer/word/numbering'
5
- require 'docxer/word/effects'
6
- require 'docxer/word/web_settings'
7
- require 'docxer/word/themes'
8
- require 'docxer/word/medias'
9
- require 'docxer/word/relationships'
10
- require 'docxer/word/footnotes'
11
- require 'docxer/word/footers'
12
- require 'docxer/word/headers'
13
- require 'docxer/word/endnotes'
14
- require 'docxer/word/contents'
15
- require 'docxer/word/helpers'
16
- require 'docxer/word/document'
@@ -1,6 +0,0 @@
1
- require 'docxer/word/contents/break'
2
- require 'docxer/word/contents/text'
3
- require 'docxer/word/contents/table_of_content'
4
- require 'docxer/word/contents/image'
5
- require 'docxer/word/contents/paragraph'
6
- require 'docxer/word/contents/table'