<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/dynamicjasper/patches/" rel="alternate"/><link href="https://sourceforge.net/p/dynamicjasper/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/dynamicjasper/patches/</id><updated>2011-01-24T20:05:24Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>Typo in method setBandsFinalHeight of AbstractLayoutManager</title><link href="https://sourceforge.net/p/dynamicjasper/patches/12/" rel="alternate"/><published>2011-01-24T20:05:24Z</published><updated>2011-01-24T20:05:24Z</updated><author><name>mdaloia</name><uri>https://sourceforge.net/u/mdaloia/</uri></author><id>https://sourceforge.netccc023a82056e25cca1229575c85467ea59db717</id><summary type="html">There is a typo inside the method setBandsFinalHeight\(\) of AbstractLayoutManager.
When the method calculates the final band height through the footer instead of use isFitFooterHeightToContent\(\) it is using isFitHeaderHeightToContent\(\).

This affects for example GroupBuilder.setFooterHeight\(Integer height,boolean fitHeightToConent\) when you set fitHeightToConent to false it is ignored.

This bug exists in the trunk \(currently revision 909\).
</summary></entry><entry><title>Allow template files to be retrieved over http/https</title><link href="https://sourceforge.net/p/dynamicjasper/patches/11/" rel="alternate"/><published>2010-12-03T21:24:18Z</published><updated>2010-12-03T21:24:18Z</updated><author><name>enuite</name><uri>https://sourceforge.net/u/enuite/</uri></author><id>https://sourceforge.net46559dd2d5b401dfa1dd5db15865238548efe23a</id><summary type="html">This is a very basic change to allow template files to be retrieved over http/https. Additional code could be written to abstract this a bit and provide better error handling.</summary></entry><entry><title>Style.setJRBaseStyleProperties(..)</title><link href="https://sourceforge.net/p/dynamicjasper/patches/10/" rel="alternate"/><published>2009-07-07T10:11:06Z</published><updated>2009-07-07T10:11:06Z</updated><author><name>ricardo</name><uri>https://sourceforge.net/u/ricardo71/</uri></author><id>https://sourceforge.net8848beeaa0db1a4be994aab29986e5ec9a563624</id><summary type="html">Hi

In method Style.setJRBaseStyleProperties\(..\) are attributes twice setted to transformedStyle object

Ricardo</summary></entry><entry><title>Defining custom formatters for property columns</title><link href="https://sourceforge.net/p/dynamicjasper/patches/9/" rel="alternate"/><published>2009-03-11T19:34:35Z</published><updated>2009-03-11T19:34:35Z</updated><author><name>Fabio Borges</name><uri>https://sourceforge.net/u/fabiodsb/</uri></author><id>https://sourceforge.net13e642b76633067ab4fc1274440ed56d49634925</id><summary type="html">By applying the attached patch it will be possible to pass a java.text.Format subclass instance as a parameter to Jasper, so we get custom formatting for property columns.
We've added the setFormatParameter\(\) method to ColumnBuilder and changed the way expressions are built for property columns.
To get custom formatting, this is what you would have to do:

1\) Pass the java.text.Format subclass instance as parameter to the report.
2\) While building the column for which you want custom formatting, call setFormatParameter\( paramName \) on ColumnBuilder, where paramName is the same parameter name used on step 1.
</summary></entry><entry><title>Styles for headers/footers</title><link href="https://sourceforge.net/p/dynamicjasper/patches/8/" rel="alternate"/><published>2009-03-11T18:57:50Z</published><updated>2009-03-11T18:57:50Z</updated><author><name>Andrew M</name><uri>https://sourceforge.net/u/bucklane/</uri></author><id>https://sourceforge.net8ec8596a314f61d3bd38eb384fca9d2c4b7559eb</id><summary type="html">This adds setStyle\(\) to AutoText so headers and footers can look nice.

Not a lot of code, but I did change the low-level helper functions so they can get to the report's style map.  

The helper functions are not called anywhere else, but they are public, so it might be an issue.</summary></entry><entry><title>Total for Group with title</title><link href="https://sourceforge.net/p/dynamicjasper/patches/7/" rel="alternate"/><published>2008-12-03T18:46:02Z</published><updated>2008-12-03T18:46:02Z</updated><author><name>Daniela Akagui</name><uri>https://sourceforge.net/u/dakagui/</uri></author><id>https://sourceforge.neta8e48d3c7ca4a074d1c59bbce449817b5c93c082</id><summary type="html">
The attached patch allows to specify a group footer that contains totals for the group. You can print the number of lines for the group, for example, or the sum of a specific column in the format:

&amp;lt;Group footer title&amp;gt;:   &amp;lt;total value&amp;gt;

Currently, Dynamic Jasper allows to print totals of columns by group, but the totals are always printed at the bottom of the totalized column. There are situations where this layout does not make sense. For example, if you want to print the number of lines in the group, a better layout would be:

"Number of elements: 50"

This path solves this problem by adding a new method in GroupBuilder for creating the totals for the group.

Method:

setGroupTotal\(String totalTitle,String totalOperation,Style style,AbstractColumn column\)

Now you can specify the title, operation and style for the group total.

See attached an example of a report with this feature.

Please, see if this patch could be added to the trunk. 



</summary></entry><entry><title>ENH Font clone &amp; derive</title><link href="https://sourceforge.net/p/dynamicjasper/patches/6/" rel="alternate"/><published>2008-11-30T02:00:58Z</published><updated>2008-11-30T02:00:58Z</updated><author><name>PeS17</name><uri>https://sourceforge.net/u/pes17/</uri></author><id>https://sourceforge.net5685906c80698947cf9d7c9678fc8586f9c9f814</id><summary type="html">Hi again. While I was working I also made some enhancements in Font class - added method clone\(\) and derive. This should help when building up styles. Fromally if you had code:

Style defaultStyle = new Style\("default"\);

Style validStyle = Style.createBlankStyle\("validStyle", "default"\);
validStyle.getFont\(\).setBold\(true\);

It changed the font on default style as well, workaround was to create new Font manually.

Now that should get easier with possibility to clone FontS or deriveFont\(bool bold, bool italics, bool underline\):
validStyle.setFont\(defaultStyle.deriveFont\(true, false, false\)\);
</summary></entry><entry><title>Fields map parameter in CustomExpression patch</title><link href="https://sourceforge.net/p/dynamicjasper/patches/5/" rel="alternate"/><published>2008-11-29T02:52:26Z</published><updated>2008-11-29T02:52:26Z</updated><author><name>PeS17</name><uri>https://sourceforge.net/u/pes17/</uri></author><id>https://sourceforge.net2e1efc5910edfc961b67031a61512c09c4f9ac24</id><summary type="html">Please see attached patch. It makes sure that all fields are passed to evaluate method of CustomExpression interface, i.e. even those that are just registered not visible as columns.

Currently, only fields that are displayed \(columns\) are passed to this method in fields map. This makes it impossible to make custom rendering or conditional styles based on row values that are not printed/displayed.

I hope this helps others as well.

Cheers,
PeS

P.S: The patch is against current SVN version as of today, which is 620.

P.P.S. the diff might seem bigger than neccessary because of tabs vs spaces in former code. I tried to reformat that to size 4 tabs as that is what the project seems to use.
</summary></entry><entry><title>Support for template via InputStream</title><link href="https://sourceforge.net/p/dynamicjasper/patches/4/" rel="alternate"/><published>2008-09-05T11:54:17Z</published><updated>2008-09-05T11:54:17Z</updated><author><name>yaro</name><uri>https://sourceforge.net/u/userid-1596711/</uri></author><id>https://sourceforge.net886723cc062dc7844a2414adf08f12893069af7b</id><summary type="html">This patch adds support for loading template via InputStream. Also splits template import\* settings into separate methods, instead of having one with all parameters.</summary></entry><entry><title>support for dataset &amp; query copying</title><link href="https://sourceforge.net/p/dynamicjasper/patches/3/" rel="alternate"/><published>2008-08-04T08:46:35Z</published><updated>2008-08-04T08:46:35Z</updated><author><name>yaro</name><uri>https://sourceforge.net/u/userid-1596711/</uri></author><id>https://sourceforge.net073bc5994f4c2c0ea304cbaa8523ae2a8f99d0ed</id><summary type="html">I'm sending a patch which enables Dynamic Report to use datasets and query from template.</summary></entry></feed>