Metadata-Version: 2.1
Name: shoobx.rml2odt
Version: 0.4.3
Summary: A converter from RML to ODT.
Home-page: http://pypi.python.org/pypi/shoobx.rml2odt
Author: Shoobx, Inc.
Author-email: dev@shoobx.com
License: ZPL 2.1
Description: ================================================
        ``shoobx.rml2odt`` -- Conversion of RML to ODT
        ================================================
        
        .. image:: https://travis-ci.org/Shoobx/shoobx.rml2odt.png?branch=master
           :target: https://travis-ci.org/Shoobx/shoobx.rml2odt
        
        .. image:: https://coveralls.io/repos/github/Shoobx/shoobx.rml2odt/badge.svg?branch=master
           :target: https://coveralls.io/github/Shoobx/shoobx.rml2odt?branch=master
        
        .. image:: https://img.shields.io/pypi/v/shoobx.rml2odt.svg
            :target: https://pypi.python.org/pypi/shoobx.rml2odt
        
        .. image:: https://img.shields.io/pypi/pyversions/shoobx.rml2odt.svg
            :target: https://pypi.python.org/pypi/shoobx.rml2odt/
        
        .. image:: https://api.codeclimate.com/v1/badges/9c462255ca85b7f77de8/maintainability
           :target: https://codeclimate.com/github/Shoobx/shoobx.rml2odt/maintainability
           :alt: Maintainability
        
        This library implements a converter from Reportlabs RML format to
        Libreoffices/Open Document Formats ODT format utilizing the ``z3c.rml``
        parser and ``odfpy`` library.
        
        It's developed by Shoobx (https://shoobx.com) but is open source, and
        we are happy to accept outside contributions. See DEVELOPMENT.rst for more
        information.
        
        
        Installing
        ==========
        
        Install with::
        
            $ pip install shoobx.rml2odt
        
        
        Usage
        =====
        
        There is three ways of using shoobx.rml2odt.
        
        
        From the command line
        ---------------------
        
        Installing shoobx.rml2odt will install a script that can be used from the
        command line::
        
           rml2odt <infile> <outfile>
        
        
        Converting files from Python
        ----------------------------
        
        You can import shoobx.rml2odt as a library and convert files from Python::
        
            >>> from shoobx.rml2odt import rml2odt
            >>> rml2odt.convertFile(infilepath, outfilepath)
        
        which will convert the file at infilepath and create the ODT file at
        outfilepath.
        
        
        Converting an RML string in Python
        ----------------------------------
        
        If your RML data isn't in a file, but is held in a string, you can import
        shoobx.rml2odt as a library and convert text data from Python::
        
            >>> from shoobx.rml2odt import rml2odt
            >>> odt_data = rml2odt.convertFile(infilepath, outfilepath)
            >>> with open(outputfile, 'wb') as output:
            ...     output.write(odt_data)
        
        
        
        CHANGES
        =======
        
        0.4.3 (2019-03-26)
        ------------------
        
        - Fix: bullet numbering ignored `value` as start
        
        - Fix: support all custom `li` bullets (l, L, o, O, r, R)
        
        
        0.4.2 (2019-03-20)
        ------------------
        
        - Fix: the `br` tag used a class variable to remember whether it added the
          style `BreakJustify`.
        - Fix `span` tag handling. It literally discarded most text.
        
        
        0.4.1 (2019-03-19)
        ------------------
        
        - Fix: Text following a comment tag was discarded.
        
        - Fix: 3+ whitespace was replaced with nothing. Caused text to miss spaces.
        
        
        0.4.0 (2018-01-23)
        ------------------
        
        - More indentation fixes.
        
        - Added support for O format lists (First, Second, Third)
        
        - Add support to have bullet lists in numebr lists and vice versa
        
        - Convert tables in lists to lists in lists
        
        - Support for blockSpan in table styles.
        
        - Handle tail text of comments
        
        - Supporting RML blockSpan styles for tables
        
        - Take the maximum, not the first when calculating the number of columns
        
        
        0.3.0 (2018-01-12)
        ------------------
        
        - Many many formatting fixes including an almost complete rewrite of
          list handling and list styles.
        
        
        0.2.0 (2017-12-08)
        ------------------
        
        - Cleaned up the public API.
        
        - Added basic docs.
        
        
        0.1.0 (2017-11-21)
        ------------------
        
        - Basic Support for:
        
          * Flowables: para, blockTable, hr, ul, ol
        
          * Stylesheets: paraStyle
        
          * Page Layout
        
        - Initial Release
        
Keywords: rml odf odt libreoffice pagetemplate
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Zope Public License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Provides-Extra: test
