OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (OFFICE-4106) 19.515 style:repeat, add value "scale" for isotropic scaling


     [ https://issues.oasis-open.org/browse/OFFICE-4106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Stahl updated OFFICE-4106:
----------------------------------
    Proposal: 
in 20.341 style:repeat  (NOT 19.515 style:repeat) replace the item "stretch" and add new item:

* stretch: image should be scaled anisotropically to fill the background completely
* scale: image should be scaled isotropically to fill the background along one axis. By default, the image is centered on the other axis, unless the attribute 20.125 draw:fill-image-ref-point exists and specifies the alignment on the other axis.


{noformat}
diff --git a/src/main/resources/odf1.3/OpenDocument-v1.3-schema.rng b/src/main/r
esources/odf1.3/OpenDocument-v1.3-schema.rng
index 87a8698..cec3e4a 100644
--- a/src/main/resources/odf1.3/OpenDocument-v1.3-schema.rng
+++ b/src/main/resources/odf1.3/OpenDocument-v1.3-schema.rng
@@ -10812,24 +10812,25 @@
       </rng:optional>
       <rng:optional>
         <rng:attribute name="draw:fill-image-name">
           <rng:ref name="styleNameRef"/>
         </rng:attribute>
       </rng:optional>
       <rng:optional>
         <rng:attribute name="style:repeat">
           <rng:choice>
             <rng:value>no-repeat</rng:value>
             <rng:value>repeat</rng:value>
             <rng:value>stretch</rng:value>
+            <rng:value>scale</rng:value>
           </rng:choice>
         </rng:attribute>
       </rng:optional>
       <rng:optional>
         <rng:attribute name="draw:fill-image-width">
           <rng:choice>
             <rng:ref name="length"/>
             <rng:ref name="percent"/>
           </rng:choice>
         </rng:attribute>
       </rng:optional>
       <rng:optional>
{noformat}

  was:
in 20.341 style:repeat  (NOT 19.515 style:repeat) replace the item "stretch" and add new item:

* stretch: image should be scaled anisotropically to fill the background completely
* scale: image should be scaled isotropically to fill the background along one axis. If the attribute 20.125 draw:fill-image-ref-point exists, it specifies the alignment on the other axis; if not, the image is centered on the other axis


{noformat}
diff --git a/src/main/resources/odf1.3/OpenDocument-v1.3-schema.rng b/src/main/r
esources/odf1.3/OpenDocument-v1.3-schema.rng
index 87a8698..cec3e4a 100644
--- a/src/main/resources/odf1.3/OpenDocument-v1.3-schema.rng
+++ b/src/main/resources/odf1.3/OpenDocument-v1.3-schema.rng
@@ -10812,24 +10812,25 @@
       </rng:optional>
       <rng:optional>
         <rng:attribute name="draw:fill-image-name">
           <rng:ref name="styleNameRef"/>
         </rng:attribute>
       </rng:optional>
       <rng:optional>
         <rng:attribute name="style:repeat">
           <rng:choice>
             <rng:value>no-repeat</rng:value>
             <rng:value>repeat</rng:value>
             <rng:value>stretch</rng:value>
+            <rng:value>scale</rng:value>
           </rng:choice>
         </rng:attribute>
       </rng:optional>
       <rng:optional>
         <rng:attribute name="draw:fill-image-width">
           <rng:choice>
             <rng:ref name="length"/>
             <rng:ref name="percent"/>
           </rng:choice>
         </rng:attribute>
       </rng:optional>
       <rng:optional>
{noformat}


> 19.515  style:repeat, add value "scale" for isotropic scaling
> -------------------------------------------------------------
>
>                 Key: OFFICE-4106
>                 URL: https://issues.oasis-open.org/browse/OFFICE-4106
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: New Feature
>          Components: Forms, Graphics, Part (Schema)
>    Affects Versions: ODF 1.3
>            Reporter: Michael Stahl
>            Priority: Major
>             Fix For: ODF 1.4
>
>
> <quote>
>  20.341 style:repeat
>  The style:repeat attribute specifies if an image can be repeated or stretched over an area. 
>  The defined values for the style:repeat attribute are:
>  â no-repeat: image should not be repeated.
>  â repeat: image should be repeated.
>  â stretch: image should be stretched over an area.
>  </quote>
> Form controls since OOo 3.1 may have an additional value "scale", which means isotropic scaling; "stretch" means anisotropic scaling (filling the background completely)



--
This message was sent by Atlassian Jira
(v8.3.3#803004)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]