On Mon, 4 Aug 2014, Geoff Wright wrote:
XSLFPictureData data = ((XSLFPictureShape) shape).getPictureData();
System.out.println(data.getFileName());
However, when the picture is not embedded but inserted only as a "link
to file", there is no data available and the above code produces a null
pointer exception.
Any chance you could open a new bug in bugzilla, upload a very small
sample file that shows the problem, the stacktrace, and a trivial junit
unit test based on your code above?
Someone'll need to update the code to check if it's an external link or
not, and fetch it the other way if so. The above should help make that
quick to check how.
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]