public class MacroLibrary extends Object
| Constructor and Description |
|---|
MacroLibrary(String name,
boolean readOnly,
List<MacroModule> modules) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(XMLUtil util,
OdsDocument document)
Add this library to a document
|
void |
appendIndexLine(XMLUtil util,
Appendable appendable)
Append a line to script-lc.xml
|
static MacroLibraryBuilder |
builder() |
public MacroLibrary(String name, boolean readOnly, List<MacroModule> modules)
name - name of the library e.g. StandardreadOnly - if this library is readonlymodules - the modulespublic static MacroLibraryBuilder builder()
public void add(XMLUtil util, OdsDocument document) throws IOException
util - an util to write XMLdocument - the documentIOException - if can't writepublic void appendIndexLine(XMLUtil util, Appendable appendable) throws IOException
util - an util to write XMLappendable - where to writeIOException - if can't writeCopyright © 2016–2021. All rights reserved.