[Libreoffice-bugs] [Bug 91909] Uno commands for slide navigation and slide sorting

2015-06-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91909

Philippe Jung phil.j...@free.fr changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |phil.j...@free.fr
   |desktop.org |

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 91909] Uno commands for slide navigation and slide sorting

2015-06-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91909

--- Comment #6 from Philippe Jung phil.j...@free.fr ---
New commands
https://gerrit.libreoffice.org/16211

For the moment no aliases

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 91909] Uno commands for slide navigation and slide sorting

2015-06-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91909

--- Comment #2 from Philippe Jung phil.j...@free.fr ---
Jay, please define names of new Uno command :-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 91909] Uno commands for slide navigation and slide sorting

2015-06-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91909

tommy27 ba...@quipo.it changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||ba...@quipo.it
 Ever confirmed|0   |1

--- Comment #1 from tommy27 ba...@quipo.it ---
you are right. UNO commands for slide sorting would be a bless.
status NEW.

In the meantime, you can use this macro to move a slide to the end of the
presentation, and assign it to a toolbar custom button.

here's the code (i think it can be tweaked to obtain ad least a MoveSlideToTop
but I'm not a macro expert)

Sub MoveSlideToEnd

oDoc = ThisComponent
opages = oDoc.drawpages
oController = oDoc.CurrentController
oCurrentPage = oController.CurrentPage
nIndex = oCurrentPage.Number - 1
oDispatch = createUnoService( com.sun.star.frame.DispatchHelper)
oProvider = oController.Frame
oDispatch.executeDispatch(oProvider, .uno:Copy,, 0, Array())
oPage = opages.getByIndex(opages.Count() - 1)
oController.setCurrentPage(oPage)
oDispatch.executeDispatch(oProvider, .uno:Paste, , 0, Array())
opages.remove(oCurrentPage)
oController.setCurrentPage(opages(nIndex))

End Sub

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 91909] Uno commands for slide navigation and slide sorting

2015-06-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91909

--- Comment #3 from Yousuf (Jay) Philips philip...@hotmail.com ---
Well as impress and draw share the same code and we have uno commands like
InsertPage and DuplicatePage, so i'd assume we'd follow that same naming but
we'd have aliases so we dont fall into having the same label or icon for both
commands. (bug 84258)

NextPage - alias NextSlide
PreviousPage - alias PreviousSlide
FirstPage - alias FirstSlide
LastPage - alias LastSlide

MovePageUp - alias MoveSlideUp
MovePageDown - alias MoveSlideDown
MovePageTop - alias MoveSlideTop
MovePageBottom - alias MoveSlideBottom

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 91909] Uno commands for slide navigation and slide sorting

2015-06-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91909

--- Comment #4 from Heiko Tietze heiko.tie...@user-prompt.com ---
Please no camelcase in captions.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 91909] Uno commands for slide navigation and slide sorting

2015-06-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91909

--- Comment #5 from Yousuf (Jay) Philips philip...@hotmail.com ---
(In reply to Heiko Tietze from comment #4)
 Please no camelcase in captions.

The are uno command names. :D

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs