"w" and "h" attributes are optional and it is not defined how to compute their value from value of "code" attribute.

Either "w" and "h" attributes should be required or it should be defined how to compute page size from the value of "code" attribute. It is not clear what the purpose of "code" attribute is. Improve its description.

p. 631 Part 4/2.6.13

te

Proposed Disposition of DIS 29500 Comment CZ-0044 (Modified: 2008-01-13) Agreed; as currently written, the schema incorrectly made w and h optional instead of code. In addition, we agree that the description for code implies that it defines the paper size when it does not. The following changes will be made: In Part 4, §2.6.13, page 632, lines 2­7, in the corresponding schema file wml.xsd: <complexType name="CT_PageSz"> <attribute name="w" type="ST_TwipsMeasure" use="optional" /> <attribute name="h" type="ST_TwipsMeasure" use="optional" /> <attribute name="orient" type="ST_PageOrientation" use="optional"/> <attribute name="code" type="ST_DecimalNumber" use="optional" /> </complexType> In Part 4, §2.6.13, page 631, below line 8: Attributes Description code (Printer Paper Code) Specifies a n printer-specific optional value paper code for the paper type, which shall be used by the printer for pages in this section. which can be used to store an identifier for the curernt paper size. This code is stored solely to ensure the proper paper type is chosen show a description for the current paper size if the specified paper size matches the sizes of multiple paper types supported by the current printer . This setting should not be used to determine the target paper size (i.e. if the w and h attributes are omitted, this setting has no meaning). [Example: Consider the following WordprocessingML fragment: <w:pgSz w:w="12240" w:h="15840" w:code="240" /> The code attribute specifies a value of 240 , which , since the w and h attributes specify a paper size of 8.5 inches by 11 inches, will be sent to the printer and used by the printer to determine the appropriate paper type to use when printing can be used to determine the appropriate user label for this paper size ­ for example, “Letter” or “8.5 by 11″. The attribute code specifies that the producing application’s unique identifier value for this paper size was 240 . This value is not interpreted or modified other than storing it as specified by the Attributes Description printer does not itself determine the paper size, regardless of the presence of the w and h attributes . end example] The possible values for this attribute are defined by the ST_DecimalNumber simple type (§2.18.16).

Tag and Go

No Comments

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

  • Argentina (1)
  • Australia (30)
  • Austria (1)
  • Belgium (1)
  • Brazil (64)
  • Bulgaria (3)
  • Canada (79)
  • Chile (217)
  • China (1)
  • Colombia (237)
  • Czech Republic (75)
  • Denmark (168)
  • Ecma (76)
  • Ecuador (1)
  • Finland (15)
  • France (592)
  • Germany (162)
  • Ghana (12)
  • Greece (113)
  • India (82)
  • Iran (58)
  • Ireland (12)
  • Israel (33)
  • Italy (2)
  • Japan (82)
  • Jordan (1)
  • Kenya (81)
  • Malaysia (23)
  • Malta (5)
  • Mexico (7)
  • New Zealand (54)
  • Norway (12)
  • Peru (10)
  • Philippines (7)
  • Poland (4)
  • Portugal (118)
  • Singapore (2)
  • South Africa (17)
  • South Korea (25)
  • Spain (1)
  • Switzerland (19)
  • Thailand (1)
  • Tunisia (3)
  • Turkey (1)
  • UK (635)
  • Uruguay (18)
  • USA (288)
  • Venezuela (73)