Skip to content

Commit

Permalink
prepare pdf content importer code
Browse files Browse the repository at this point in the history
Add missing keybinding
  • Loading branch information
Siedlerchr committed Mar 16, 2018
1 parent 718eb4e commit d4a5af4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,13 @@ public void addNewEntryFromXMPorPDFContent(List<Path> files) {
bibDatabaseContext.getDatabase().insertEntries(xmpEntriesInFile);
for (BibEntry entry : xmpEntriesInFile) {


}

}
//PdfContentImporter
//List<BibEntry> result = importer.importDatabase(file, StandardCharsets.UTF_8).getDatabase().getEntries();

} catch (IOException e) {
LOGGER.warn("Problem reading XMP", e);
}
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/jabref/gui/keyboard/KeyBinding.java
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ public enum KeyBinding {
UNABBREVIATE("Unabbreviate", Localization.lang("Unabbreviate"), "ctrl+alt+shift+A", KeyBindingCategory.TOOLS),
UNDO("Undo", Localization.lang("Undo"), "ctrl+Z", KeyBindingCategory.EDIT),
WEB_SEARCH("Web search", Localization.lang("Web search"), "alt+4", KeyBindingCategory.SEARCH),
WRITE_XMP("Write XMP", Localization.lang("Write XMP"), "F6", KeyBindingCategory.TOOLS);
WRITE_XMP("Write XMP", Localization.lang("Write XMP"), "F6", KeyBindingCategory.TOOLS),
CLEAR_SEARCH("Clear search", Localization.lang("Clear search"), "ESCAPE", KeyBindingCategory.SEARCH);

private final String constant;
private final String localization;
Expand Down

0 comments on commit d4a5af4

Please sign in to comment.