예제 #1
0
def parseTextOrders_cmd(where=None, limit=None):
    """Command that runs process to extract data from a text based order using Poppler."""
    docformat = st.DOCFORMAT_ORDER

    query = queries.idOnly('T', docformat, where, limit)
    process = parseTextOrders()
    bulkProcess(process, query, abortOnError=False)
예제 #2
0
def parseTextOrders_cmd(where=None, limit=None):
    """Command that runs process to extract data from a text based order using Poppler."""
    docformat = st.DOCFORMAT_ORDER

    query = queries.idOnly("T", docformat, where, limit)
    process = parseTextOrders()
    bulkProcess(process, query, abortOnError=False)
예제 #3
0
def markCommonFromLocalText_cmd(where=None, limit=None):
    """Command that runs process to identify common document types and formats from text based PDFs."""
    # TODO set to None

    docformat = st.DOCFORMAT_CONTRACT

    query = queries.idOnly('T', docformat, where, limit)
    process = markCommonFromLocalText()
    bulkProcess(process, query, abortOnError=True)
예제 #4
0
def markCommonFromLocalText_cmd(where=None, limit=None):
    """Command that runs process to identify common document types and formats from text based PDFs."""
    # TODO set to None

    docformat = st.DOCFORMAT_CONTRACT

    query = queries.idOnly("T", docformat, where, limit)
    process = markCommonFromLocalText()
    bulkProcess(process, query, abortOnError=True)