1# XLSX2DW Plugin for DokuWiki
2The XLSX2DW plugin for DokuWiki makes it easy to import XLS, XLSX or ODS tables to a page.
3
4The plugin keeps the styles, merged cells and colors of your original table.
5
6## Plugin installation
71.1. Download from DokuWiki Extension Manager ([Plugin page link](https://www.dokuwiki.org/plugin:xlsx2dw)).
8
91.2. Clone repository (via SSH or HTTPS) or download from DokuWiki Extension Manager:
10- SSH: `git clone git@github.com:moevm/MSE-2023-moevm-doku_wiki-10.git`
11- HTTPS: `git clone https://github.com/moevm/MSE-2023-moevm-doku_wiki-10.git`
12
13Move all plugin files to `dokuwiki-installation-directory/lib/plugins/xlsx2dw/`
14- TIP: `dokuwiki-installation-directory` is folder of your local DokuWiki.
15
16After all files have been transferred, the `/xlsx2dw` directory should look like the image below.
17
18![Alt text](./screenshots/plugin_directory.png?raw=true "/xlsx2dw folder")
19
20## Usage
211. Create new page (or edit the page).
22
23![Alt text](./screenshots/creating_page_section.png?raw=true "Create page")
24
252. Click "Import table" button in the toolbar.
26
27![Alt text](./screenshots/using_button.jpg?raw=true "Import of tables")
28
293. Choose a table file. You can select example table from `/_test/test-tables/` folder.
30
31![Alt text](./screenshots/selecting_tables.png?raw=true "Select a table")
32
334. Selected table is converted to DokuWiki syntax.
34
35![Alt text](./screenshots/table_in_dokusyntax.png?raw=true "DokuWiki syntax")
36
375. The result is shown in the screenshot below.
38
39![Alt text](./screenshots/preview_table.png?raw=true "Result")
40