/[public]/psiconv/trunk/formats/psion/Text_Layout_Section.psi
ViewVC logotype

Diff of /psiconv/trunk/formats/psion/Text_Layout_Section.psi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 113 Revision 195
17mþŸU·t  17mþŸU*{ 
2dÈ"Times New RomanN1 ð 2dÈ"Times New RomanN1 ð
3< *Koptekst 2Lð ð 3< *Koptekst 2Lð ð
4< *Koptekst 3L *OpsomtekenO³•Swissÿÿÿÿh3r h3r ÐР efdefLdý‚.ÆAÕ=[Text Layout Section]Text Layout SectionThis section descibes how the text of a «Text Section» is formatted.There are a couple of levels on which the layout can be expressed. Most global are the styles. If available, they are described in the «Word Styles Section», and referenced here. But not each Text Layout Section uses styles.One down is the «Text Layout Paragraph Type List»; it contains a sort of unnamed styles. They are generated automatically.Each paragraph is mentioned in the «Text Layout Paragraph Element List». It either contains a reference to a «Text Layout Paragraph Type» or it contains the «Paragraph LayoutCodes» and the number of «Character Layout Codes» for this paragraph.The whole list of «Character Layout Codes» is found at the end in the «Text Layout Inline List». These are the only way in which in-paragraph layouts can be expressed. Data Description W Section with (01 00) or without (00 00) style indicators «Text Layout Paragraph Type List» «Text Layout Paragraph Element List» «Text Layout Inline List»If the first word indicates that this is style-less section, the «Text Layout Paragraph Type List» and the «Text Layout Paragraph Element List» contain no style references.[Text Layout Paragraph Type List][Text Layout Paragraph Type][Text Layout Paragraph Types]Paragraph Type ListThese are a sort of unnamed styles. They are referenced in the «Text Layout Paragraph Element List». They are only used for paragraphs whose characters all have the same layout.This is a «BListE» of the following Paragraph Type elements: Data Description L Type number «Paragraph Layout List» Layout codes(*) «Word Style ID» Style indicator «Character Layout List» Layout codesAll Paragraph Type elements have a unique number, as expressed in the Type number. Normally, they are simply numbered from 01 00 00 00 upwards.The Style indicator is only present if this list is part of a «Text Layout Section» with styles. If so, it expresses a style on which this Paragraph Type is based. Anything not overruled here is taken from that style.[Text Layout Paragraph Element List][Text Layout Paragraph Element][Text Layout Paragraph Elements]Paragraph Element ListThis is a LListE. Each paragraph has an entry here. Data Description L Number of text characters in paragraph B Paragraph type, as in the «Text Layout Paragraph Type List» (**) «Paragraph Layout List»(*) (**) «Word Style ID» Style indicator (**) L Number of «Text Layout Inline List» elements for this paragraphEach paragraph of the «Text Section» is mentioned here in order.The number of text characters for a paragraph should concur with the number of characters as found in the «Text Section»The entries marked (**) are only present if the paragraph type is set to 00, meaning it is not based on a «Text Layout Paragraph Type».The Style indicator is only present if this list is part of a «Text Layout Section» with styles. If so, it expresses a style on which this Paragraph Element is based. Anything not overruled here is taken from that style.It is forbidden for a paragraph to have exactly one inline element.[Text Layout Inline List]Inline ListThis is a «LListE» of the following elements: Data Description B Type: 01 for objects, 00 for normal layout L Number of characters this layout element applies to «Character Layout List»(*) «ID» Always 51 00 00 10 ?(*) «Offset» Offset og «Embedded Object Section»(*) «Length» Object size horizontal(*) «Length» Object size vertical(*) Only for type 01 (objects)For each paragraph that has inline elements at all, it should have enough elements that each character in the paragraph belongs to exactly one element.For the layout list, not specified means back to the default for this paragraph, for italic, bold, super/subscript, strike-out and underline (and probably all other layouts too).  " Courier New ð"Times New Roman  " Courier Newð"Times New Roman=Eá{õ¨B#&®[²'''ÚdC*K =#5(&˜³ @"Arialð"Times New Roman ð"Times New Roman ð"Times New Roman± ð"Times New Roman ð"Times New Roman  " Courier New  " Courier Newc ð"Times New Roman ð"Times New Roman ð"Times New Roman ð"Times New Roman  " Courier New  " Courier New ð"Times New Roman  ð"Times New Roman ð"Times New Roman  " Courier New  " Courier New  " Courier New² ð"Times New Roman"Word.app C"yw‰ª 4< *Koptekst 3L *OpsomtekenO³•Swissÿÿÿÿh3r h3r ÐР efdefLdý‚.ÆA9B[Text Layout Section]Text Layout SectionThis section descibes how the text of a «Text Section» is formatted.There are a couple of levels on which the layout can be expressed. Most global are the styles. If available, they are described in the «Word Styles Section», and referenced here. But not each Text Layout Section uses styles.One down is the «Text Layout Paragraph Type List»; it contains a sort of unnamed styles. They are generated automatically.Each paragraph is mentioned in the «Text Layout Paragraph Element List». It either contains a reference to a «Text Layout Paragraph Type» or it contains the «Paragraph Layout Codes» and the number of «Character Layout Codes» for this paragraph.The whole list of «Character Layout Codes» is found at the end in the «Text Layout Inline List». These are the only way in which in-paragraph layouts can be expressed. Data Description W Section with (01 00) or without (00 00) style indicators «Text Layout Paragraph Type List» «Text Layout Paragraph Element List» «Text Layout Inline List»If the first word indicates that this is style-less section, the «Text Layout Paragraph Type List» and the «Text Layout Paragraph Element List» contain no style references.[Text Layout Paragraph Type List][Text Layout Paragraph Type][Text Layout Paragraph Types]Paragraph Type ListThese are a sort of unnamed styles. They are referenced in the «Text Layout Paragraph Element List». They are only used for paragraphs whose characters all have the same layout.This is a «BListE» of the following Paragraph Type elements: Data Description L Type number «Paragraph Layout List» Layout codes(*) «Word Style ID» Style indicator «Character Layout List» Layout codesAll Paragraph Type elements have a unique number, as expressed in the Type number. Normally, they are simply numbered from 01 00 00 00 upwards.The Style indicator is only present if this list is part of a «Text Layout Section» with styles. If so, it expresses a style on which this Paragraph Type is based. Anything not overruled here is taken from that style.[Text Layout Paragraph Element List][Text Layout Paragraph Element][Text Layout Paragraph Elements]Paragraph Element ListThis is a LListE. Each paragraph has an entry here. Data Description L Number of text characters in paragraph B Paragraph type, as in the «Text Layout Paragraph Type List» (**) «Paragraph Layout List»(*) (**) «Word Style ID» Style indicator (**) L Number of «Text Layout Inline List» elements for this paragraphEach paragraph of the «Text Section» is mentioned here in order.The number of text characters for a paragraph should concur with the number of characters as found in the «Text Section»The entries marked (**) are only present if the paragraph type is set to 00, meaning it is not based on a «Text Layout Paragraph Type».The Style indicator is only present if this list is part of a «Text Layout Section» with styles. If so, it expresses a style on which this Paragraph Element is based. Anything not overruled here is taken from that style.It is forbidden for a paragraph to have exactly one inline element.[Text Layout Inline List]Inline ListThis is a «LListE» of the following elements: Data Description B Type: 01 for objects, 00 for normal layout L Number of characters this layout element applies to «Character Layout List»(*) «ID» Always 51 00 00 10 ?(*) «Offset» Offset of «Embedded Object Section»(*) «Length» Object size horizontal(*) «Length» Object size vertical(*) Only for type 01 (objects)For each paragraph that has inline elements at all, it should have enough elements that each character in the paragraph belongs to exactly one element.For the layout list, not specified means back to the default for this paragraph, for italic, bold, super/subscript, strike-out and underline (and probably all other layouts too).The sizes are the size the object will be displayed with. If the object is displayed as an icon, for example, the size of the icon is put here; if it is cropped and/or scaled, the resulting size is found.The sizes found here are the same as those in the «Object Display Section».  " Courier New ð"Times New Roman  " Courier Newð"Times New Roman ð"Times New Roman ð"Times New Roman?Eá{õ¨B#&®[²'''ÚdC*K =#5(&˜³ÍL @"Arialð"Times New Roman ð"Times New Roman ð"Times New Roman± ð"Times New Roman ð"Times New Roman  " Courier New  " Courier Newc ð"Times New Roman ð"Times New Roman ð"Times New Roman ð"Times New Roman  " Courier New  " Courier New ð"Times New Roman  ð"Times New Roman ð"Times New Roman  " Courier New  " Courier New  " Courier NewK"Times New Roman"Word.app C"y‰

Legend:
Removed from v.113  
changed lines
  Added in v.195

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26