cvs commit: xml-fop/src/documentation/content/design/alt.design/properties propertyExpressions.html

2003-03-05 Thread pbwest
pbwest  2003/03/05 21:07:14

  Removed: src/documentation/content/design/alt.design/properties
propertyExpressions.html
  Log:
  Using propertyExpressions.ehtml

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: xml-fop/src/documentation/content/design/alt.design/properties propertyExpressions.html

2003-01-23 Thread pbwest
pbwest  2003/01/23 19:23:31

  Modified:src/documentation/content/design/alt.design/properties
propertyExpressions.html
  Log:
  Modified text and links.
  
  Revision  ChangesPath
  1.2   +54 -95
xml-fop/src/documentation/content/design/alt.design/properties/propertyExpressions.html
  
  Index: propertyExpressions.html
  ===
  RCS file: 
/home/cvs/xml-fop/src/documentation/content/design/alt.design/properties/propertyExpressions.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- propertyExpressions.html  20 Jan 2003 14:56:34 -  1.1
  +++ propertyExpressions.html  24 Jan 2003 03:23:31 -  1.2
  @@ -3,18 +3,7 @@
 
   
   Property Expression Parsing
  -
  -  body {
  -  font-family: Verdana, Helvetica, sans-serif;
  -  }
  -
  -  .note { border: solid 1px #7099C5; background-color: #f0f0ff; }
  -  .note .label { background-color: #7099C5; color: #ff; }
  -  .content {
  -  padding: 5px 5px 5px 10px;
  -  font : Verdana, Helvetica, sans-serif;  font-size : 90%;
  -  }
  -
  +
 
 
   
  @@ -46,19 +35,19 @@
   closely related classes: org.apache.fop.fo.expr.PropertyTokenizer
  +class= "codefrag" >org.apache.fop.fo.expr.PropertyTokenizer
   and its subclass, org.apache.fop.fo.expr.PropertyParser,
  +class= "codefrag" >org.apache.fop.fo.expr.PropertyParser,
   and by refineParsing(int, FONode,
   PropertyValue) methods in the individual property
  -classes.  PropertyTokenizer, as
  +classes.  PropertyTokenizer, as
   the name suggests, handles the tokenizing of the expression,
   handing tokens back to
   its subclass, PropertyParser. PropertyParser, in turn, returns a PropertyParser. PropertyParser, in turn, returns a PropertyValueList, a list of 
   The tokenizer and parser rely in turn on the datatype
   definitions from the org.apache.fop.datatypes package,
  +class= "codefrag" >org.apache.fop.datatypes package,
   which include the PropertyValue datatype constant definitions.
  @@ -78,7 +67,7 @@
 Data types
 
   The data types currently defined in
  -org.apache.fop.datatypes include:
  +org.apache.fop.datatypes include:
 
 
   
  @@ -236,13 +225,13 @@
 
 
   
  -MappedEnumType
  +MappedNumeric
   
 A subclass of EnumType.  Maintains a
  -  String with the value to which the associated
  +  Numeric with the value to which the associated
 "raw" enumeration token maps.  E.g., the
 font-size enumeration value "medium" maps to
  -  the String "12pt".
  +  the Numeric "12pt".
   
 
 
  @@ -334,57 +323,23 @@
 
 Tokenizer
 
  -The tokenizer returns one of the following token
  -values:
  -  
  -  
  -  static final int
  -  EOF = 0
  -  ,NCNAME = 1
  -  ,MULTIPLY = 2
  -  ,LPAR = 3
  -  ,RPAR = 4
  -  ,LITERAL = 5
  -  ,FUNCTION_LPAR = 6
  -  ,PLUS = 7
  -  ,MINUS = 8
  -  ,MOD = 9
  -  ,DIV = 10
  -  ,COMMA = 11
  -  ,PERCENT = 12
  -  ,COLORSPEC = 13
  -  ,FLOAT = 14
  -  ,INTEGER = 15
  -  ,ABSOLUTE_LENGTH = 16
  -  ,RELATIVE_LENGTH = 17
  -  ,TIME = 18
  -  ,FREQ = 19
  -  ,ANGLE = 20
  -  ,INHERIT = 21
  -  ,AUTO = 22
  -  ,NONE = 23
  -  ,BOOL = 24
  -  ,URI = 25
  -  ,MIMETYPE = 26
  -  // NO_UNIT is a transient token for internal use only.  It is
  -  // never set as the end result of parsing a token.
  -  ,NO_UNIT = 27
  -  ;
  -  
  -  
  -Most of these tokens are self-explanatory, but a few need
  -further comment.
  +As mentioned above, the PropertyTokenizer hands tokens back to its subclass, PropertyParser.  Most of these tokens are
  +self-explanatory, but a few need further comment.
 
 
   
   AUTO
   
   
  -  Because of its frequency of occurrence, and the fact that
  -  it is always the initial value for any property
  -  which supports it, AUTO has been promoted into a
  -  pseudo-type with its on datatype class.  Therefore, it is
  -  also reported as a token.
  +  Because of its frequency of occurrence, and the fact that it
  +  is always the initial value for any property which
  +  supports it, AUTO has been promoted into a pseudo-type

cvs commit: xml-fop/src/documentation/content/design/alt.design/properties propertyExpressions.html simple-properties.html

2003-01-20 Thread pbwest
pbwest  2003/01/20 06:56:34

  Added:   src/documentation/content/design/alt.design/properties
propertyExpressions.html simple-properties.html
  Log:
  Code documentation
  
  Revision  ChangesPath
  1.1  
xml-fop/src/documentation/content/design/alt.design/properties/propertyExpressions.html
  
  Index: propertyExpressions.html
  ===
  
  

  
  Property Expression Parsing
  
body {
font-family: Verdana, Helvetica, sans-serif;
}
  
.note { border: solid 1px #7099C5; background-color: #f0f0ff; }
.note .label { background-color: #7099C5; color: #ff; }
.content {
padding: 5px 5px 5px 10px;
font : Verdana, Helvetica, sans-serif;  font-size : 90%;
}
  


  
Property Expression Parsing

  by Peter B. West


  
Property expression parsing

  
Data types
  
  
Tokenizer
  
  
Parser
  

  



Property expression parsing

  The parsing of property value expressions is handled by two
  closely related classes: org.apache.fop.fo.expr.PropertyTokenizer
  and its subclass, org.apache.fop.fo.expr.PropertyParser,
  and by refineParsing(int, FONode,
  PropertyValue) methods in the individual property
  classes.  PropertyTokenizer, as
  the name suggests, handles the tokenizing of the expression,
  handing tokens back to
  its subclass, PropertyParser. PropertyParser, in turn, returns a PropertyValueList, a list of PropertyValues.


  The tokenizer and parser rely in turn on the datatype
  definitions from the org.apache.fop.datatypes package,
  which include the PropertyValue datatype constant definitions.


Data types

  The data types currently defined in
  org.apache.fop.datatypes include:


  

  Numbers and lengths



  Numeric
  
The fundamental length data type.  Numerics of
various types are constructed by the classes listed
below.
  



  
  Constructor classes for Numeric



  
  Ems
  Relative length in ems



  
  IntegerType
  



  
  Length
  In centimetres(cm), millimetres(mm),
inches(in), points(pt), picas(pc) or pixels(px)



  
  Percentage
  

  

  Other Numeric
  
Other numeric vaues which do not interact with the
lengths represented by Numeric values.
  



  
  Angle
  In degrees(deg), gradients(grad) or
radians(rad)



  
  Frequency
  In hertz(Hz) or kilohertz(kHz)



  
  Time
  In seconds(s) or milliseconds(ms)



  Strings



  StringType
  
Base class for data types which result in a String.
  



  
  Literal
  
A subclass of StringType for literals which
exceed the constraints of an NCName.
  



  
  MimeType
  
A subclass of StringType for literals which
represent a mime type.
  



  
  UriType
  
A subclass of StringType for literals which
represent a URI, as specified by the argument to
url().
  



  
  NCName
  
A subclass of StringType for literals which
meet the constraints of an NCName.
  



  
  
  Country
  An RFC 3066/ISO 3166