DO NOT REPLY [Bug 51385] [PATCH] Configurable PDF version

2012-03-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51385

Mehdi Houshmand  changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

-- 
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 51385] [PATCH] Configurable PDF version

2012-03-19 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51385

Vincent Hennebert  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #5 from Vincent Hennebert  2012-03-19 
16:32:34 UTC ---
I needed this patch for my work on PDF Object Streams (in order to make the
compression of the structure tree optional), so I undertook to apply it:
http://svn.apache.org/viewvc?rev=1302518&view=rev

I updated the test cases to JUnit 4 and made a few other modifications and
clean-ups.

There is something I'm not too sure about regarding the dynamic configuration:
If no version element is specified in the config file, FOP will produce 1.4 by
default and increase as necessary to accommodate incoming PDF images of higher
version. If any version is specified in the config file, then that version will
not be allowed to increase.

On the other hand, if I want to enable 1.5-specific features like the upcoming
object streams, I would want to set the version to 1.5 and still expect it to
increase as necessary to handle PDF images.

That said, we may also want this parameter to mean that a certain renderer,
with a certain feature set, must be selected, if for example we need to
maintain backwards compatibility with downstream products. So in that case we
/would/ want the version to be fixed.

All that doesn't really matter as long as we don't use the PDF Images plug-in.
So, in order to allow things to still change in that area, I've removed any
mention to dynamic configuration and the plug-in.

Thanks,
Vincent

-- 
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 51385] [PATCH] Configurable PDF version

2011-10-19 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51385

Willi  changed:

   What|Removed |Added

 Blocks||52060

-- 
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 51385] [PATCH] Configurable PDF version

2011-08-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51385

Mehdi Houshmand  changed:

   What|Removed |Added

  Attachment #27253|0   |1
is obsolete||

--- Comment #4 from Mehdi Houshmand  2011-08-03 08:47:58 UTC 
---
Created attachment 27344
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27344
Dynamic PDF versioning support

Bugfix:
PDFs < v1.3 threw an IllegalArgumentException if dynamically versioned.

-- 
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 51385] [PATCH] Configurable PDF version

2011-07-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51385

Mehdi Houshmand  changed:

   What|Removed |Added

  Attachment #27164|0   |1
is obsolete||

--- Comment #3 from Mehdi Houshmand  2011-07-05 08:00:27 UTC 
---
Created attachment 27253
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27253
Dynamic PDF versioning support

This version allows dynamic versioning such the "" tag enforces a
static PDF version (in the header), however, the lack of said tag will use the
PDF in the PDF image. This means if you insert a PDF version > 1.4, the version
of the PDF created will match it.

If neither the "" tag is used, nor a PDF-image then the PDF version
defaults to 1.4 as before.

-- 
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 51385] [PATCH] Configurable PDF version

2011-06-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51385

Mehdi Houshmand  changed:

   What|Removed |Added

  Attachment #27163|0   |1
is obsolete||

--- Comment #2 from Mehdi Houshmand  2011-06-16 16:03:16 UTC 
---
Created attachment 27164
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27164
corrected some mistakes

Corrected a few mistakes:
InvalidParameterException --> IllegalArgumentException
javadoc in PDFRenderingUtil
Added VersionTestCase to the TestSuite

-- 
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 51385] [PATCH] Configurable PDF version

2011-06-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51385

--- Comment #1 from Glenn Adams  2011-06-16 14:05:41 UTC ---
See also my implementation of such an extension as well as additional features
as described in:

http://marc.info/?l=fop-user&m=130017885816296&w=2

Regards,
Glenn Adams

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