Workarounds.Open the SPV file in SPSS 24. Or get the SAV file then use the syntax.
The PDF has the "Values" column left-justified.
The Regular HTML export works,
The WebPage HTML works very well.
Title 'XYZ Codebook to help in creating the new data gathering and analysis'.
DATASET ACTIVATE DataSet1.
SORT VARIABLES BY ATTRIBUTE Var.Grouping.
CODEBOOK Type_Bath
/VARINFO LABEL TYPE MEASURE ROLE ATTRIBUTES VALUELABELS MISSING
/STATISTICS NONE.
OUTPUT MODIFY
/SELECT TABLES
/TABLECELLS SELECT=["Value"]
SELECTDIMENSION=COLUMNS
COLUMNWIDTH =POINTS(5)
APPLYTO=COLUMNDATA.
* Export Output.
OUTPUT EXPORT
/CONTENTS EXPORT=VISIBLE LAYERS=PRINTSETTING MODELVIEWS=PRINTSETTING
/PDF DOCUMENTFILE='C:\Users\Art\Desktop\Codebook24.pdf'
EMBEDBOOKMARKS=YES EMBEDFONTS=YES.
* Export Output.
OUTPUT EXPORT
/CONTENTS EXPORT=VISIBLE LAYERS=PRINTSETTING MODELVIEWS=PRINTSETTING
/HTML DOCUMENTFILE='C:\Users\Art\Desktop\Codebook24.htm'
NOTESCAPTIONS=YES INTERACTLAYERS=NO STYLING=NO IMAGEFORMAT=JPG
/JPG PERCENTSIZE=100 GRAYSCALE=NO.
OUTPUT EXPORT NAME=Document1
/CONTENTS EXPORT=ALL LAYERS=ALL MODELVIEWS=ALL
/REPORT DOCUMENTFILE='C:\Users\Art\Desktop\codebook24Web.htm'
TITLE=FILENAME FORMAT=HTML RESTYLE=YES.
Art Kendall
Social Research Consultants