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

 


Help: OASIS Mailing Lists Help | MarkMail Help

dita message

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


Subject: graphic scaling 1.1 feature


 
>     * For each feature/change for 1.1, identify the owner of 
>       the feature and ask them to identify affected topics by
>       next week, relative to 1.0 - send to group and cc me [Michael]
> 
>       The following are the features for DITA 1.1 and each 
>          one's owner:
>       Bookmap - Robert
>       Shortdesc - Michael
>       Index - Chris Wong
>       Graphics - Paul Grosso (sent impact assessment previously)
>       Glossary = Erik Hennum
>       metadata - Michael
>       universal - Robert
>       data element - Erik Hennum
>       Foreign content - Eric Sirois
>       Translation - Gershon
>       DTD/schema bugs - Robert 
>       Editing bugs - Michael
> 
>       ACTIONS for each person in the above list to send an 
>       impact assessment as requested by Michael. 

I think what I last sent was to Michael and Don only, so 
here is a restatement to the group and to get archived.

Graphic image sizing changes require modifications
to two areas:  the image element and the object element
in the language reference. 

I am suggesting we don't change the scale attribute 
in %display-atts, since that is mostly about scaling
text.  (However, we might correct "accomodation" to be
"accommodation" in the Description of the scale attribute.)

I am not suggesting we add the scale attribute to the
object element at this time (though I wouldn't be opposed
if the TC felt that made more sense).

No changes are needed in the Architectural Specification.

The image element
=================
http://docs.oasis-open.org/dita/v1.0/langspec/image.html

first para
----------
Replace:

 The <image> element has optional attributes that indicate
 whether the placement of the included graphic or artwork
 should be inline (like a button or icon), or on a separate
 line for a larger image. 

with:

 The <image> element has optional attributes that indicate
 whether the placement of the included graphic or artwork
 should be inline (like a button or icon) or on a separate
 line for a larger image.  There are also optional attributes
 that indicate the size to which the included graphic or artwork
 should be scaled.

(That is, remove the bogus comma in the existing sentence
and add the additional sentence.)

under Attributes
----------------
Replace the height attribute's description with:

 Indicates the vertical dimension for the resulting image
 display. If necessary, the image is scaled to the specified
 size. The value of this attribute is a real number optionally
 following by a unit of measure from the set of pc, pt, px, in,
 cm, mm, em (picas, points, pixels, inches, centimeters,
 millimeters, and ems respectively).  The default unit is px
 (pixels). Possible values include: "5", "5in", and "10.5cm".
 If a height value is specified and no width value is specified,
 the width will be scaled by the same factor as the height.
 If both a height value and width value are specified, some
 implementations may not be able to scale the two directions
 by a different factor and may therefore ignore one of the
 two values.


Replace the width attribute's description with:

 Indicates the horizontal dimension for the resulting image
 display. If necessary, the image is scaled to the specified
 size. The value of this attribute is a real number optionally
 following by a unit of measure from the set of pc, pt, px, in,
 cm, mm, em (picas, points, pixels, inches, centimeters,
 millimeters, and ems respectively).  The default unit is px
 (pixels). Possible values include: "5", "5in", and "10.5cm".
 If a width value is specified and no height value is specified,
 the height will be scaled by the same factor as the width.
 If both a height value and width value are specified, some
 implementations may not be able to scale the two directions
 by a different factor and may therefore ignore one of the
 two values.


Add the "scale" attribute to the attribute list:

 Description:  Specifies a percentage by which to scale the
  image in the absence of any specified image height or
  width; a value of 100 implies that the image should be
  presented at its intrinsic size.  If a value has been
  specified for this image's height or width attribute
  (or both), the scale attribute is ignored.

 Data Type:  NMTOKEN whose value space is an unsigned integer

 Value:  #IMPLIED

 Required?:  No


[One can see "Specifing the Content Area" in the DocBook
documentation for imagedata at
http://docbook.org/tdg/en/html/imagedata.html
for more background on this topic.]


The object element
==================
http://docs.oasis-open.org/dita/v1.0/langspec/object.html

under Attributes
----------------
Replace the height attribute's description with:

 Indicates the vertical dimension for the resulting object 
 display. If necessary, the object is scaled to the specified
 size. The value of this attribute is a real number optionally
 following by a unit of measure from the set of pc, pt, px, in,
 cm, mm, em (picas, points, pixels, inches, centimeters,
 millimeters, and ems respectively).  The default unit is px
 (pixels). Possible values include: "5", "5in", and "10.5cm".
 If a height value is specified and no width value is specified,
 the width will be scaled by the same factor as the height.
 If both a height value and width value are specified, some
 implementations may not be able to scale the two directions
 by a different factor and may therefore ignore one of the
 two values.


Replace the width attribute's description with:

 Indicates the horizontal dimension for the resulting object 
 display. If necessary, the object is scaled to the specified
 size. The value of this attribute is a real number optionally
 following by a unit of measure from the set of pc, pt, px, in,
 cm, mm, em (picas, points, pixels, inches, centimeters,
 millimeters, and ems respectively).  The default unit is px
 (pixels). Possible values include: "5", "5in", and "10.5cm".
 If a width value is specified and no height value is specified,
 the height will be scaled by the same factor as the width.
 If both a height value and width value are specified, some
 implementations may not be able to scale the two directions
 by a different factor and may therefore ignore one of the
 two values.

paul


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