Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ Import-Package: com.fasterxml.jackson.core,
org.apache.poi,
org.apache.poi.ss.usermodel,
org.apache.poi.ss.util,
org.apache.poi.xssf.model,
org.apache.poi.xssf.usermodel,
org.apache.poi.xssf.usermodel.extensions,
org.apache.xmlbeans,
org.apache.xmlbeans.impl.schema,
org.apache.xmlgraphics.image.loader.spi;version="2.4.0",
org.apache.xmlgraphics.io;version="2.4.0",
org.eclipse.core.runtime;version="3.5.0",
Expand Down Expand Up @@ -84,6 +88,9 @@ Import-Package: com.fasterxml.jackson.core,
org.eclipse.set.utils.export.xsl.siteplan,
org.eclipse.set.utils.table,
org.eclipse.set.utils.viewgroups,
org.openxmlformats.schemas.drawingml.x2006.main;version="[5.5.0,6.0.0)",
org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing;version="[5.5.0,6.0.0)",
org.openxmlformats.schemas.spreadsheetml.x2006.main,
org.osgi.service.component.annotations;version="1.2.0",
org.osgi.service.event;version="[1.4.0,2.0.0)",
org.slf4j;version="1.7.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,33 +144,6 @@ protected static String getFilename(final String shortcut,
return shortcut + "-fop." + extension; //$NON-NLS-1$
}

protected static Table getTableToBeExported(
final Map<TableType, Table> tables, final ExportType exportType) {
switch (exportType) {
case INVENTORY_RECORDS:
final Table invTable = tables.get(TableType.FINAL);
if (invTable != null) {
return invTable;
}
// if we do not have a final table we export the table of the
// single
// container of a state
return tables.get(TableType.SINGLE);
case PLANNING_RECORDS: {
final Table planTable = tables.get(TableType.DIFF);
if (planTable != null) {
return planTable;
}
// if we do not have a diff table we export the table of the
// single
// container of a state
return tables.get(TableType.SINGLE);
}
default:
throw new IllegalArgumentException(exportType.toString());
}
}

protected EnumTranslationService enumTranslationService;
protected FopService fopService;

Expand Down
Loading
Loading