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

 


Help: OASIS Mailing Lists Help | MarkMail Help

cgmo-webcgm message

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


Subject: DOM questions and implementation feedback


Hi all,

  First the questions...

  1) Are APS style attributes cumulative or not?  Example:
  - assume we have a rectangle filled with black.
  - we set it to red by calling setStyleAttr( "fill-color", "#FF0000" );
  - we then set it to a relative color using setStyleAttr(
  "fill-color", "50%" );

    What is the resulting color?  50% red or 50% black?  I believe the
    spec needs to be clear on this, wording will have to be
    added.

  2) Is the style attribute "fill-color" suppose to fill objects that
  don't already have a fill-color?   If yes, what does WebCGM say
  about filling non-closed objects?  calling setStyleAttr(
  "fill-color", "50%" ) on a non-filled object should do what?

  3) Since WebCGM only allows for restricted text elements, what is
  the usefulness of changing the font-size? ie, it can't exceed the
  box height?!


  On to implementation feedback...

  i) As I've said in the last conference call, the metafileDescription
  attribute on the Picture interface doesn't make much sense to me.  I
  think it is really hard for a script writer to use the returned
  value.

  I would like to propose that we change the Metafile interface to:
  interface Metafile {
    readonly attribute Picture         firstPicture;
    readonly attribute DOMString       metafileID;
    readonly attribute DOMString       ProfileId;
    readonly attribute DOMString       ProfileEd;
    readonly attribute usigned short   metafileVersion;
             attribute DOMString       src;
  };
  OR
  interface Metafile {
    readonly attribute DOMString       metafileDescription; // returns clearText value
    readonly attribute Picture         firstPicture;
    readonly attribute DOMString       metafileID;
    readonly attribute DOMString       ProfileId;
    readonly attribute DOMString       ProfileEd;
    readonly attribute usigned short   metafileVersion;
             attribute DOMString       src;
  };
  feedback would be appreciated.

  ii) We have some methods in the WebCGM DOM that take DOMStringList
  as input parameters but we have no methods for creating a DOMStringList
  object or to append/remove DOMStrings from DOMStringList objects.
  The DOMStringList interface will need to be modified.  And we will
  also have to find an interface to add a createDOMStringList()
  method.

  I haven't heard from the group in a few days regarding the
  ecmascript binding request; should I assume that people have started
  implementing without it or is this still an open issue?

  Regards,
  
-- 
 Benoit                 mailto:benoit@itedo.com



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