Added PDF_exporter double layers
This commit is contained in:
parent
9325d5aaef
commit
9c8d803fa8
14
CHANGELOG.md
14
CHANGELOG.md
|
@ -1,14 +0,0 @@
|
|||
|
||||
# Changelog
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [v1.1.0-SNAPSHOT]
|
||||
|
||||
- Added 'Export as PDF' facility [#26026]
|
||||
|
||||
## [v1.0.0]
|
||||
|
||||
- Fixed #25201
|
||||
- First release
|
|
@ -2,9 +2,11 @@ package org.gcube.application.geoportaldatamapper.exporter;
|
|||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.net.URL;
|
||||
import java.nio.file.StandardCopyOption;
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
import java.util.ArrayList;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -228,7 +228,7 @@ public class BBOXConverter {
|
|||
//System.out.println("offsetHeight: " + offsetHeight);
|
||||
Log.debug("offset width: "+offsetHeight);
|
||||
|
||||
return offsetWidth < offsetHeight ? offsetHeight : offsetWidth;
|
||||
return offsetWidth < offsetHeight ? offsetWidth : offsetHeight;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -104,7 +104,7 @@ public class Geoportal_Export_To_PDF_Tests {
|
|||
*
|
||||
* @return the client
|
||||
*/
|
||||
//@Before
|
||||
@Before
|
||||
public void getClient() {
|
||||
readContextSettings();
|
||||
// assumeTrue(GCubeTest.isTestInfrastructureEnabled());
|
||||
|
@ -117,7 +117,7 @@ public class Geoportal_Export_To_PDF_Tests {
|
|||
/**
|
||||
* API map box service endpoint reader.
|
||||
*/
|
||||
// @Test
|
||||
//@Test
|
||||
public void apiMapBoxServiceEndpointReader() {
|
||||
try {
|
||||
ServiceAccessPoint se = MapBoxEndpointReader.getMapBoxEndpoint();
|
||||
|
@ -131,7 +131,7 @@ public class Geoportal_Export_To_PDF_Tests {
|
|||
/**
|
||||
* Test read project view.
|
||||
*/
|
||||
//@Test
|
||||
@Test
|
||||
public void testExportToPDF() {
|
||||
|
||||
ScopeProvider.instance.set(CONTEXT);
|
||||
|
|
Loading…
Reference in New Issue