X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=spv-file-format.texi;h=09e620e9ae31edba4eeb2066ab6dc8bcaddc7687;hb=9f2d5103848c48c3c49b5c0d11f1b2506ab5487e;hp=50a94141b924452dc0ee9bd255d6c4d2acdc6d35;hpb=55514d1999dd218a25028cb8bd6a7f608b52c2ef;p=pspp diff --git a/spv-file-format.texi b/spv-file-format.texi index 50a94141b9..09e620e9ae 100644 --- a/spv-file-format.texi +++ b/spv-file-format.texi @@ -1264,10 +1264,23 @@ ValueMod @result{} v3(count(FormatString Style ValueModUnknown)) @math{|} 31 int[@t{n-refs}] int16*[@t{n-refs}] Format @math{|} 58 -Style @result{} 58 @math{|} 31 01? 00? 00? 00? 01 string[@t{fgcolor}] string[@t{bgcolor}] string[@t{typeface}] byte[@t{size}] + +Style @result{} + 58 + @math{|} 31 + bool[@t{bold}] bool[@t{italic}] bool[@t{underline}] bool + string[@t{fgcolor}] string[@t{bgcolor}] + string[@t{typeface}] byte[@t{size}] + Format @result{} 00 00 count(FormatString Style 58) + FormatString @result{} count((i0 (58 @math{|} 31 string))?) -ValueModUnknown @result{} 58 @math{|} 31 i0 i0 i0 i0 01 00 (01 @math{|} 02 @math{|} 08) 00 08 00 0a 00) + +ValueModUnknown @result{} + 58 + @math{|} 31 int[@t{halign}] int[@t{valign}] double[@t{offset}] + int16[@t{left-margin}] int16[@t{right-margin}] + int16[@t{top-margin}] int16[@t{bottom-margin}] @end format @end cartouche @@ -1290,6 +1303,17 @@ Format is nested. The Style, if present, changes the style for this individual Value. The @code{size} is a font size in units of 1/96 inch. +@code{halign} is 0 for center, 2 for left, 4 for right, 6 for decimal, +0xffffffad for mixed. For decimal alignment, @code{offset} is the +decimal point's offset from the right side of the cell, in units of +1/72 inch. + +@code{valign} specifies vertical alignment: 0 for center, 1 for top, 3 +for bottom. + +@code{left-margin}, @code{right-margin}, @code{top-margin}, and +@code{bottom-margin} are in units of 1/72 inch. + @node SPV Legacy Detail Member Binary Format @section Legacy Detail Member Binary Format