I've noticed there's no option in Writer to use a predefined pattern as background for table cells and only two options are currently available: 1/ Use a solid color 2/ Use a predefined image While these can be enough for most scenarios, I miss one more option: using predefined simple bitmap patterns (like these¹) such as other office suites provide (e.g., MS Office). A side effect of lacking for this option is that opening a .doc file coming from MS Word that uses such patterns as background in tables is that it displays in Writer as a solid gray cell thus breaking the original formatting. ¹http://www.cs.arizona.edu/icon/docs/images/gipd7.gif
Hi Camaleón, thanks for the issue > set to new. You know that you can set an image as background, but apparently that does not help with opening MsDocuments ? Best, Cor
Yes, that's the point. Manually changing one document is an easy task but having to make a bunch of conversions can be overwhelming and given the fact there's already an option for using simple bitmap patterns as background for objects it would be nice having such feature also for tables.
It should be noted that gradient and hatching are also not supported and the bitmap support doesnt provide access to the bitmap presets.
With the latest changes of the Area Fill dialog it should be easy to have all those features as well in this dialog. EASYHACK?
(In reply to Heiko Tietze from comment #4) > With the latest changes of the Area Fill dialog it should be easy to have > all those features as well in this dialog. EASYHACK? Yes once all the tabs are merged into the area tab, it can be shown in the dialog rather than the background tab and hopefully it will work without problems.
Code pointer, skill<foo>, difficulty<foo> needs to be added
Changing status: NEEDINFO -> NEW Adding keyword 'needsDevEval' [ninjaedit]
Hi! Could anyone add the code pointers for this easyHack please.
(In reply to Heiko Tietze from comment #4) > With the latest changes of the Area Fill dialog it should be easy to have > all those features as well in this dialog. EASYHACK? I think, gradient and hatch is _no_ easy hack. Besides the UI, model and rendering changes, loading and saving is deep impacted. The table/row/cell background lives currently in the respective properties as fo:background-color and <style:background-image>. For to save gradient and hatch, changes in the standard are needed. And gradient and hatch are not representable in the current binary table template format. And another aspect is, that there exists at least four different kind of tables: Writer, Calc, table-shape, and presentation-table-shape. Currently I would suggest as workaround for the original poster to unzip the file standard.sop from share/palette. It contains in a subfolder "pictures" all these predefined pattern images, which then can be reached by the current table background dialog.
Please add keyword 'needsUXEval' and CC 'libreoffice-ux-advise@lists.freedesktop.org' if input from UX is needed.
repro 24.8+