[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (OFFICE-3857) scale-to-X and scale-to-Y attributes
[ https://issues.oasis-open.org/browse/OFFICE-3857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Stahl updated OFFICE-3857: ---------------------------------- Proposal: 1. RATIONALE 1.1 Use cases: For larger spreadsheets users want to determine the number of horizontal and/or vertical pages where the printout should fit to. 1.2 Alternatives considered: None. 2. REQUESTED CHANGES TO THE ODF STANDARD 2.1 Text changes/additions: 20.346 style:scale-to-X The style:scale-to-X attribute specify the number of pages on which a document should be printed. The document is scaled to fit up to style:scale-to-X pages horizontally. If these attributes, style:scale-to-pages and style:scale-to are absent, a document is not scaled. The style:scale-to-X attribute is usable with the following element: <style:page-layout-properties>. The style:scale-to-X attribute has the data type positiveInteger. 20.347 style:scale-to-Y The style:scale-to-Y attribute specify the number of pages on which a document should be printed. The document is scaled to fit up to style:scale-to-Y pages vertically. If these attributes, style:scale-to-pages and style:scale-to are absent, a document is not scaled. The style:scale-to-Y attribute is usable with the following element: <style:page-layout-properties>. The style:scale-to-Y attribute has the data type positiveInteger. Update: <style:page-layout-properties>, style:scale-to and style:scale-to-page sections should be updated, too, with the new style:scale-to-X and style:scale-to-Y attributes. 2.2 Schema changes/additions: {noformat} --- OpenDocument-v1.2-os-schema.rng 2015-03-19 10:26:06.218679000 +0100 +++ OpenDocument-v1.2-os-schema-scale-to-XY.rng 2015-06-05 17:04:54.797031400 +0200 @@ -14298,16 +14298,30 @@ </choice> </attribute> </optional> - <optional> - <attribute name="style:scale-to"> - <ref name="percent"/> - </attribute> - </optional> - <optional> - <attribute name="style:scale-to-pages"> - <ref name="positiveInteger"/> - </attribute> - </optional> + <choice> + <optional> + <attribute name="style:scale-to"> + <ref name="percent"/> + </attribute> + </optional> + <optional> + <attribute name="style:scale-to-pages"> + <ref name="positiveInteger"/> + </attribute> + </optional> + <group> + <optional> + <attribute name="style:scale-to-X"> + <ref name="positiveInteger"/> + </attribute> + </optional> + <optional> + <attribute name="style:scale-to-Y"> + <ref name="positiveInteger"/> + </attribute> + </optional> + </group> + </choice> <optional> <attribute name="style:table-centering"> <choice> {noformat} 3. IMPACTS 3.1 Conformance: This proposal will not add any mandatory features or behaviors. 3.2 Backwards compatibility: This element was not available in previous versions and is optional. Existing ODF processors may ignore it. 3.3 Accessibility impact: None. was: 1. RATIONALE 1.1 Use cases: For larger spreadsheets users want to determine the number of horizontal and/or vertical pages where the printout should fit to. 1.2 Alternatives considered: None. 2. REQUESTED CHANGES TO THE ODF STANDARD 2.1 Text changes/additions: 20.346 style:scale-to-X The style:scale-to-X attribute specify the number of pages on which a document should be printed. The document is scaled to fit up to style:scale-to-X pages horizontally. If these attributes, style:scale-to-pages and style:scale-to are absent, a document is not scaled. The style:scale-to-X attribute is usable with the following element: <style:page-layout-properties>. The style:scale-to-X attribute has the data type positiveInteger. 20.347 style:scale-to-Y The style:scale-to-Y attribute specify the number of pages on which a document should be printed. The document is scaled to fit up to style:scale-to-Y pages vertically. If these attributes, style:scale-to-pages and style:scale-to are absent, a document is not scaled. The style:scale-to-Y attribute is usable with the following element: <style:page-layout-properties>. The style:scale-to-Y attribute has the data type positiveInteger. Update: <style:page-layout-properties>, style:scale-to and style:scale-to-page sections should be updated, too, with the new style:scale-to-X and style:scale-to-Y attributes. 2.2 Schema changes/additions: --- OpenDocument-v1.2-os-schema.rng 2015-03-19 10:26:06.218679000 +0100 +++ OpenDocument-v1.2-os-schema-scale-to-XY.rng 2015-06-05 17:04:54.797031400 +0200 @@ -14298,16 +14298,30 @@ </choice> </attribute> </optional> - <optional> - <attribute name="style:scale-to"> - <ref name="percent"/> - </attribute> - </optional> - <optional> - <attribute name="style:scale-to-pages"> - <ref name="positiveInteger"/> - </attribute> - </optional> + <choice> + <optional> + <attribute name="style:scale-to"> + <ref name="percent"/> + </attribute> + </optional> + <optional> + <attribute name="style:scale-to-pages"> + <ref name="positiveInteger"/> + </attribute> + </optional> + <group> + <optional> + <attribute name="style:scale-to-X"> + <ref name="positiveInteger"/> + </attribute> + </optional> + <optional> + <attribute name="style:scale-to-Y"> + <ref name="positiveInteger"/> + </attribute> + </optional> + </group> + </choice> <optional> <attribute name="style:table-centering"> <choice> 3. IMPACTS 3.1 Conformance: This proposal will not add any mandatory features or behaviors. 3.2 Backwards compatibility: This element was not available in previous versions and is optional. Existing ODF processors may ignore it. 3.3 Accessibility impact: None. > scale-to-X and scale-to-Y attributes > ------------------------------------ > > Key: OFFICE-3857 > URL: https://issues.oasis-open.org/browse/OFFICE-3857 > Project: OASIS Open Document Format for Office Applications (OpenDocument) TC > Issue Type: Improvement > Components: Part 1 (Schema), Table > Affects Versions: ODF 1.2 > Environment: LibreOffice, Apache OpenOffice > Reporter: Andras Timar > Assignee: Andras Timar > Priority: Major > Fix For: ODF 1.3 > > > Fit Print Ranges To Width/Height feature was implemented in OpenOffice.org in 2004, see https://issues.apache.org/ooo/show_bug.cgi?id=8868. > However, the style:scale-to-X and style:scale-to-Y attributes are missing from the ODF standard. -- This message was sent by Atlassian JIRA (v7.7.2#77003)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]