|
|
The following table describes the attributes used in the StyledText element or its children. The syntax declarations for each element include relevant attributes, although any of the attributes can be used in any of the elements.
Optional and inheritable. Color of the enclosed text, leaders, and text decorations. (See Color values.) Optional and inheritable. A shorthand font property of the following form, where each font characteristic is optional, with the following exception: If the line-height characteristic is included, it must be preceded by the font-size characteristic and a slash. Unspecified components of this attribute value are set to their default values. The descriptions of the individual properties explain those defaults.font-style font-weight font-size/line-heightfont-familyThe values in the following examples are delineated in the table. That is, the first example below is explained in the first row in the table, and the second example in the second row.In any given element you can specify the font attribute or the individual attributes that describe a font (font-style, font-weight, font-size, line-height, and font-family). If the font attribute is present in an element, do not specify any of the individual attributes that describe a font. Optional and inheritable. Provides a font name, a generic font type, or a comma-separated list of font names or generic font types to be used to display the enclosed text. The following list shows how the Assembler service maps generic font types:serif to Minion Prosans-serif to Myriad Procursive to Minion Profantasy to Minion Promonospace to Courier StdIf a list is provided, the first one containing glyphs for the specified text is used. If no font family is specified, the Assembler service environment variables specify a default font family.Omit this attribute if it duplicates information in a font attribute that appears in the same element. Optional and inheritable. The font size of the enclosed text. The following list shows supported values:12pt (default)positive length - A length value greater than 0. (See Length values.)Omit this attribute if it duplicates information in a font attribute that appears in the same element. Optional and inheritable. Specifies the stretch values for a font family. Stretch values are particular to a font family. The following list shows supported values, in order of narrowest to widest stretch:normal (default) Optional and inheritable. Specifies whether the enclosed text should be displayed using a normal or italic (oblique) font. Style values are particular to a font family. The following list shows supported values:normal (default)Omit this attribute if it duplicates information in a font attribute that appears in the same element. Optional and inheritable. Specifies weight of the font for the enclosed text. Normal is equivalent to 400 and bold is equivalent to 700. The following list shows supported values:normal (default)Any of the values "100" or "200" or "300" or "400" or "500" or "600" or "700" or "800" or "900". If a numeric value is specified, it must be a multiple of 100.Omit this attribute if it duplicates information in a font attribute that appears in the same element. Optional and inheritable. Specifies the pattern of spaces, dashes, dots, and lines used in a leader. A leader is a repetitious pattern of characters that fill a line, as between the bookmark title and bookmark page reference in a table of contents entry. The following list shows the supported values:space (default) Optional and inheritable. Specifies the line-height of the enclosed text, which is the same as the distance between the current baseline and the one just above. When a numerical value is specified, the line height is given by the font size of the current element multiplied with the numerical value. This differs from a percentage value in the way it inherits: when a numerical value is specified, child elements will inherit the factor itself, not the resultant value (as is the case with percentage and other units).normal (normal) - This value is equivalent to 1.2 x font-size.length - Line height as a length that must not be less than 0. (See Length values.) Optional. A shorthand CSS margin property that includes a space-separated, sequential set of margin values. This attribute uses the following format:If margin values are omitted from this sequence, the Assembler service determines default values as described in the Cascading Style Sheets Specification, version 2 (www.w3.org/TR/CSS2). Optional. Sets the top margin of a p element. The attribute value must not be less than 0. (See Length values.) Optional. Sets the right margin of a p element. The attribute value must not be less than 0. (See Length values.) Optional. Sets the bottom margin of a p element. The attribute value must not be less than 0. (See Length values.) Optional. Sets the left margin of a p element. The attribute value must not be less than 0. (See Length values.) Optional and inheritable. Horizontal alignment of lines in a paragraph. The following values are supported:left (default)This attribute is not supported in the DDX Header and Footer elements, which take alignment instructions from their child elements Left, Center and Right. Optional and inheritable. Specifies special characteristics to be applied to the enclosed text. The following values are supported:none (default) Optional and inheritable. Specifies additional indention of the first line of a paragraph. A negative value cannot be greater than the paragraph’s margin-left value. (See Length values.) Optional. Specifies vertical positioning of the content described by the element. The following values are supported:baseline (default) - Align the baseline of the element (or the bottom, if the element does not have a baseline) with the baseline of the parentbase - Same meaning as the baseline value.sub - Subscript the element.subscript - Same meaning as the sub value.sup - Superscript the element .super - Same meaning as the sup value .superscript - Same meaning as the sup value .length - Distance from the current baseline to the new baseline. (See Length values.) Optional and inheritable. Specifies handling for the whitespace characters carriage return, line feed, and space. The following values are supported:default (default) - Convert line feeds and carriage returns to spaces and collapse multiple adjacent whitespace to a single space.preserve - All spaces, line feeds, and carriage returns are retained as entered. The line feed is interpreted as a line-break.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/sdkHelp/ddxRefMain.163.99.html