docx
docx copied to clipboard
a ruby library/gem for interacting with .docx files
Is this possible if I have the document password? If not, can someone point me to where/how I can add this functionality?
It would be useful if there were a function to simply identify when Macros are present. This way this library could be used to help reject documents that are uploaded...
I have the following code: Gemfile ``` gem 'docx', '~> 0.2.07' ``` Rake task ``` require 'docx' docx = Docx::Document.open(template_docx) ... ``` And I get the following error: ``` LoadError:...
Hello, Targetting a bookmark that is located in the footer or the header of a specified .docx doesn't work for me. If I get those bookmarks out of these special...
will able to read or update header and footer
I don't think there is a way to add a header and footer directly but if I open a document that already has a header and footer, how would I...
Textruns and Paragraphs can be created with formatting from a bookmark by supplying a hash to the bookmark methods: 1. `insert_text_before(text, formatting={})` 2. `insert_text_after(text, formatting={})` 3. `insert_multiple_lines(text_array, formatting={})` Or applied...
- document now has access to @headers, a hash in format :header_file_path => :nokogiri_object - search for document bookmarks also includes bookmarks in headers - headers are also saved upon...
Hi, is there anyway to set the color of the text that is inserted using insert_text_after? If not, I can try to add it, but can someone give me a...
## Describe the bug Hi Team, I am looking to replace content or text that contains a specific pattern, such as {{sample}}. When I use the existing substitute method in...