Give indication on extraced files and error with "Extract Referenced Files"

Description

Currently you do not know if files were extracted or not, and if there were errors.
Maybe there were no files to extract, or the URL could not be resolved (=error)
After the command can we show a small result window stating at least:

  • xxx files extracted with success, optional also giving a list of the extracted files

  • xxx files not extracted due to errors: in that case best show the URL

Environment

Windows 7, latest snapshot

Draft

None

Activity

Stefan Meissner 
May 12, 2016 at 2:17 PM

#T&I WG 2016-05-12
, may you answer BEFORE Drupa ??

Alex Khilov 
May 3, 2016 at 3:15 PM
(edited)

Window with results implemented.
However, for the moment only successfull results are shown, due to limitation of JdfLibJ.

File: https://bitbucket.cip4.org/projects/LIB/repos/jdflibj/browse/src/main/java/org/cip4/jdflib/elementwalker/URLExtractor.java
Lines 220-240

Thus, I'd say URLExtractor shall be extended by:
1. adding getNotSaved() method.
2. updating walk() logic, to count not saved files also.

And after this - uncommented lines 346-353 in file: https://bitbucket.cip4.org/projects/TOOL/repos/jdfeditor/browse/src/main/java/org/cip4/tools/jdfeditor/menu/MenuTools.java

 

Who will do such changes in URLExtractor ?

 

PS: In case of error next message shown in logs :

------------------------------
2016-05-03 17:45:30,036 95771 [AWT-EventQueue-0] WARN org.cip4.jdflib.elementwalker.URLExtractor$WalkURL  -  Could not copy cid:Alces-Figures-error.pdf to /....../extracted

------------------------------

Stefan Meissner 
March 31, 2016 at 2:23 PM

#T&I WG 2016-03-31

accepted

Won't Fix
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Affects versions

Priority

Created February 4, 2016 at 2:59 PM
Updated January 13, 2022 at 3:22 PM
Resolved January 13, 2022 at 3:22 PM