Skip to content
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.

Commit

Permalink
DocExporter comment on line causing #33
Browse files Browse the repository at this point in the history
  • Loading branch information
kahlep committed Apr 12, 2019
1 parent 018adef commit 045bac4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main/java/eu/transkribus/core/io/DocExporter.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import javax.xml.transform.stream.StreamResult;
import javax.xml.transform.stream.StreamSource;

import org.apache.commons.io.FileUtils;
import org.apache.commons.io.FilenameUtils;
import org.apache.commons.lang3.StringUtils;
import org.dea.fimgstoreclient.IFimgStoreGetClient;
Expand Down Expand Up @@ -587,7 +588,11 @@ public TrpPage exportPage(TrpPage page) throws IOException {
altoFile = altoEx.exportAltoFile(page, baseFileName + xmlExt, outputDir.getAltoOutputDir(), pars.isSplitIntoWordsInAltoXml());
}

/*
/**
* FIXME please resolve parent of image file in places where this URL is used as all exported pages miss the image URL which is
* needed for processing exported documents.
*/
/*
* to find the output dir later on during the mets creation
*/
page.setUrl(new File(outputDir.getImgOutputDir().getAbsolutePath()).toURI().toURL());
Expand Down

0 comments on commit 045bac4

Please sign in to comment.