Last active
January 3, 2018 02:15
-
-
Save salvatoretrimarchi/a06cf360a2586fb4c2836d5841360a53 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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