Hi Amber,
Thanks for a quick response.
I am using the latest version of Spire.Presentaion and the issue still exists . Please find the required information below:
I created a zip folder of my website which contains all the files i.e. complete code,Powerpoint Template. I have attached this under Upload Attachment for your reference.
Note:- 1. There is folder named as
Temp under my project name as
table_paste_twice_error -here output will be saved and name of output file is
Sample_Output.pptx
.
2. My input PowerPoint document is under
Temp\Template folder and the name of my input template is
Sample_Template.pptx.. so you can find it here.
Details for tables which i am using and getting error:-
1. first my code check some conditions on talist of slide then it found the slide which need to be copy using
SetTheTemplateSlideNumber sub procedure in code,
2. then using
Newslide sub procedure i copy third slide and paste it at the end of same PPT document ,then i first add tag list of new slide and then check tag list of a table and then delete the tables names as
Group 438 on new slide which is now no-4 and save the PPT.
3. Now i assign the new slide that is 4 now do my work so, i use code to
AddATable to copy a table name as
Group 438 from slide 3 and paste on slide 4 then, i check tagname of that table and add rows and data into that table after that i remove last row from that table also. i changed the tag name of this table and again save the PPT file.
4. Now,i am copying the same table name as
Group 438 from same slide 3 and pasting on same slide 4 using AddATable function . again checking tag name and removing hader row from this table and adding data into second row . After that i saved the PPT and when i open it it giving me the
Repair error and if i clicked on repair then the new slide no-4 blank out.
So the error comes when i was adding the same table on same slide on second time.
Hope i have listed all the details.
Thanks in Advance. Looking for a positive response..
Thanks & Regards,
Anil Kumar