Bug 106934 - Image Control property style:repeat="scale" is not valid
Summary: Image Control property style:repeat="scale" is not valid
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL: https://issues.oasis-open.org/browse/...
Whiteboard: odf_validation
Keywords:
Depends on:
Blocks: ODF-export-invalid
  Show dependency treegraph
 
Reported: 2017-04-03 19:43 UTC by Regina Henschel
Modified: 2021-12-10 23:50 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
Image Control with style:repeat="scale" (34.79 KB, application/vnd.oasis.opendocument.text)
2017-04-03 19:43 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2017-04-03 19:43:29 UTC
Created attachment 132317 [details]
Image Control with style:repeat="scale"

If the property "Scale" in tab "General" of the Image Control properties is set to "Keep ratio", then LibreOffice writes this to file as graphic property style:repeat="scale". But the only allowed values are "no-repeat", "repeat" and "stretch".

Such value would indeed be useful, but it is currently not valid.

There exists no issue in https://issues.oasis-open.org and no item in https://wiki.documentfoundation.org/Development/ODF_Implementer_Notes/List_of_LibreOffice_ODF_Extensions for it.
Comment 1 Thomas Lendo 2017-04-07 22:22:31 UTC
I can confirm that style:repeat="scale" in content.xml exists after following steps:

- Open new Writer document.
- Insert an Image Control (View > Toolbars > Form Controls > Open more controls toolbar > Image Control).
- Right-click on it and open "Position and Size...".
- Activate "Keep ratio".
- Click OK and save the document.
Comment 2 QA Administrators 2018-05-29 02:37:01 UTC Comment hidden (obsolete)
Comment 3 Regina Henschel 2018-11-06 01:48:43 UTC
The error still exists in Version: 6.2.0.0.alpha1+ (x64)
Build ID: f825e6d4082c0d0beb1c95b881f6a2ee9bfc9161
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-11-05_00:20:26
Locale: de-DE (en_US); Calc: CL
Comment 4 QA Administrators 2019-11-07 03:35:15 UTC Comment hidden (obsolete)
Comment 5 Regina Henschel 2019-11-07 11:19:56 UTC
The bug still exists in Version: 6.4.0.0.alpha1+ (x64)
Build ID: 7c6226bee72805db7f0e567ca9f06c786a7d0da2
CPU threads: 8; OS: Windows 10.0 Build 18362; UI render: default; VCL: win; 
Locale: de-DE (en_US); UI-Language: en-US
Calc: threaded
Comment 6 Regina Henschel 2020-09-12 21:51:32 UTC
The bug still exists in Version: 7.1.0.0.alpha0+ (x64)
Build ID: 1e0cfd5662d95cea84e80e4fe10d52c3b1101ae6
CPU threads: 8; OS: Windows 10.0 Build 18362; UI render: Skia/Vulkan; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL
Comment 7 Regina Henschel 2021-12-10 23:50:45 UTC
The ODF TC has agreed to add the additional value "scale" to the attribute style:repeat in ODF 1.4.

But the for ODF 1.3 needed own namespace is still missing in Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 4ac9032163cf55c160145373e7c41741c9c339ca
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL