|
Первые шаги в jasper report и ireport
|
|||
---|---|---|---|
#18+
Только только начинаю разбираться со всем этим, и уже нужна помощь. На компе установлена джава 6 и ireport 3.0.0. Нужно, чтобы на входе был файл xml с данными, на выходе xls. Есть 2 xml файла с шаблоном отчёта - main и sub (созданы не мной). Файл с данными тоже есть. Вопрос 1. Для чего нужны субрепорты?Кто-то можетдоходчиво объяснить или дать ссылку? Вопрос 2. В ireport-е открыт файл с шаблоном и субрепорт. Выбираю Data - Data source - XML, выбираю файл с данными, потом Build - Exel preview иничего не происходит. Даже не знаю, где искать ошибку. Криво поставлен ireport? Неправильный формат файла с данными? Не всё, что нужно, установлено? ... |
|||
:
Нравится:
Не нравится:
|
|||
27.09.2012, 07:29 |
|
Первые шаги в jasper report и ireport
|
|||
---|---|---|---|
#18+
Jasp_f, Указанные ниже источники читать до просветления http://www.sql.ru/forum/actualthread.aspx?tid=926693 Пример использования xml в качестве DataSource. С сабрепортом кстати http://www.sql.ru/forum/actualthread.aspx?tid=962100 Примеры отчетов (включая сабрепорты) можно посмотреть прямо из iReport (меню Help->Samples) З.Ы. Последняя версия jasper 4.7.1 вроде. Свежачок, только из печи :) В 3.0.0 много чего нет. Зачем зашиваться на старую версию, если проекта нет и ничего не держит на v. 3.0.0 ? Или на нем что-то завязано? ... |
|||
:
Нравится:
Не нравится:
|
|||
27.09.2012, 11:35 |
|
Первые шаги в jasper report и ireport
|
|||
---|---|---|---|
#18+
http://sourceforge.net/projects/jasperreports/files/jasperreports/JasperReports 6.0.0/ JasperReports Library 6.0.0 Change Log ============================================= - new type of report template called "report book" was added, in which sections are made of parts instead of bands; parts are external report templates, similar to subreports, and allow creation of documents with variable page size and/or orientation; parts can be displayed on separate tabs by report viewers and simplify creation of "table of contents" structures in which parts that appear early in the document are actually filled/rendered later during the report filling process (see evaluationTime attribute of part); - new JSON metadata exporter added, similar to the XLS and CSV metadata exporters in which the values that need to be exported have to be marked-up using configuration properties at text element level; - upgrade to iText version 5.5.0 in the PDF exporter; - upgrade to POI version 3.10.1 in the XLS exporter and data source; - minor bug fixes and improvements; Хочется забить на текучку и проапгрейдиться :) ... |
|||
:
Нравится:
Не нравится:
|
|||
03.12.2014, 16:24 |
|
|
start [/forum/topic.php?fid=31&fpage=20&tid=1533521]: |
0ms |
get settings: |
11ms |
get forum list: |
14ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
27ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
43ms |
get tp. blocked users: |
2ms |
others: | 312ms |
total: | 432ms |
0 / 0 |