Bug 34747

Summary: transferring slides by macro
Product: LibreOffice Reporter: Richard <rnhainsworth>
Component: ImpressAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: major CC: barta, ilmari.lauhakangas, jmadero.dev
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:

Description Richard 2011-02-26 01:25:56 UTC
OpenOffice did not permit copy&paste of slides using macros. It could only be done with the gui.

Admittedly this was the situation for OOO3.2, I have not been able to check with OOO3.3. 

I cannot find the documentation to see if this is possible for LibOff 3.3

Application:

I have over a hundred presentations. Many use the same slides, but in different sequences. I have no automatic way of collecting all slides into one file.
Comment 1 Björn Michaelsen 2011-12-23 11:47:31 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Comment 2 Richard 2011-12-25 23:22:09 UTC
This bug arises out of a black hole in the API.

It is not possible to programatically select a slide, copy it to clipboard, and paste it into a new file.

I want to create a library of slides that can be moved into new presentations.

There is no functionality for this at present.

The "black hole" was documented and noted in Developers Guide
Comment 3 Joel Madero 2014-11-04 02:55:56 UTC
Never confirmed by QA team and REOPENED is incorrect status. Moving to UNCONFIRMED.
Comment 4 Buovjaga 2014-11-15 18:04:48 UTC
(In reply to Richard from comment #0)
> I have over a hundred presentations. Many use the same slides, but in
> different sequences. I have no automatic way of collecting all slides into
> one file.

This sounds exactly like the solution: https://forum.openoffice.org/en/forum/viewtopic.php?f=20&t=63966
Quote:
".. a routine that merges slides from 2 or more Impress documents. It has got a form of Python function. Copying has been implemented using .uno:Copy service."

Can someone more savvy with scripting comment/close this appropriately?
Comment 5 tommy27 2014-11-30 22:00:48 UTC
does this help you?
https://forum.openoffice.org/en/forum/viewtopic.php?f=20&t=68461
Impress macro to move selected slide to last
Comment 6 Richard 2014-12-01 02:55:15 UTC
It is 3 years ago that I filed the bug, which arose from a comment about a 'black hole' in the documentation.

The copy function in #63966 did not exist at the time I made my report and now shows that some of the functionality I was seeking now exists. I have not investigated it further.

I suggest closing this bug report.
Comment 7 tommy27 2014-12-01 06:34:22 UTC
nice to hear that. however correct status is WORKSFORME since we don't know exactly which committ fixed that.