@Override
    public void startElement(String namespaceURI, String localName, String qName, Attributes attrs)
            throws SAXException {
        if (MODULE.equals(localName)) {
            macroName = XMLReaderUtils.getAttrValue(NAME, attrs);
        } else if (SOURCE_CODE.equals(localName)) {
            inMacro = true;
        }
    }
Handler for macros in flat open documents
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-miscoffice-module/src/main/java/org/apache/tika/parser/odf/FlatOpenDocumentMacroHandler.java