1.0.28 • Published 7 months 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
7 months ago
1.0.27
7 months ago
1.0.26
7 months ago
1.0.25
7 months ago
1.0.24
7 months ago
1.0.23
7 months ago
1.0.22
7 months ago
1.0.21
7 months ago
1.0.20
7 months ago
1.0.19
7 months ago
1.0.18
7 months ago
1.0.16
7 months ago
1.0.15
7 months ago
1.0.14
7 months ago
1.0.13
7 months ago
1.0.12
7 months ago
1.0.11
7 months ago
1.0.10
7 months ago
1.0.9
7 months ago
1.0.8
7 months ago
1.0.7
7 months ago
1.0.6
7 months ago
1.0.5
7 months ago
1.0.3
7 months ago
1.0.2
7 months ago
1.0.1
7 months ago
1.0.0
7 months ago