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-3854) [graphic-properties] Proposal: different relative size relations


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

Andras Timar updated OFFICE-3854:
---------------------------------

    Proposal: 
1. RATIONALE
   1.1 Use cases:
	Currently users can set a relative size (height or width), where 100%
	always means the page text area. Sometimes it's wanted to alter this, so that
	100% means e.g. the entire page. If style:rel-width-rel / style:rel-height-rel
	elements present, then 100% no longer means the default relation
        (layout environment), but the value that is set by the attribute -- in a
        similar way how style:horizontal-rel / style:vertical-rel already works.
   1.2 Alternatives considered:
	Right now a possible workaround is to not use relative sizes: with
	non-relative sizes it's already possible to set the width or the height to a
	portion of the size of the entire page, manually.

2. REQUESTED CHANGES TO THE ODF STANDARD
   2.1 Text changes/additions:

	In section 17.21 <style:graphic-properties> append to the end of "has the following attributes":

	style:rel-width-rel, style:rel-height-rel

        In section 19.509 <style:rel-height> append after "The interpretation of percentage values depends on":

	In case style:rel-height-rel 20.x is present, then the interpretation of
        the percentage value may not depend on the anchor, see the possible values of
        style:rel-height-rel 20.x for details.

        In section 19.510.2 <style:rel-width> append after "The interpretation of percentage values depends on":

	In case style:rel-width-rel 20.y is present, then the interpretation of
        the percentage value may not depend on the anchor, see the possible values of
        style:rel-height-rel 20.y for details.

        In section 20.331 <style:rel-height> append after "The interpretation of percentage values depends on":

        In case style:rel-height-rel 20.x is present, then the interpretation of
        relative values may not depend on the anchor, see the possible values of
        style:rel-height-rel 20.x for details.

        In section 20.332.1 <style:rel-width> append after "The interpretation of the percent value depends on":

	In case style:rel-width-rel 20.y is present, then the interpretation
        of the percent value may not depend on the anchor, see the possible value of
        style:rel-width-rel 20.y for details.

	20.x: style:rel-height-rel (new section)
 
	The <style:rel-height-rel> attribute specifies the area that counts as 100%,
	when counting relative height.

	The defined values for the style:rel-height-rel attribute are:

	* page: 100% means the entire page
	* layout-environment: 100% means the innermost enclosing area of the
          anchor (See <style:flow-with-text> 20.259.)

	The style:rel-height-rel attribute is usable with the following element:
	<style:graphic-properties> 17.21.

	The values of style:rel-height-rel are page or layout-environment.

	20.y: style:rel-width-rel (new section)

	The <style:rel-width-rel> attribute specifies the area that counts as 100%,
	when counting relative width.

	The defined values for the style:rel-width-rel attribute are:

	* page: 100% means the entire page
	* layout-environment: 100% means the innermost enclosing area of the
	  anchor (See <style:flow-with-text> 20.259.)

	The style:rel-width-rel attribute is usable with the following element:
	<style:graphic-properties> 17.21.

	The values of style:rel-width-rel are page or layout-environment.

   2.2 Schema changes/additions:
       See attached patch.

3. IMPACTS
   3.1 Conformance:
        This proposal will not add any mandatory features or behaviors.

   3.2 Backwards compatibility:
	This element was not used in previous versions and is optional.  Existing ODF
	processors may ignore it, still displaying the relative size (if
        present) as if layout-environment was specified, as before.

   3.3 Accessibility impact:
       None.

  was:
 1. RATIONALE
   1.1 Use cases:
	Currently users can set a relative size (height or width), where 100%
	always means the page text area. Sometimes it's wanted to alter this, so that
	100% means e.g. the entire page. If style:rel-width-rel / style:rel-height-rel
	elements present, then 100% no longer means the default relation (page text
	area), but the value that is set by the attribute -- in a similar way how
	style:horizontal-rel / style:vertical-rel already works.
   1.2 Alternatives considered:
	Right now a possible workaround is to not use relative sizes: with
	non-relative sizes it's already possible to set the width or the height to a
	portion of the size of the entire page, manually.

2. REQUESTED CHANGES TO THE ODF STANDARD
   2.1 Text changes/additions:

	In section 17.21 <style:graphic-properties> append to the end of "has the following attributes":

	style:rel-width-rel, style:rel-height-rel

	20.x: style:rel-width-rel (new section)

	The <style:rel-width-rel> attribute specifies the area that counts as 100%,
	when counting relative width.

	The defined values for the style:rel-width-rel attribute are:

	* page: 100% means the entire page
	* paragraph: 100% means the anchor paragraph text area

	The style:rel-width-rel attribute is usable with the following element:
	<style:graphic-properties> 17.21.

	The values of style:rel-width-rel are page or paragraph.

	20.x: style:rel-height-rel (new section)

	The <style:rel-height-rel> attribute specifies the area that counts as 100%,
	when counting relative height.

	The defined values for the style:rel-height-rel attribute are:

	* page: 100% means the entire page
	* paragraph: 100% means the anchor paragraph text area

	The style:rel-height-rel attribute is usable with the following element:
	<style:graphic-properties> 17.21.

	The values of style:rel-height-rel are page or paragraph.

   2.2 Schema changes/additions:
       See attached patch.

3. IMPACTS
   3.1 Conformance:
        This proposal will not add any mandatory features or behaviors.

   3.2 Backwards compatibility:
	This element was not used in previous versions and is optional.  Existing ODF
	processors may ignore it, still displaying the relative size (if present) as a
	percent of the anchor text area, as before.

   3.3 Accessibility impact:
       None.



> [graphic-properties] Proposal: different relative size relations
> ----------------------------------------------------------------
>
>                 Key: OFFICE-3854
>                 URL: https://issues.oasis-open.org/browse/OFFICE-3854
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Improvement
>          Components: Text
>    Affects Versions: ODF 1.2
>         Environment: This is an enhancement, described in terms of changes to OpenDocument-v1.2
>            Reporter: Thorsten Behrens 
>
> Improve interoperability with other text processors, by enabling round-trip of additional graphic style properties.



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


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