docx
docx copied to clipboard
a ruby library/gem for interacting with .docx files
This pull request introduces the ability to fetch and parse headers/footers. New methods, `fetch_headers` and `fetch_footers`, to the docx gem. These methods allow users to extract and read the header...
## Describe the bug My code works on a mac but I'm getting a lot of failures when running in RedHat 8. Are there any dependencies I need to consider...
I needed to do a `substitute` where the match arg was a regex, and if it were gsub I'd be using a block to have access to capture groups in...
## Describe the bug If you have a table in a document with a hyperlink in one of the cells, than an attempt to get the html of paragraphs in...
## Problem how can i insert a image to a word > Ex. I'm always frustrated when [...] ## Solution Please describe the solution you'd like. ## Alternative solutions A...
## Describe the bug An error `undefined method 'xpath' for nil:NilClass @rels.xpath("//xmlns:Relationship[contains(@Type,'hyperlink')]")` is raised when the object fails to load the documents styles because the `@rels` variable did not load...
The issue with file saving was that Rubyzip 3.x now saves ZIP64 by default. This is unexpected and unsupported by many tools, and best not to enable by default in...
## Describe the bug The saved file is corrupted on the latest version (0.10) but works on (0.9). Suspecting the change of the RubyZip 2.3 -> RubyZip 3.0 dependency but...
How to read a docx with simple content like below: ``` Paragraph 1 [This is an image] Paragraph 2 ``` I need to read the docx, and get Praragraph1, and...