A [visio file](https://fr.wikipedia.org/wiki/Microsoft_Visio) (with extension .vsdx) is associated with Microsoft Visio, a diagram creation software. It stores information about the structure, layout, and graphical elements of a diagram. This format facilitates the creation and sharing of visualizations in areas such as business, engineering, and computer science.

A Visio file can contain multiple pages. Some of them may serve as the background for others, and this can occur across multiple layers. This **loader** extracts the textual content from each page and its associated pages, enabling the extraction of all visible text from each page, similar to what an OCR algorithm would do.

**WARNING** : Only Visio files with the **.vsdx** extension are compatible with this loader. Files with extensions such as .vsd, … are not compatible because they cannot be converted to compressed XML.

```
------ Page 0 ------Title page : SummarySource : ./example_data/fake.vsdx==> CONTENT <== Created byCreated theModified byModified theVersionTitleFlorian MOREL2024-01-14FLORIAN MorelToday0.0.0.0.0.1This is a titleBest Caption of the worlThis is an arrowThis is EarthThis is a bounded arrow------ Page 1 ------Title page : GlossarySource : ./example_data/fake.vsdx==> CONTENT <== Created byCreated theModified byModified theVersionTitleFlorian MOREL2024-01-14FLORIAN MorelToday0.0.0.0.0.1This is a title------ Page 2 ------Title page : blanket pageSource : ./example_data/fake.vsdx==> CONTENT <== Created byCreated theModified byModified theVersionTitleFlorian MOREL2024-01-14FLORIAN MorelToday0.0.0.0.0.1This is a titleThis file is a vsdx fileFirst textSecond textThird text------ Page 3 ------Title page : BLABLABLASource : ./example_data/fake.vsdx==> CONTENT <== Created byCreated theModified byModified theVersionTitleFlorian MOREL2024-01-14FLORIAN MorelToday0.0.0.0.0.1This is a titleAnother RED arrow wowArrow with point but redGreen lineUserCaptionsRed arrow magic !Something whiteSomething RedThis a a completly useless diagramm, cool !!But this is for example !This diagramm is a base of many pages in this file. But it is editable in file \"BG WITH CONTENT\"This is a page with something...WAW I have learned something !This is a page with something...WAW I have learned something !X2------ Page 4 ------Title page : What a page !!Source : ./example_data/fake.vsdx==> CONTENT <== Created byCreated theModified byModified theVersionTitleFlorian MOREL2024-01-14FLORIAN MorelToday0.0.0.0.0.1This is a titleSomething whiteSomething RedThis a a completly useless diagramm, cool !!But this is for example !This diagramm is a base of many pages in this file. But it is editable in file \"BG WITH CONTENT\"Another RED arrow wowArrow with point but redGreen lineUserCaptionsRed arrow magic !------ Page 5 ------Title page : next page after previous oneSource : ./example_data/fake.vsdx==> CONTENT <== Created byCreated theModified byModified theVersionTitleFlorian MOREL2024-01-14FLORIAN MorelToday0.0.0.0.0.1This is a titleAnother RED arrow wowArrow with point but redGreen lineUserCaptionsRed arrow magic !Something whiteSomething RedThis a a completly useless diagramm, cool !!But this is for example !This diagramm is a base of many pages in this file. But it is editable in file \"BG WITH CONTENT\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-\u00a0incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit involuptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa*qui officia deserunt mollit anim id est laborum.------ Page 6 ------Title page : Connector PageSource : ./example_data/fake.vsdx==> CONTENT <== Created byCreated theModified byModified theVersionTitleFlorian MOREL2024-01-14FLORIAN MorelToday0.0.0.0.0.1This is a titleSomething whiteSomething RedThis a a completly useless diagramm, cool !!But this is for example !This diagramm is a base of many pages in this file. But it is editable in file \"BG WITH CONTENT\"------ Page 7 ------Title page : Useful ↔ Useless pageSource : ./example_data/fake.vsdx==> CONTENT <== Created byCreated theModified byModified theVersionTitleFlorian MOREL2024-01-14FLORIAN MorelToday0.0.0.0.0.1This is a titleSomething whiteSomething RedThis a a completly useless diagramm, cool !!But this is for example !This diagramm is a base of many pages in this file. But it is editable in file \"BG WITH CONTENT\"Title of this document : BLABLABLA------ Page 8 ------Title page : Alone pageSource : ./example_data/fake.vsdx==> CONTENT <== Black cloudUnidirectional traffic primary pathUnidirectional traffic backup pathEncapsulationUserCaptionsBidirectional trafficAlone, sadTest of another pageThis is a \"bannier\"Tests of some exotics characters :\u00a0\u00e3\u00e4\u00e5\u0101\u0103 \u00fc\u2554\u00a0 \u00a0\u00bc \u00c7 \u25d8\u25cb\u2642\u266b\u2640\u00ee\u2665This is ethernetLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.This is an empty caseLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0-\u00a0 incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa *qui officia deserunt mollit anim id est laborum.------ Page 9 ------Title page : BGSource : ./example_data/fake.vsdx==> CONTENT <== Best Caption of the worlThis is an arrowThis is EarthThis is a bounded arrowCreated byCreated theModified byModified theVersionTitleFlorian MOREL2024-01-14FLORIAN MorelToday0.0.0.0.0.1This is a title------ Page 10 ------Title page : BG  + caption1Source : ./example_data/fake.vsdx==> CONTENT <== Created byCreated theModified byModified theVersionTitleFlorian MOREL2024-01-14FLORIAN MorelToday0.0.0.0.0.1This is a titleAnother RED arrow wowArrow with point but redGreen lineUserCaptionsRed arrow magic !Something whiteSomething RedThis a a completly useless diagramm, cool !!But this is for example !This diagramm is a base of many pages in this file. But it is editable in file \"BG WITH CONTENT\"Useful\u2194 Useless page\u00a0Tests of some exotics characters :\u00a0\u00e3\u00e4\u00e5\u0101\u0103 \u00fc\u2554\u00a0\u00a0\u00bc \u00c7 \u25d8\u25cb\u2642\u266b\u2640\u00ee\u2665------ Page 11 ------Title page : BG+Source : ./example_data/fake.vsdx==> CONTENT <== Created byCreated theModified byModified theVersionTitleFlorian MOREL2024-01-14FLORIAN MorelToday0.0.0.0.0.1This is a title------ Page 12 ------Title page : BG WITH CONTENTSource : ./example_data/fake.vsdx==> CONTENT <== Created byCreated theModified byModified theVersionTitleFlorian MOREL2024-01-14FLORIAN MorelToday0.0.0.0.0.1This is a titleLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. - Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.This is a page with a lot of text------ Page 13 ------Title page : 2nd caption with ____________________________________________________________________ contentSource : ./example_data/fake.vsdx==> CONTENT <== Created byCreated theModified byModified theVersionTitleFlorian MOREL2024-01-14FLORIAN MorelToday0.0.0.0.0.1This is a titleAnother RED arrow wowArrow with point but redGreen lineUserCaptionsRed arrow magic !Something whiteSomething RedThis a a completly useless diagramm, cool !!But this is for example !This diagramm is a base of many pages in this file. But it is editable in file \"BG WITH CONTENT\"Only connectors on this page. This is the CoNNeCtor page
```