You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/bug_report.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,9 @@ body:
15
15
attributes:
16
16
label: "Checklist"
17
17
options:
18
-
- label: "I am able to reproduce the bug with the [latest version](https://github.com/xdev-software/template-placeholder/releases/latest)"
18
+
- label: "I am able to reproduce the bug with the [latest version](https://github.com/xdev-software/vaadin-grid-exporter/releases/latest)"
19
19
required: true
20
-
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/template-placeholder/issues) or [closed](https://github.com/xdev-software/template-placeholder/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
20
+
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/vaadin-grid-exporter/issues) or [closed](https://github.com/xdev-software/vaadin-grid-exporter/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
21
21
required: true
22
22
- label: "I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise."
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/enhancement.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ body:
13
13
attributes:
14
14
label: "Checklist"
15
15
options:
16
-
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/template-placeholder/issues) or [closed](https://github.com/xdev-software/template-placeholder/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
16
+
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/vaadin-grid-exporter/issues) or [closed](https://github.com/xdev-software/vaadin-grid-exporter/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
17
17
required: true
18
18
- label: "I have taken the time to fill in all the required details. I understand that the feature request will be dismissed otherwise."
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/question.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ body:
12
12
attributes:
13
13
label: "Checklist"
14
14
options:
15
-
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/template-placeholder/issues) or [closed](https://github.com/xdev-software/template-placeholder/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
15
+
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/vaadin-grid-exporter/issues) or [closed](https://github.com/xdev-software/vaadin-grid-exporter/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
16
16
required: true
17
17
- label: "I have taken the time to fill in all the required details. I understand that the question will be dismissed otherwise."
* Migrated deployment to _Sonatype Maven Central Portal_[#155](https://github.com/xdev-software/standard-maven-template/issues/155)
12
+
* Updated dependencies
13
+
14
+
# 3.2.6
15
+
* Fix naming so that Vaadin Directory sync works [#318](https://github.com/xdev-software/vaadin-addon-template/issues/318)
16
+
* Updated dependencies
17
+
18
+
# 3.2.5
19
+
* Make it possible to better customize ``SpecificConfigComponent``
20
+
21
+
# 3.2.4
22
+
* Updated dependencies
23
+
24
+
# 3.2.3
25
+
* Added dedicated method for adding steps to WizardPanel to make overriding it easier #269
26
+
* Updated dependencies
27
+
28
+
# 3.2.2
29
+
* Fix column order being ignored #256
30
+
31
+
# 3.2.1
32
+
* Fix cells truncating data #229
33
+
* Updated dependencies
34
+
35
+
# 3.2.0
36
+
* Updated to Vaadin 24.4
37
+
38
+
# 3.1.0
39
+
* Update to [JasperReports 7](https://github.com/xdev-software/dynamicreports-core-for-grid-exporter/blob/develop/CHANGELOG.md#200)
40
+
* Updated dependencies
41
+
42
+
# 3.0.3
43
+
* ⚠️ GroupId changed from ``com.xdev-software`` to ``software.xdev``
44
+
* Updated dependencies
45
+
46
+
# 3.0.2
47
+
* Fixed not working translations on preview step #153
48
+
* Updated dependencies
49
+
50
+
# 3.0.1
51
+
* Fixed compilation problems due to missing ``ecj`` dependency #98
52
+
* Updated dependencies
53
+
54
+
# 3.0.0
55
+
⚠️<i>This release contains breaking changes</i>
56
+
57
+
* Adds support for Vaadin 24+, drops support for Vaadin 23<br/>
58
+
<i>If you are still using Vaadin 23, use the ``3.x`` versions.</i>
59
+
* Requires Java 17+
60
+
* Replaced the underlying reporting framework ``dynamicreports`` with [our fork of it](https://github.com/xdev-software/dynamicreports-core-for-grid-exporter) which is specially designed for this project
61
+
* Differences from the original project are roughly described in the [changelog](https://github.com/xdev-software/dynamicreports-core-for-grid-exporter/blob/develop/CHANGELOG.md).
62
+
* Removed ``XML`` from the default formats because the exported data was unusable
63
+
* Replaced ``VaadinInternalRenderingColumnHeaderResolvingStrategy`` with ``VaadinColumnHeaderResolvingStrategy``
64
+
* Updated dependencies
65
+
66
+
# 2.0.0
67
+
* Undocked from RapidClipse
68
+
* Changed package from ``com.rapidclipse.framework.server.reports`` to ``software.xdev.vaadin.grid_exporter``
69
+
* Restructured the UI
70
+
* Using a step-by-step-wizard like layout
71
+
* Made formats configurable via UI
72
+
* Refactored software architecture to make the component more expandable
73
+
* Removed ``XLS`` from default formats due to not included dependency which causes a crash (``XLSX`` still works)
* Consider doing a [test-deployment](https://github.com/xdev-software/template-placeholder/actions/workflows/test-deploy.yml?query=branch%3Adevelop) before actually releasing.
53
+
* Consider doing a [test-deployment](https://github.com/xdev-software/vaadin-grid-exporter/actions/workflows/test-deploy.yml?query=branch%3Adevelop) before actually releasing.
54
54
* Check the [changelog](CHANGELOG.md)
55
55
56
56
If the ``develop`` is ready for release, create a pull request to the ``master``-Branch and merge the changes
[](https://vaadin.com/directory/component/template-placeholder)
[](https://vaadin.com/directory/component/gridexporter-for-vaadin)
The Vaadin Grid Exporter can convert nearly any Vaadin Grid to a variety of formats.<br/>
9
+
This way you don't have to copy the Grid contents manually or print the whole website with the Grid.
10
10
11
+
Out of the box supported formats:
12
+
* CSV
13
+
* Word (DOCX)
14
+
* HTML
15
+
* ODS
16
+
* ODT
17
+
* PDF
18
+
* PowerPoint (PPTX)
19
+
* RTF
20
+
* Plain text
21
+
* Excel (XLSX)
22
+
23
+
_These formats are exported using [dynamicreports](https://github.com/xdev-software/dynamicreports-core-for-grid-exporter)._
24
+
25
+
It's also easy to extend the Exporter to support your custom format.
26
+
27
+

28
+
29
+
> [!NOTE]
30
+
> <details><summary><b>Disclaimer about the scope of this component</b> (click to expand)</summary>
31
+
>
32
+
> Although the GridExporter can handle most use-cases, extreme scenarios will likely impact performance, usability and might require some hacks.<br/>
33
+
> For such cases custom written exports are recommended e.g. by utilizing JasperReports directly.<br/>
34
+
> If you need help implementing these feel free to [contact us](#support) or open a [question](https://github.com/xdev-software/vaadin-grid-exporter/issues/new?assignees=&labels=question&projects=&template=question.yml) if you are not sure that the GridExporter is a good option for your scenario.
35
+
>
36
+
> </details>
37
+
38
+
## Usage
39
+
40
+
Default usage:
41
+
42
+
```java
43
+
GridExporter
44
+
.newWithDefaults(this.grExamples)
45
+
.open();
46
+
```
47
+
48
+
Custom format (see [JsonGridExporterProvider from Demo](vaadin-grid-exporter-demo/src/main/java/software/xdev/vaadin/gridexport/example/jsonext/JsonGridExporterProvider.java)):
49
+
50
+
```java
51
+
GridExporter
52
+
.newWithDefaults(this.grExamples)
53
+
.loadFromProvider(newJsonGridExporterProvider())
54
+
.open();
55
+
```
11
56
12
57
## Installation
13
-
[Installation guide for the latest release](https://github.com/xdev-software/template-placeholder/releases/latest#Installation)
58
+
59
+
[Installation guide for the latest release](https://github.com/xdev-software/vaadin-grid-exporter/releases/latest#Installation)
60
+
61
+
### Comaptibility with ``CSP`` (Content-Security-Policy) and ``X-Frame-Options``
62
+
63
+
> [!TIP]
64
+
> In Spring Security the [default value of ``X-Frame-Options`` is ``DENY``](https://docs.spring.io/spring-security/reference/features/exploits/headers.html#headers-frame-options) which will break the preview if not changed.
65
+
66
+
To show the preview the [CSP](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy) or the [X-Frame-Options](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options) (deprecated in favor of CSP) must be configured in a way that they allow showing same-site elements.
67
+
68
+
This can be achieved by:
69
+
* setting the CSP to include at least ``frame-ancestors 'self'`` and maybe additionally ``object-src 'self'``
70
+
* setting ``X-Frame-Options`` to ``SAMESITE``.<br/>If you use Spring Security without a CSP the easiest way to set this is:
>Depending on the browser the settings sometimes have slightly different effects.<br/>
77
+
>For example Firefox blocks the preview due to privacy reasons when ``X-Frame-Option=DENY`` and ``Content-Security-Policy=frame-ancestors 'self'; object-src 'self'; ...`` but Chrome does not.
78
+
79
+
### Compatibility with Vaadin
80
+
81
+
|Vaadin version |GridExporter version |
82
+
|---|---|
83
+
|Vaadin25+ (latest) | ``4+`` |
84
+
|Vaadin24| ``3.x`` |
85
+
|Vaadin23| ``2.x`` |
86
+
87
+
### Compatibility with JasperReports
88
+
89
+
Starting with version [3.1.0](./CHANGELOG.md#310) JasperReports7 is required.
14
90
15
91
### Spring-Boot
16
92
*You may have to include ``software/xdev`` inside [``vaadin.allowed-packages``](https://vaadin.com/docs/latest/integrations/spring/configuration#configure-the-scanning-of-packages)
17
93
18
94
## Run the Demo
19
95
*Checkout the repo
20
-
* Run ``mvn install && mvn -f template-placeholder-demo spring-boot:run``
@@ -33,4 +109,4 @@ If you need support as soon as possible and you can't wait for any pull request,
33
109
See the [contributing guide](./CONTRIBUTING.md) for detailed instructions on how to get started with our project.
34
110
35
111
## Dependencies and Licenses
36
-
View the [license of the current project](LICENSE) or the [summary including all dependencies](https://xdev-software.github.io/template-placeholder/dependencies)
112
+
View the [license of the current project](LICENSE) or the [summary including all dependencies](https://xdev-software.github.io/vaadin-grid-exporter/dependencies)
0 commit comments