[Bug 62037] New: Change Request: SlideNames should not be null but have a default as if accessed by VBA

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 62037] New: Change Request: SlideNames should not be null but have a default as if accessed by VBA

Bugzilla from bugzilla@apache.org
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: [hidden email]
          Reporter: [hidden email]
  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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 62037] Change Request: SlideNames should not be null but have a default as if accessed by VBA

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=62037

Wolfgang Fahl <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
                 CC|                            |[hidden email]

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]