



# Office Word
  
Module to create, open and edit .docx documents  

*Read this in other languages: [English](README.md), [Português](README.pr.md), [Español](README.es.md)*

## How to install this module
  
To install the module in Rocketbot Studio, it can be done in two ways:
1. Manual: __Download__ the .zip file and unzip it in the modules folder. The folder name must be the same as the module and inside it must have the following files and folders: \__init__.py, package.json, docs, example and libs. If you have the application open, refresh your browser to be able to use the new module.
2. Automatic: When entering Rocketbot Studio on the right margin you will find the **Addons** section, select **Install Mods**, search for the desired module and press install.  


## Overview


1. New Document  
Create a new word document

2. Open Document  
Open a Word document.

3. Read Document  
Extract text from a Word document

4. Write in Document  
Write in a Word document.

5. Read Table  
Extract table text from a Word document.

6. Add data to table  
This command allows you to add data to a table. It is necessary that the table already exists in the document and that the data provided is the size of the table.

7. Add text from bookmark  
Add text from a bookmark to Word document.

8. Close document  
Close the document that is running

9. Add Page  
Add a new page to the document

10. Add Picture  
Add an image to the document.

11. Locate Text in Paragraph  
Locate in which paragraph there is an indicated text.

12. Count Paragraphs  
Count the number of paragraphs in the document.

13. Get Paragraphs  
Gets a list of paragraphs in the form of a dictionary {number: text}.

14. Clear Paragraph  
Clears the content of a paragraph.

15. Add paragraph  
Add a paragraph at the desired position in a Word document.

16. Add text to paragraph  
Add text to the end of a paragraph in a Word document.

17. Replace text in paragraph  
Replace the text of a paragraph.

18. Convert to PDF  
Convert Word document to PDF.

19. Save document  
Extract text from file.  



### Changes
Mon Dec 23 16:48:10 2019  Merge branch master of https://github.com/rocketbot-cl/OfficeWord
Wed Dec 11 11:05:54 2019  Merge branch master of https://github.com/rocketbot-cl/OfficeWord
Tue Nov 5 12:28:42 2019  Merge branch master of https://github.com/rocketbot-cl/OfficeWord

----
### OS

- windows
- mac
- linux
- docker

### Dependencies

### License
  
![MIT](https://camo.githubusercontent.com/107590fac8cbd65071396bb4d04040f76cde5bde/687474703a2f2f696d672e736869656c64732e696f2f3a6c6963656e73652d6d69742d626c75652e7376673f7374796c653d666c61742d737175617265)  
[MIT](http://opensource.org/licenses/mit-license.ph)