You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C) Is it at all possible to just names in case of useCreationIds: false? (I'm looking at my getTextIds helper and that is what I did there.
-- added debug here
asyncgetCreationIds(): Promise<SlideInfo[]>{constarchive=this.archive;constrelationships=awaitXmlHelper.getTargetsByRelationshipType(archive,this.path,this.relType,);constcreationIds: SlideInfo[]=[];for(constslideRelofrelationships){try{constslideXml=awaitXmlHelper.getXmlFromArchive(archive,'ppt/'+slideRel.file,);if(!slideXml){console.warn(`slideXml is undefined for file ${slideRel.file}`);continue;}constcreationIdItem=slideXml.getElementsByTagName('p14:creationId').item(0);if(!creationIdItem){console.warn(`No 'p14:creationId' tag found in ${slideRel.file}`);continue;}constcreationIdSlide=creationIdItem.getAttribute('val');if(!creationIdSlide){console.warn(`Attribute 'val' is undefined in ${slideRel.file}`);continue;}constelementIds=this.elementCreationIds(slideXml,archive);constslideInfo=awaitthis.getSlideInfo(slideXml,archive,slideRel.file,);creationIds.push({id: Number(creationIdSlide),number: this.parseSlideRelFile(slideRel.file),elements: elementIds,info: slideInfo,});}catch(err){console.error(`An error occurred while processing ${slideRel.file}:`,err);}}returncreationIds.sort((slideA,slideB)=>slideA.number<slideB.number ? -1 : 1);}
console.warnNo'p14:creationId'tagfoundinslides/slide1.xml47|48|if(!creationIdItem){>49|console.warn(`No 'p14:creationId' tag found in ${slideRel.file}`);|^50|continue;51|}52|
Repro steps. -- chuck in a getInfo or setCreationIds into the get-all-text-elements test file
The text was updated successfully, but these errors were encountered:
Even with useCreationIds: false,
Can we make it cleaner by either
-- added debug here
Old error
New error
Repro steps. -- chuck in a getInfo or setCreationIds into the get-all-text-elements test file
The text was updated successfully, but these errors were encountered: