Metadata-Version: 2.1
Name: mswordtree
Version: 0.1.1.2
Summary: Get the parsed microsoft word document in a hierarchical tree structure.
Home-page: https://github.com/imAliAsad/mswordtree
Author: Ali Asad
Author-email: imaliasad@outlook.com
License: The MIT License (MIT)
Copyright (c) 2019 Ali Asad, https://github.com/imAliAsad

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Description: ## mswordtree
        
        Parse your whole word document in a hierarchical tree structure. The document content will be listed down as Heading and its children as subheading/paragraph/table etc.
        
        Install the library using following comand
        
        ```
        pip install mswordtree
        ```
        
        Use the following code to parse your word document in a tree structure
        
        ```
        from mswordtree import GetWordDocTree
        root = GetWordDocTree('test.docx')
        ```
        Now you can iterate over all objects of the document by using the following code
        
        ```
        for item in root.Items:
            print('Type: {} -> Content {}\n'.format(item.Type, item.Content))
        ```
        
        To make the json use the following code
        
        ```
        from mswordtree import ToString
        ToString([root])
        ```
        
Keywords: docx office openxml word tree microsoft headings tables
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: Office/Business :: Office Suites
Classifier: Topic :: Software Development :: Libraries
Description-Content-Type: text/markdown
