1.0.28 • Published 2 years ago
fit_value_to_ms_word_file v1.0.28
Getting Started
🌵 Hi there 🌵
🌵 🌵 This is a library that helps you change some information on a Microsoft Word file and export it back to doc after changing that. 🌵 🌵
Install
yarn add fill_to_ms_word_file or npm i fill_to_ms_word_file
How to use
First, you need import lib to index.html file or any index file in your project directory.
- Example: index.html
<script src="https://cdn.jsdelivr.net/npm/fit_value_to_ms_word_file@latest/dist/lib/zip.min.js"><script>
<script src="https://cdn.jsdelivr.net/npm/fit_value_to_ms_word_file@latest/dist/lib/fill.min.js"><script>
<script src="https://cdn.jsdelivr.net/npm/fit_value_to_ms_word_file@latest/dist/lib/preview.min.js"><script>
Component file
import {previewFile} from "fit_value_to_ms_word_file";
...
function chooseFile(idContentPreview){
previewFile(idContentPreview);
}
import {changePrice} from "fit_value_to_ms_word_file";
...
Example: If your document contains the [] operator, you can use the following below code to change
changePrice(price, checkTextOnDoc);
import {changeDate} from "fit_value_to_ms_word_file";
...
Example: If your document contains two [] operators, you can use the following below code to change
changeDate(startDate, endDate, checkTextOnDoc);
import {exportToDoc} from "fit_value_to_ms_word_file";
...
function clickButton(){
exportToDoc(idContentPreview, filename);
}
🌵 Good luck 🌵
Create By Lãm Hoàng
Learn more
Please contact via hoangvanlam9988@gmail.com
1.0.28
2 years ago
1.0.27
2 years ago
1.0.26
2 years ago
1.0.25
2 years ago
1.0.24
2 years ago
1.0.23
2 years ago
1.0.22
2 years ago
1.0.21
2 years ago
1.0.20
2 years ago
1.0.19
2 years ago
1.0.18
2 years ago
1.0.16
2 years ago
1.0.15
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago