Skip to content

Instantly share code, notes, and snippets.

@salvatoretrimarchi
Last active January 3, 2018 02:15
Show Gist options
  • Save salvatoretrimarchi/a06cf360a2586fb4c2836d5841360a53 to your computer and use it in GitHub Desktop.
Save salvatoretrimarchi/a06cf360a2586fb4c2836d5841360a53 to your computer and use it in GitHub Desktop.
public Map<String, Object> getReportParameters()
{
final Map parameters = new HashMap<String, Object>();
parameters.put("Report Title", "Simple Embedded Report Example with Parameters");
parameters.put("Col Headers BG Color", "yellow");
parameters.put("Customer Names",
new String [] {
"American Souvenirs Inc",
"Toys4GrownUps.com",
"giftsbymail.co.uk",
"BG&E Collectables",
"Classic Gift Ideas, Inc",
});
parameters.put("Countries IDS",
new Integer [] {
23,
45,
32,
97,
101,
});
parameters.put("Color ID", 5);
return parameters;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment