/** * For the given *concrete* list numId, restart the numbering on the specified * level at value val. This is done by creating a new list (ie <w:num>) * which uses the existing w:abstractNum. * @param numId * @param ilvl * @param val * @return */ public long restart(long numId, long ilvl, long val) throws InvalidOperationException { // Find the abstractNumId // (Ensure maps are initialised) if (em == null ) { getEmulator(); } ListNumberingDefinition existingLnd = instanceListDefinitions.get( Long.toString(numId) ); if (existingLnd==null) { throw new InvalidOperationException("Concrete/instance list " + numId + " does not exist"); } return restart(existingLnd.getNumNode(), ilvl, val); }
log.error("Refusing to add another rel with id " + relId + ". Target is " + rel.getTarget() ); throw new InvalidOperationException( "Refusing to add another rel with id " + relId + ". Target is " + rel.getTarget() );
throw new InvalidOperationException("Abstract List does not exist!");
/** * For the given *concrete* list numId, restart the numbering on the specified * level at value val. This is done by creating a new list (ie <w:num>) * which uses the existing w:abstractNum. * @param numId * @param ilvl * @param val * @return */ public long restart(long numId, long ilvl, long val) throws InvalidOperationException { // Find the abstractNumId // (Ensure maps are initialised) if (em == null ) { getEmulator(); } ListNumberingDefinition existingLnd = instanceListDefinitions.get( Long.toString(numId) ); if (existingLnd==null) { throw new InvalidOperationException("Concrete/instance list " + numId + " does not exist"); } return restart(existingLnd.getNumNode(), ilvl, val); }
log.error("Refusing to add another rel with id " + relId + ". Target is " + rel.getTarget() ); throw new InvalidOperationException( "Refusing to add another rel with id " + relId + ". Target is " + rel.getTarget() );
throw new InvalidOperationException("Abstract List does not exist!");