X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fdev%2Fspv-file-format.texi;h=523eb556e9e61538120f9cd33d7fb4974e6b7642;hb=c27eccc1e3175628aa1be0de9caed313be1aee42;hp=0cf15f94d9934d8da08f89f595b27ee285442985;hpb=fb3464df9f4cf3926cfa6aea00a5010d78ce0d70;p=pspp diff --git a/doc/dev/spv-file-format.texi b/doc/dev/spv-file-format.texi index 0cf15f94d9..523eb556e9 100644 --- a/doc/dev/spv-file-format.texi +++ b/doc/dev/spv-file-format.texi @@ -1051,8 +1051,8 @@ Header => bool[rotate-outer-row-labels] bool[x2] int32[x3] - int32[min-col-width] int32[max-col-width] - int32[min-row-width] int32[max-row-width] + int32[min-col-heading-width] int32[max-col-heading-width] + int32[min-row-heading-width] int32[max-row-heading-width] int64[table-id] @end example @@ -1069,12 +1069,37 @@ If @code{rotate-outer-row-labels} is 1, then row labels farthest from the data are rotated 90° counterclockwise; otherwise, they are shown in the normal way. -@code{min-col-width} is the minimum width that a column will be -assigned automatically. @code{max-col-width} is the maximum width -that a column will be assigned to accommodate a long column label. -@code{min-row-width} and @code{max-row-width} are a similar range for -the width of row labels. All of these measurements are in 1/96 inch -units (called a ``device independent pixel'' unit in Windows). +@code{min-col-heading-width}, @code{max-col-heading-width}, @code{min-row-heading-width}, and +@code{max-row-heading-width} are measurements in 1/96 inch units (called +``device independent pixel'' units in Windows) whose values influence +column widths. For the purpose of interpreting these values, a table +is divided into the three regions shown below: + +@example ++------------------+-------------------------------------------------+ +| | column headings | +| +-------------------------------------------------+ +| corner | | +| and | | +| row headings | data | +| | | +| | | ++------------------+-------------------------------------------------+ +@end example + +@code{min-col-heading-width} and @code{max-col-heading-width} apply to the columns in +the column headings region. @code{min-col-heading-width} is the minimum width +that any of these columns will be given automatically. In addition, +@code{max-col-heading-width} is the maximum width that a column will be +assigned to accommodate a long label in the column headings cells. +These columns will still be made wider to accommodate wide data values +in the data region. + +@code{min-row-heading-width} is the minimum width that a column in the corner +and row headings region will be given automatically. +@code{max-col-heading-width} is the maximum width that a column in this region +will be assigned to accomodate a long label. This region doesn't +include data, so data values don't affect column widths. @code{table-id} is a binary version of the @code{tableId} attribute in the structure member that refers to the detail member. For example,