summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/hxetex.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-08-23 22:38:37 +0000
committerKarl Berry <karl@freefriends.org>2012-08-23 22:38:37 +0000
commitc74d9648abb6877ccf4c69fdd39bb8d3763574bf (patch)
treeddd4dd23684c44aa6a843a8e94264bc974b63e46 /Master/texmf-dist/tex/latex/hyperref/hxetex.def
parentf6dd9957662159e2371ea2a289201795b36f6e87 (diff)
hyperref (23aug12)
git-svn-id: svn://tug.org/texlive/trunk@27508 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hxetex.def')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hxetex.def17
1 files changed, 13 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hxetex.def b/Master/texmf-dist/tex/latex/hyperref/hxetex.def
index 92fcede83d9..f9433a88b27 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hxetex.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hxetex.def
@@ -29,7 +29,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hxetex.def}
- [2012/08/18 v6.83b %
+ [2012/08/21 v6.83c %
Hyperref driver for XeTeX]
\Hy@VersionCheck{hxetex.def}
\HyPsd@LoadUnicode
@@ -756,6 +756,7 @@
\def\HyField@TheAnnotCount{%
\the\HyField@AnnotCount
}
+\def\Fld@pageobjref{/P @thispage}%
\def\@TextField[#1]#2{% parameters, label
\def\Fld@name{#2}%
\let\Fld@default\ltx@empty
@@ -1082,8 +1083,9 @@
}%
\global\let\Hy@FormObjects\relax
}
+\providecommand*{\Fld@pageobjref}{}
\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname pdfescapestring\endcsname\relax
+\expandafter\ifx\csname pdf@escapestring\endcsname\relax
\let\Hy@escapestring\@firstofone
\def\Hy@escapeform#1{%
\ifHy@pdfescapeform
@@ -1212,6 +1214,7 @@
\def\PDFForm@Check{%
/Subtype/Widget%
\Fld@annotflags
+ \Fld@pageobjref
\Fld@annotnames
/FT/Btn%
\Fld@flags
@@ -1235,7 +1238,7 @@
/DA(/ZaDb \strip@pt\Fld@charsize\space Tf%
\ifx\Fld@color\@empty\else\space\Fld@color\fi)%
/H/P%
- \ifFld@checked /V/Yes\else /V/Off\fi
+ \ifFld@checked /V/Yes/AS/Yes\else /V/Off/AS/Off\fi
\Fld@additionalactions
}
\ifHy@pdfa
@@ -1243,6 +1246,7 @@
\def\PDFForm@Push{%
/Subtype/Widget%
\Fld@annotflags
+ \Fld@pageobjref
\Fld@annotnames
/FT/Btn%
\Fld@flags
@@ -1270,6 +1274,7 @@
\def\PDFForm@List{%
/Subtype/Widget%
\Fld@annotflags
+ \Fld@pageobjref
\Fld@annotnames
/FT/Ch%
\Fld@flags
@@ -1303,6 +1308,7 @@
\def\PDFForm@Radio{%
/Subtype/Widget%
\Fld@annotflags
+ \Fld@pageobjref
\Fld@annotnames
/FT/Btn%
\Fld@flags
@@ -1321,7 +1327,7 @@
\else
/BG[\Fld@bcolor]%
\fi
- /CA(\Fld@radiosymbol)%
+ /CA(\Hy@escapestring{\Fld@radiosymbol})%
>>%
/DA(/ZaDb \strip@pt\Fld@charsize\space Tf%
\ifx\Fld@color\@empty\else\space\Fld@color\fi)%
@@ -1337,6 +1343,7 @@
\def\PDFForm@Text{%
/Subtype/Widget%
\Fld@annotflags
+ \Fld@pageobjref
\Fld@annotnames
/FT/Tx%
\Fld@flags
@@ -1372,6 +1379,7 @@
\def\PDFForm@Submit{%
/Subtype/Widget%
\Fld@annotflags
+ \Fld@pageobjref
\Fld@annotnames
/FT/Btn%
\Fld@flags
@@ -1407,6 +1415,7 @@
\def\PDFForm@Reset{%
/Subtype/Widget%
\Fld@annotflags
+ \Fld@pageobjref
\Fld@annotnames
/FT/Btn%
\Fld@flags