From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67825 Path: news.gmane.org!not-for-mail From: "Reviczky, Adam" Newsgroups: gmane.comp.tex.context Subject: Re: Widget and mandatory Rect field? Date: Mon, 18 Apr 2011 10:02:39 +0100 Message-ID: <7B4626C28B06A7418E938BF73D6DEE18F9F571EAC1@KCL-MAIL05.kclad.ds.kcl.ac.uk> References: <7B4626C28B06A7418E938BF73D6DEE18F9F571EABB@KCL-MAIL05.kclad.ds.kcl.ac.uk>, <4DABF7EF.1010200@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1303117433 23293 80.91.229.12 (18 Apr 2011 09:03:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Apr 2011 09:03:53 +0000 (UTC) To: Hans Hagen , mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 18 11:03:48 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QBkN1-0000yu-Kr for gctc-ntg-context-518@m.gmane.org; Mon, 18 Apr 2011 11:03:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2D27FCAC07; Mon, 18 Apr 2011 11:03:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qZ8Ve9uIZLu2; Mon, 18 Apr 2011 11:03:42 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0D1B0CABF1; Mon, 18 Apr 2011 11:03:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DA1BACABF1 for ; Mon, 18 Apr 2011 11:03:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id enmd08jyK4QF for ; Mon, 18 Apr 2011 11:03:23 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id DFA57CAA6F for ; Mon, 18 Apr 2011 11:03:23 +0200 (CEST) Original-Received: from mail82.messagelabs.com (mail82.messagelabs.com [195.245.231.67]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p3I93MrY019295 for ; Mon, 18 Apr 2011 11:03:23 +0200 X-VirusChecked: Checked X-Env-Sender: adam.reviczky@kcl.ac.uk X-Msg-Ref: server-4.tower-82.messagelabs.com!1303117402!51231659!1 X-StarScan-Version: 6.2.9; banners=-,-,- X-Originating-IP: [137.73.2.214] Original-Received: (qmail 30862 invoked from network); 18 Apr 2011 09:03:22 -0000 Original-Received: from ob.test.kcl.ac.uk (HELO outbound.kcl.ac.uk) (137.73.2.214) by server-4.tower-82.messagelabs.com with DHE-RSA-AES256-SHA encrypted SMTP; 18 Apr 2011 09:03:22 -0000 Original-Received: from ml-relay1.kcl.ac.uk ([137.73.2.230] helo=hazel) by outbound.kcl.ac.uk outbound with esmtp (TLSv1:DHE-RSA-AES256-SHA:256) id 1QBkM2-0006Ya-2s; Mon, 18 Apr 2011 10:02:46 +0100 Original-Received: from [194.83.7.239] (helo=KCL-ETS03.ds.kcl.ac.uk) by hazel mlmx with esmtp id 1QBkM1-0006VU-SU; Mon, 18 Apr 2011 10:02:45 +0100 Original-Received: from KCL-HTS03.kclad.ds.kcl.ac.uk (10.12.7.210) by KCL-ETS03.ds.kcl.ac.uk (10.12.4.22) with Microsoft SMTP Server (TLS) id 8.3.83.0; Mon, 18 Apr 2011 10:02:40 +0100 Original-Received: from KCL-MAIL05.kclad.ds.kcl.ac.uk ([193.63.72.94]) by KCL-HTS03.kclad.ds.kcl.ac.uk ([10.12.7.210]) with mapi; Mon, 18 Apr 2011 10:02:39 +0100 Thread-Topic: [NTG-context] Widget and mandatory Rect field? Thread-Index: Acv9o7OPa17UijN0T4u/E68l9/hdRAAAmk0p In-Reply-To: <4DABF7EF.1010200@wxs.nl> Accept-Language: en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=195.245.231.67; country=NL; region=07; city=Amsterdam; latitude=52.3500; longitude=4.9167; http://maps.google.com/maps?q=52.3500,4.9167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05EwV3mUe - 324ea4e320bb - 20110418 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.216 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:67825 Archived-At: > 17 0 obj > << > /Type /Annot > /Q 0 /Subtype /Widget /Parent 16 0 R /DA (/rmtf 11.9552 Tf 1.1955 Ts 0 0 > 0 rg 0 0 0 RG) /MK << /CA () >> /F 4 > /Rect [0 14.4275 59.7758 26.3827] > >> > endobj > 18 0 obj > << > /Type /Annot > /Q 0 /Subtype /Widget /Parent 16 0 R /DA (/rmtf 11.9552 Tf 1.1955 Ts 0 0 > 0 rg 0 0 0 RG) /MK << /CA () >> /F 4 > /Rect [0 0 59.7758 11.9552] > >> > endobj > > which look like Annot's with Rect's to me. There is a parent field I was puzzled by this too, but apparently its the parent where the error message is thrown out (rightly or falsely). > Are you saying that Evince does forms (and Javascript as it's > associated) or is it checking something that is not interpreted anyway? > Officially a viewer should ignore annots that it cannot handle. Evince does forms by now, at least to some extent, without JavaScript of course. I've tested this: http://help.adobe.com/en_US/Acrobat/9.0/Samples/interactiveform_enabled.pdf which gives me a "Unimplemented annotation: POPPLER_ANNOT_LINE, please post a bug report in Evince bugzilla (http://bugzilla.gnome.org) with a testcase." So there must be some checking. > Anyhow, in context we've always had such widgets implemented using a > parent / child model and it's the child that matters for rendering (and > it definitely has a Rect as it's an Annot) while the parent is just a > dictionary and not an annot (one can argue that the Subtype key is not > needed there but - at least in the past - it had to be there.) Sounds fair enough, and I'm not complaining :). > So, unless I'm sure what (and if something) is wrong I'll do nothing. > (Acrobat preflights the document all right and some widgets types are > too instable to mess with too much anyway.) That's fine, and as long as its working I don't really care. > Hans Cheers Adam ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________