% Check for some destination types

%\pdfobjcompresslevel=0
\pdfcatalog{/PageMode /UseOutlines}

\pdfoutline goto name{fit} {fit}
\pdfoutline goto name{fith} {fith}
\pdfoutline goto name{fitv} {fitv}
\pdfoutline goto name{fitr} {fitr}
\pdfoutline goto name{fitb} {fitb}
\pdfoutline goto name{fitbh} {fitbh}
\pdfoutline goto name{fitbv} {fitbv}
\pdfoutline goto name{xyz} {xyz}
\pdfoutline goto name{xyz zoom 1000} {xyz zoom 1000}
\pdfoutline goto name{xyz zoom 500} {xyz zoom 500}
\pdfoutline goto name{xyz zoom 2000} {xyz zoom 2000}

\pdfdest name{fit} fit
fit

\vfill
\eject

\pdfdest name{fith} fith
fith

\vfill
\eject

\pdfdest name{fitv} fitv
fitv

\vfill
\eject

\pdfdest name{fitr} fitr
fitr

\vfill
\eject

\pdfdest name{fitb} fitb
fitb

\vfill
\eject

\pdfdest name{fitbh} fitbh
fitbh

\vfill
\eject

\pdfdest name{fitbv} fitbv
fitbv

\vfill
\eject

\pdfdest name{xyz} xyz
xyz

\vfill
\eject

\pdfdest name{xyz zoom 1000} xyz zoom 1000
xyz zoom 1000

\vfill
\eject

\pdfdest name{xyz zoom 500} xyz zoom 500
xyz zoom 500

\vfill
\eject

\pdfdest name{xyz zoom 2000} xyz zoom 2000
xyz zoom 2000

\vfill
\end
