Vincent Hennebert
98aedc50ba
Added javadoc to createInlineParent method
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1090194 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
a581b1c788
Bugzilla 51032: Fixed regression due to oversight in refactoring text-decoration.
Invalid values properly reported as errors again, instead of causing a NPE.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1089559 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Vincent Hennebert
7c34c8daa8
Proper fix for Bugzilla 50987
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1088973 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Vincent Hennebert
ddea0884f8
Fixed regression introduced in rev. 1088079: also remove the element pointed to by restartPosition.getIndex()
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1088950 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
d13c4630ad
Bugzilla 50988: Fixed a NullPointerException in case a fo:character was removed due to white-space handling.
Thanks to Matthias Reischenbacher.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1088242 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
3b87eee32c
Bugzilla 50987: Fixed an issue where a link was added to the parent tree instead of the related structure element.
Thanks to Martin Koegler.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1088234 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
2cab35675d
Bugzilla 50986: Fixed an issue where invalid PDF page content was generated due to incorrect ET/EMC sequences.
Thanks to Martin Koegler.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1088231 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
01aed3db43
Minor code fixups
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1088079 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
8ba2be7b37
Properly fix the case of unresolved bookmarks for the intermediate format: bypass serialization of the bookmarks, instead of only its action.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1085944 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
8c443ea886
Fixed regression introduced by Bugzilla 50593: bookmarks pointing to a non-existing internal destination should just trigger a warning.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1085824 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
a4d39cf194
Bugzilla 50965: Fix regression in BlockContainerLayoutManager where margins were not reset after forced breaks.
Thanks to Martin Koegler.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1085820 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Vincent Hennebert
c0388acf51
Bugzilla #50763: Implemented non-standard behavior for basic-link areas, such that they take into account the heights of their descendants areas
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1085058 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Vincent Hennebert
823d0e968d
Bugfix: keep-together does not apply to fo:table-cell
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1084205 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Vincent Hennebert
1337f45867
Bugfix: keep-together on a table containing row-spanning cells was not honored
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1083863 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
c5e6d82c6c
toString() method for BFEntry.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1082940 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Vincent Hennebert
b8ac4207fe
Renamed Viewport into InlineViewport
Added {@inheritDoc} comments to make Checkstyle happy
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1081822 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Vincent Hennebert
5d664ac15d
Bugzilla #49910: clipping rectangle is wrong on side-regions
Partial fix that works only when the reference-orientation property is set to 0 or 180 on side-regions
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1081554 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Vincent Hennebert
038c3f30ba
Bugzilla #50196: padding-start ignored when table-header/footer is repeated.
Patch submitted by Matthias Reischenbacher
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1079969 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
dbe7807d37
b49835
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1079013 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
aba70fb7a1
Fix for a potential NPE when painting vector graphics with non-sRGB colors.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1074810 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
9170cb0854
Cleanup: catch more specific exception types to capture the intention better + other minor fixups.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1073518 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
3274df5c71
Cleanup unused field + dead/commented code
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1073477 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
0d7a18773e
Fix FindBugs warning...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1073468 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
1333b12d43
Better way to eliminate FindBugs warning?
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1073116 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
055520939d
Use chained append() rather than string concatenation (better practice)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1072097 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
32d5f37b49
Fixing checkstyle errors and hiding fingbugs errors
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1071912 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
954d14afba
Fix scaling bug manifesting with source resolutions other than 72dpi.
Generating PDF comments for SVG only when TRACE log level is active to avoid unnecessary output that normal people will never read.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1071311 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Vincent Hennebert
546ce6b34b
Reverted changes accidentally made to toString in rev. 1071048
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1071282 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
e5f2d508bc
Revert unnecessary change (no checkstyle issue in this file; method unused, so no need to introduce)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1071064 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
a6f01e3ff6
Checkstyle fix
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1071048 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
0648049cfe
Checkstyle fixes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1071037 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
e04d597c42
Fix incorrect type safety
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1069941 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
5fad0eeea1
Fixups, type safety...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1069917 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
4db1797fc7
Minor fixups
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1069915 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
5eeb7821e5
A few minor nits...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1069908 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
c7271d310f
Further cleanups: alignment of FlowLM.getNextKE() with pattern of the same method in BlockStackingLM.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1069496 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Vincent Hennebert
faefb6aa9d
Clean-ups, simplifications and improvements of AlignmentContext and ScaledBaselineTable
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1069474 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
b04f84c5de
Oops. Merging mistake.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1069451 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
1c11bf9813
Fix deprecation.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@1069423 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
b190db6910
Simplification as suggested by Simon.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@1069376 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
4f3ab56159
Fix IF test for color_1.xml.
The round-trip for the rgb() was not working with ColorUtil.isSameColor() as that checks deeper than just Color.equals().
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@1069366 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
f1269cc280
Further attempts at improving code readability, reduce some more duplication, and move logic to where it is appropriate
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1069154 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
5733a4c318
Further reduction of code duplication in/between getNextKnuthElements()
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1068674 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
1ec141adaf
Elimination of code duplication in getNextKnuthElements()
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1068509 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
4c739e3b77
Use BitmapImageUtil for converting images to bi-level images.
Allow to indirectly configure the dithering quality to be applied when converting images to bi-level images.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067881 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
970c98732f
Bugfix: toBufferedImage() didn't actually transfer the image data at all.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067879 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
514b49fd42
Bugfix: Avoid directly encoding if the sample model is not exactly right. For example, monochrome image generated by JAI (error-diffusion rasterization) use a non-packed sample model which caused badly encoded images.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067878 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
d9c453d8fb
Reverted previous commit; looks like it does require all related property classes to be committed... Better luck next week
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067783 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
910d93cd2e
Bugzilla 50703: Parametrize PropertyCache, switch to parameterless public constructor (+ corresponding update in MarkerAttribute)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067779 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
ce0956f913
Make URI extraction consistent with fo:external-graphic's src + remove unnecessary return
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067770 13f79535-47bb-0310-9956-ffa450edef68
13 years ago