/** * Sets the value of the id property. * * @param value * allowed object is * {@link Id } * */ public void setId(Id value) { Id existingId = getId(); if (existingId!=null) { if (!existingId.equals(value)) { log.debug("Changing SDT ID from " + existingId + " to " + value); rPrOrAliasOrLock.remove(existingId); if (value!=null) { rPrOrAliasOrLock.add(value); } } // else - they are the same, so do nothing } else if (value!=null) { //ObjectFactory factory = new ObjectFactory(); //JAXBElement idWrapper = factory.createSdtPrId(value); rPrOrAliasOrLock.add(value); } }
if (sdtPr!=null) { log.debug("Processing " + OpenDoPEHandler.getSdtPr(o).getId().getVal()); Tag tag = sdtPr.getTag(); conditionSdtsByID.put(sdtPr.getId().getVal(), o); repeatSdtsByID.put(sdtPr.getId().getVal(), o); conditionSdtsByID.put(sdtPr.getId().getVal(), o); repeatSdtsByID.put(sdtPr.getId().getVal(), o); repeatSdtsByID.put(sdtPr.getId().getVal(), o);
BigInteger key = OpenDoPEHandler.getSdtPr(entry).getId().getVal();
if (sdtPr!=null) { log.debug("Processing " + OpenDoPEHandler.getSdtPr(o).getId().getVal()); Tag tag = sdtPr.getTag(); log.debug("Ignoring condition {}", sdtPr.getId().getVal()); log.debug("Ignoring repeat {}", sdtPr.getId().getVal()); log.warn("TODO: consider component handling {}", sdtPr.getId().getVal()); log.debug("Adding non-OpenDoPE databound control {}", sdtPr.getId().getVal()); contentControls.add( (SdtElement)o);
if (sdtPr!=null) { log.debug("Processing " + OpenDoPEHandler.getSdtPr(o).getId().getVal()); Tag tag = sdtPr.getTag();
BigInteger key = OpenDoPEHandler.getSdtPr(entry).getId().getVal();
WordprocessingMLPackage wordMLPackage, Object sdt) throws Docx4JException { Id id = OpenDoPEHandler.getSdtPr(sdt).getId(); if (id!=null) {
WordprocessingMLPackage wordMLPackage, Object sdt) { Id id = getSdtPr(sdt).getId(); if (id!=null) { log.debug("Processing " + id.getVal());
if (sdtPr.getDataBinding()!=null && pic!=null) { log.warn("TODO: consider Picture handling {}", sdtPr.getId().getVal()); log.warn("TODO: consider component handling {}", sdtPr.getId().getVal()); log.warn("TODO: consider SdtDate handling {}", sdtPr.getId().getVal()); log.debug("Adding non-OpenDoPE databound control {}", sdtPr.getId().getVal());
/** * Sets the value of the id property. * * @param value * allowed object is * {@link Id } * */ public void setId(Id value) { Id existingId = getId(); if (existingId!=null) { if (!existingId.equals(value)) { log.debug("Changing SDT ID from " + existingId + " to " + value); rPrOrAliasOrLock.remove(existingId); if (value!=null) { rPrOrAliasOrLock.add(value); } } // else - they are the same, so do nothing } else if (value!=null) { //ObjectFactory factory = new ObjectFactory(); //JAXBElement idWrapper = factory.createSdtPrId(value); rPrOrAliasOrLock.add(value); } }
if (sdtPr!=null) { log.debug("Processing " + OpenDoPEHandler.getSdtPr(o).getId().getVal()); Tag tag = sdtPr.getTag(); conditionSdtsByID.put(sdtPr.getId().getVal(), o); repeatSdtsByID.put(sdtPr.getId().getVal(), o); conditionSdtsByID.put(sdtPr.getId().getVal(), o); repeatSdtsByID.put(sdtPr.getId().getVal(), o); repeatSdtsByID.put(sdtPr.getId().getVal(), o);
if (sdtPr!=null) { log.debug("Processing " + OpenDoPEHandler.getSdtPr(o).getId().getVal()); Tag tag = sdtPr.getTag(); log.debug("Ignoring condition {}", sdtPr.getId().getVal()); log.debug("Ignoring repeat {}", sdtPr.getId().getVal()); log.warn("TODO: consider component handling {}", sdtPr.getId().getVal()); log.debug("Adding non-OpenDoPE databound control {}", sdtPr.getId().getVal()); contentControls.add( (SdtElement)o);
BigInteger key = OpenDoPEHandler.getSdtPr(entry).getId().getVal();
if (sdtPr!=null) { log.debug("Processing " + OpenDoPEHandler.getSdtPr(o).getId().getVal()); Tag tag = sdtPr.getTag();
BigInteger key = OpenDoPEHandler.getSdtPr(entry).getId().getVal();