You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2018/01/23 17:44:08 UTC
[Bug 62037] New: Change Request: SlideNames should not be null but
have a default as if accessed by VBA
https://bz.apache.org/bugzilla/show_bug.cgi?id=62037
Bug ID: 62037
Summary: Change Request: SlideNames should not be null but have
a default as if accessed by VBA
Product: POI
Version: 3.17-FINAL
Hardware: Macintosh
Status: NEW
Severity: normal
Priority: P2
Component: XSLF
Assignee: dev@poi.apache.org
Reporter: wf@bitplan.com
Target Milestone: ---
see https://stackoverflow.com/a/44189210/1497139
To get a slide ename I currently use
CTSlide ctSlide = slide.getXmlObject();
String name=ctSlide.getCSld().getName();
which might return null.
https://msdn.microsoft.com/vba/powerpoint-vba/articles/slide-name-property-powerpoint
never returns null but has a default slideName
It would be great if the XSLF API would return the slide name in a compatible
manner.
My usecase is that I have slideshows in different language that I need to keep
"synchronized". If a slide is added in one slideshow I need to know that the
translation in another slideshow is accurate. Since the titles are translated i
can not go by title. Going by the position in the slideshow is also a bad idea.
Since the slideshows are initially copied from a master language the names are
a good starting point. Eventually the names are modified by the authors but not
always so a default name would be very helpful here.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 62037] SlideNames should not be null but have a default as if
accessed by VBA
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62037
Andreas Beeker <ki...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Andreas Beeker <ki...@apache.org> ---
There's a new Slide.getSlideName() method applied via r1831745
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 62037] Change Request: SlideNames should not be null but have a
default as if accessed by VBA
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62037
Wolfgang Fahl <wf...@bitplan.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
CC| |wf@bitplan.com
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 62037] SlideNames should not be null but have a default as if
accessed by VBA
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62037
--- Comment #2 from Wolfgang Fahl <wf...@bitplan.com> ---
Thx. That is very useful. I'll try it out.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 62037] Change Request: SlideNames should not be null but have a
default as if accessed by VBA
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62037
Andreas Beeker <ki...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|XSLF |SL Common
Hardware|Macintosh |All
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 62037] SlideNames should not be null but have a default as if
accessed by VBA
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62037
Andreas Beeker <ki...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Change Request: SlideNames |SlideNames should not be
|should not be null but have |null but have a default as
|a default as if accessed by |if accessed by VBA
|VBA |
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org