'return layout file
@return: layout xml for the generated OCR form'

def __getOCRLayout(self):

    prettyprint = (True if DEBUG else False)
    return etree.tostring(self.layoutEtree, pretty_print=prettyprint)
