Bug 87784 - UNO: Add contoured wrap command that combines .uno:WrapOn and .uno:WrapContour
Summary: UNO: Add contoured wrap command that combines .uno:WrapOn and .uno:WrapContour
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.5.0.0.alpha0+ Master
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: UNO-Command-New Anchor-and-Text-Wrap
  Show dependency treegraph
 
Reported: 2014-12-28 08:55 UTC by Yousuf Philips (jay) (retired)
Modified: 2019-06-13 14:50 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2014-12-28 08:55:14 UTC
We presently have 7 uno commands for image wrapping except one that sets it to parallel (.uno:WrapOn) and enables contour (.uno:WrapContour). MS Word has this wrapping option called 'Tight' and it would be good to have something similar which sets these two options at once and is easily selectable.
Comment 1 Cor Nouws 2014-12-28 10:27:44 UTC
nice one!
Comment 2 Heiko Tietze 2016-08-23 14:19:31 UTC
Seems to be fixed. Please reopen if not.
Comment 3 Yousuf Philips (jay) (retired) 2016-09-09 20:30:25 UTC
A new uno command wasnt created for this.
Comment 4 Heiko Tietze 2016-09-12 08:36:05 UTC
Easyhack, NEEDINFO for the codepointers
Comment 5 Heiko Tietze 2016-09-12 19:22:21 UTC Comment hidden (no-value)
Comment 6 Xisco Faulí 2016-09-15 15:26:48 UTC
Removing keyword 'needsDevEval' as this bug is an easyHack
Comment 7 Xisco Faulí 2016-09-27 10:36:03 UTC Comment hidden (obsolete)
Comment 8 Mirco Rondini 2016-10-19 08:44:41 UTC
I would try to resolve this easyhack, I need create new option "Tight" in the wrap options, this new command activate in the same time Page Wrap and Contour.

question: when I click "Tight" only this command need to be selected or Page Wrap and Contour too?
Comment 9 Yousuf Philips (jay) (retired) 2016-10-19 09:50:18 UTC
(In reply to Mirco Rondini from comment #8)
> question: when I click "Tight" only this command need to be selected or Page
> Wrap and Contour too?

The contour checkbox will be hidden from view in the dialog and sidebar, so when "Tight" is clicked, it will the only command in the toggled position in this state.
Comment 10 jani 2016-11-21 07:13:28 UTC Comment hidden (obsolete)
Comment 11 Mirco Rondini 2016-12-06 13:57:12 UTC
yes, I trying to complete first patch for this or the next week.
Comment 12 Mirco Rondini 2016-12-07 11:06:40 UTC
first patch near to be completed, tell me if the changes done are corrects:

1) added UNO command for wraptight, added option "Wrap Tight" in wrap menus and button in the sidebar.

2) this new button instantly activate "contour" and do the same things of "wrap parallel".

3) now when you select "wrap parallel" (or wrap left, right, optimal) and you activate "contour" too, instantly switch to "wrap tight", pre-patch they switch to "wrap parallel".

4) if you deactivate "contour" when "wrap tight" is active, switch to "wrap parallel".

problems:

5) "Wrap tight" button in the sidebar need new icon, for now I use "wrap parallel" icon.

wait feedbacks and suggestions, thanks
Comment 13 jani 2017-01-09 08:26:16 UTC
A polite ping, still working on this issue ?
Comment 14 jani 2017-02-09 06:49:43 UTC
Unassigning, if you want to continue working please reassign yourself.
Comment 15 Yousuf Philips (jay) (retired) 2017-05-02 18:40:25 UTC
@Gulsah: Got time to create an uno command which calls two other uno commands :D