DO NOT REPLY [Bug 45390] PDF Extensions - Prototype

2012-04-06 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45390

--- Comment #3 from Glenn Adams gl...@skynav.com 2012-04-07 01:42:16 UTC ---
resetting P2 open bugs to P3 pending further review

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 45390] PDF Extensions - Prototype

2012-04-06 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45390

Glenn Adams gl...@skynav.com changed:

   What|Removed |Added

   Priority|P2  |P3

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 45390] PDF Extensions - Prototype

2008-07-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45390


Bill Harrelson [EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 45390] PDF Extensions - Prototype

2008-07-20 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45390


Andreas L. Delmelle [EMAIL PROTECTED] changed:

   What|Removed |Added

  Attachment #22261|0   |1
is obsolete||




--- Comment #2 from Andreas L. Delmelle [EMAIL PROTECTED]  2008-07-20 
01:09:29 PST ---
Created an attachment (id=22286)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=22286)
updated prototype; some more experimenting...


The patch in attach disables processing of the extension in case PDF/A or PDF/X
conformance is active. Better safe than sorry. For users that really don't mind
the risk, we could still add a config option to override this.

On another note, adding a quick-and-dirty implementation for simple PDF strings
already allows adding some JavaScript as an OpenAction...

Most complete example I tested so far:

  pdf:dictionary type=catalog
xmlns:pdf=http://xmlgraphics.apache.org/fop/extensions/pdf;
pdf:name key=PageModeFullScreen/pdf:name
pdf:dictionary type=normal key=ViewerPreferences
  pdf:boolean key=HideToolbartrue/pdf:boolean
  pdf:boolean key=HideWindowUItrue/pdf:boolean
  pdf:boolean key=FitWindowtrue/pdf:boolean
  pdf:boolean key=CenterWindowtrue/pdf:boolean
  pdf:name key=NonFullScreenPageModeUseThumbs/pdf:name
  pdf:name key=PrintScalingNone/pdf:name
/pdf:dictionary
pdf:dictionary type=normal key=OpenAction
  pdf:name key=TypeAction/pdf:name
  pdf:name key=SJavaScript/pdf:name
  pdf:string key=JSthis.print(false,0,this.numPages-1);/pdf:string
/pdf:dictionary
  /pdf:dictionary

The JavaScript was borrowed from Bugzilla #12610, which also attempted to
address this.

I'd say it's about time to look into adding some basic validation, shaving off
the rough edges (!!serialization!!), and adding some documentation and
testcases.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 45390] PDF Extensions - Prototype

2008-07-15 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45390


Andreas L. Delmelle [EMAIL PROTECTED] changed:

   What|Removed |Added

  Attachment #22249|0   |1
is obsolete||




--- Comment #1 from Andreas L. Delmelle [EMAIL PROTECTED]  2008-07-15 
14:29:23 PST ---
Created an attachment (id=22261)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=22261)
Updated patch


Added minimal support for subdictionaries and boolean entries, so the following
now becomes possible:

  pdf:dictionary type=catalog
xmlns:pdf=http://xmlgraphics.apache.org/fop/extensions/pdf;
pdf:entry name=PageMode type=nameFullScreen/pdf:entry
pdf:dictionary type=normal name=ViewerPreferences
  pdf:entry name=HideToolbar type=booleantrue/pdf:entry
  pdf:entry name=HideWindowUI type=booleantrue/pdf:entry
  pdf:entry name=FitWindow type=booleantrue/pdf:entry
  pdf:entry name=CenterWindow type=booleantrue/pdf:entry
  pdf:entry name=NonFullScreenPageMode type=nameUseThumbs/pdf:entry
/pdf:dictionary
  /pdf:dictionary


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.