Presently we have an insert row below command (.uno:InsertRows) and insert column right command (.uno:InsertColumns) in writer but we also need commands to insert row above and insert column left, primarily for use in the table context menu. Ideally the new commands would be name .uno:InsertRowsAbove and .uno:InsertColumnsLeft.
ux-advise NEW.
How's about .uno:InsertColumns(currentLine-1)? I mean the function makes sense but not as special code.
Not sure if its possible to send arguments through UNO commands, but maybe a dev can clarify this.
Kendy confirmed its not possible to send arguments through UNO commands.
Kendy: "Not possible to have parameters with uno. commands" So back to Jay's suggestion: +1
Would also be useful to have similar commands in Calc, but with opposite names - .uno:InsertRowsBelow and .uno:InsertColumnsRight - as Calc's .uno:InsertRows insert rows above and .uno:InsertColumns insert columns left.
Philippe Jung committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=447783a97777b2053acd74d265af3ed2a6c5c93a tdf#90882 Writer: insert row/col before/after It will be available in 5.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
This bug fix is mentioned in the release notes of the coming LibreOffice 5.0 (see release notes https://wiki.documentfoundation.org/ReleaseNotes/5.0). Therefore it would be wonderful if this feature really worked well, otherwise it should not be mentioned in the release notes. In the notes it reads: Ability to add rows and columns before the current cursor position through the context menu. tdf#90882 (Philippe Jung, Yousuf Philips)
Yousuf Philips committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=54b9bdc7b14b75f93a043c9af60ae605e57b194d tdf#90882 Add table insert uno commands to menu bar and fix labels It will be available in 5.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Yousuf Philips committed a patch related to this issue. It has been pushed to "libreoffice-5-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=fb145a7a618f554daa8198a0fa5ec3b2c51a9244&h=libreoffice-5-0 tdf#90882 Add table insert uno commands to menu bar and fix labels It will be available in 5.0.0.0.beta2. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.