I'm attempting to add Tags to a Slide object to provide additional information for internal use by my program. The Tags class looks similar to a java hashtable - call put and provide it a key and a value, and I should be able to retrieve the value using the key. However, I am unable to get it to work correctly to retrieve the values back out of the object.
For example, I'm putting a value into the list, then immediately retrieving it:
slide.getTags().put("DOI", "2008-Mar-31");
System.out.println("Value="+slide.getTags().get("DOI"));
This prints out "null" for any key I add and try to retrieve. If I iterate through the Tags and print them, all the values are null.
If I write the PPT file and look at it in a hex editor, I see both my keys and values - no way to know whether they are correctly placed in the file, but at least the data has been seen and saved.
If I then read the PPT file back into a Presentation and look at the Tags of the slide, they appear to just return the key name as the value. For example: slide.getTags().get("DOI") returns "DOI".
This appears to be two different bugs? I haven't seen anywhere in the forums that anyone else has reported this. Is this a known issue? Can it be resolved?
Thanks.