Package org.librebiz.pureport.definition

Examples of org.librebiz.pureport.definition.MacroDefinition


    private void endIterate() {
        endSectionContainer();
    }

    private void startMacroDefinition(Attributes attrs) {
        MacroDefinition macro = new MacroDefinition();
        report.addMacro(attrs.getValue("name"), macro);
        String attrList = attrs.getValue("arguments");
        if (attrList != null) {
            String names[] = attrList.split("[,; ]");
            for (String name: names) {
                macro.addArgument(name.trim());
            }
        }
        startSectionContainer(macro);
    }
View Full Code Here


                        }
                    }
                }

                public void processCall(MacroCall call) {
                    MacroDefinition def = report.getMacro(call.getName());
                    if (def == null) {
                        throw new RuntimeException("Macro not found "
                                + call.getName());
                    }
                    context.openScope();
View Full Code Here

TOP

Related Classes of org.librebiz.pureport.definition.MacroDefinition

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.