X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fdev%2Fspv-file-format.texi;h=299ee77fc850f19924e1be20cd26f508d8d98ab7;hb=74f7e168fc9a87ff45730452df3627636c5e2f77;hp=80a434feb195770e916c257de3a98eb08e10d636;hpb=1970b7374e69864c27b7ac9c30495d1e0e6a26ad;p=pspp diff --git a/doc/dev/spv-file-format.texi b/doc/dev/spv-file-format.texi index 80a434feb1..299ee77fc8 100644 --- a/doc/dev/spv-file-format.texi +++ b/doc/dev/spv-file-format.texi @@ -478,6 +478,14 @@ Alignment of text within the container. Observed with nested The width of the container, e.g.@: @code{1097px}. @end defvr +All of the elements that nest inside @code{container} (except the +@code{label}) have the following optional attribute. + +@defvr {Attribute} @code{commandName} +As on the @code{heading} element. The corpus contains one example +of where @code{commandName} is present but set to the empty string. +@end defvr + @node SPV Structure text Element (Inside @code{container}) @subsection The @code{text} Element (Inside @code{container}) @@ -495,14 +503,13 @@ is a different @code{text} element that is nested inside a This element has the following attributes. -@defvr {Attribute} @code{type} -The semantics of the text. +@defvr {Attribute} @code{commandName} +@xref{SPV Structure container Element}. For output not specific to a +command, this is simply @code{log}. @end defvr -@defvr {Attribute} @code{commandName} -As on the @code{heading} element. For output not specific to a -command, this is simply @code{log}. The corpus contains one example -of where @code{commandName} is present but set to the empty string. +@defvr {Attribute} @code{type} +The semantics of the text. @end defvr @defvr {Attribute} @code{creator-version} @@ -604,7 +611,7 @@ tableStructure => path? dataPath csvPath? This element has the following attributes. @defvr {Attribute} @code{commandName} -As on the @code{heading} element. +@xref{SPV Structure container Element}. @end defvr @defvr {Attribute} @code{type} @@ -702,9 +709,16 @@ name Zip members with @file{.scf} extension. @subsection The @code{object} and @code{image} Elements @example -object :type[object_type]=(unknown)? :uri => EMPTY +object + :commandName? + :type[object_type]=(unknown)? + :uri +=> EMPTY -image :VDPId :commandName => dataPath +image + :commandName? + :VDPId +=> dataPath @end example These two elements represent an image in PNG format. They are @@ -1432,7 +1446,7 @@ X0 => byte*14 Y1 Y2 Y1 => string[command] string[command-local] string[language] string[charset] string[locale] - bool bool bool bool + bool[x10] bool[include-leading-zero] bool[x12] bool[x13] Y0 Y2 => CustomCurrency byte[missing] bool[x17] @end example @@ -1444,10 +1458,15 @@ Tests.'' @code{command-local} is the procedure's name, translated into the output language; it is often empty and, when it is not, sometimes the same as @code{command}. +@code{include-leading-zero} is the @code{LEADZERO} setting for the +table, where false is @code{OFF} (the default) and true is @code{ON}. +@xref{SET LEADZERO,,, pspp, PSPP}. + @code{missing} is the character used to indicate that a cell contains a missing value. It is always observed as @samp{.}. -A writer may safely use false for @code{x17}. +A writer may safely use false for @code{x10} and @code{x17} and true +for @code{x12} and @code{x13}. @subsubheading X1 @@ -1528,7 +1547,7 @@ X3 => double[small] 01 (string[dataset] string[datafile] i0 int32[date] i0)? Y2 - (int32[x22] i0)? + (int32[x22] i0 01?)? @end example @code{small} is a small real number. In the corpus, it overwhelmingly