Commit Graph

252 Commits

Author SHA1 Message Date
Johannes Zillmann
55ae236928 Improve header detection
- fix tests
- still run header detection based on heights even if TOC headlines have been identified
2024-03-28 11:39:34 -06:00
Johannes Zillmann
0dc47329ef Move core module to root 2024-03-26 10:52:54 -06:00
Johannes Zillmann
7f5f4d7071 Add DetectHeaders transformation
- This is mainly code from 2 years ago (was in the stash)
- The tests were green but failing now because of recent changes
- Plan is to first move all files to the root to then be able to debug the tests better
2024-03-26 10:23:15 -06:00
Johannes Zillmann
125d4f3079 Simplify PDF pipeline a bit 2024-03-25 16:36:58 -06:00
Johannes Zillmann
075639979e Add sparse support for final convert 2024-03-25 16:36:24 -06:00
Johannes Zillmann
5bf4988da2 Move from TsLint to EsLint
- Fix some error's but still not green (good enough for now)
2024-03-20 09:31:09 -06:00
Johannes Zillmann
c696806a0e Update typescript 2024-03-19 18:08:18 -06:00
Johannes Zillmann
e56d70c599 Remove UI package 2024-03-19 16:50:38 -06:00
Johannes Zillmann
02c2fd04fe DetectToc removes TOC items and marks headlines 2021-07-19 10:15:59 -06:00
Johannes Zillmann
d223e8a790 Move types to front 2021-07-18 14:25:55 -06:00
Johannes Zillmann
616909481a Don't print globals twice 2021-07-18 14:13:38 -06:00
Johannes Zillmann
46234417ad Fine tune line detection
* Before lines where assembled that really separate lines
2021-07-18 13:07:06 -06:00
Johannes Zillmann
e261583c65 Improve TOC headline detection 2021-04-27 08:29:00 +02:00
Johannes Zillmann
94a7405671 Lookup and verify toc links 2021-04-25 14:41:50 +02:00
Johannes Zillmann
25f23ee0e4 Fix tests 2021-04-25 08:28:48 +02:00
Johannes Zillmann
19a76d6163 Publish TOC as global (rudimentary) 2021-04-25 08:15:10 +02:00
Johannes Zillmann
f7bf4d95b3 Page selection popup: from grid to flexbox 2021-04-24 00:24:07 +02:00
Johannes Zillmann
28c2b1a6a6 Have types instead of type 2021-04-18 16:23:52 +02:00
Johannes Zillmann
5b611cd506 Rename TocDetection to DetectToc 2021-04-18 15:31:45 +02:00
Johannes Zillmann
6ad8d2daa9 UI cosmetics 2021-04-18 12:19:23 +02:00
Johannes Zillmann
5365667314 Reviewing new PDFs 2021-04-18 11:56:42 +02:00
Johannes Zillmann
243736ea0a Fix typos 2021-04-18 11:38:34 +02:00
Johannes Zillmann
baa5b4fadc Add 6 more test PDFs 2021-04-18 11:34:11 +02:00
Johannes Zillmann
a1ea24cc3a Improved TOC detection
- Restrict pages before numbered line
2021-04-18 10:05:34 +02:00
Johannes Zillmann
ce6c9fe977 Initial TOC detection 2021-04-12 08:09:30 +02:00
Johannes Zillmann
bf81416925 Fix: take last stage from local storage 2021-04-11 18:38:36 +02:00
Johannes Zillmann
9fcb431a64 Make item#uuid required (just set blank for tests) 2021-04-11 18:30:32 +02:00
Johannes Zillmann
a427806f68 Move width & height after x & y 2021-04-11 18:28:53 +02:00
Johannes Zillmann
932a79a3e9 Add known issues 2021-04-11 09:08:45 +02:00
Johannes Zillmann
de85337f47 remove unused imports 2021-04-10 20:25:41 +02:00
Johannes Zillmann
8e9642c9ed Support bootstrapping URL, debug and stage from URL params 2021-04-10 20:25:23 +02:00
Johannes Zillmann
c8cfbebb92 Disable no used locals (for now) 2021-04-10 09:18:46 +02:00
Johannes Zillmann
ddac96299d Fix not used locals 2021-04-10 09:18:46 +02:00
MTR
6327d74512
Opening PDFs from URL (#27)
* Use proxy to workaround CORS issues
2021-04-10 09:07:46 +02:00
Johannes Zillmann
642509a454 Refine repetitive character removal 2021-04-02 22:33:12 +02:00
Johannes Zillmann
6283ab7a96 Track evaluation score (optionally)
Makes it easier to see how a value got classified
2021-04-01 18:16:42 +02:00
Johannes Zillmann
9d1fe1b111 Fix imports 2021-04-01 17:04:41 +02:00
Johannes Zillmann
3e3f052112 Fix error message display 2021-03-31 17:44:34 +02:00
Johannes Zillmann
d8fb3e0b24 Rename CalculateCoordinate to Unwrap... cause thats what its really is 2021-03-31 10:08:05 +02:00
Johannes Zillmann
487b304c15 Move EvaluationIndex to debug package
(Not a 100% correct but somewhat more pleasing)
2021-03-31 10:00:21 +02:00
Johannes Zillmann
ce6d9f8984 Package refactoring: Move globals to root 2021-03-29 08:57:05 +02:00
Johannes Zillmann
71ef84153c Show page labels + default mapping to 1 2021-03-29 08:47:04 +02:00
Johannes Zillmann
98972d67a8 important! 2021-03-29 07:27:04 +02:00
Johannes Zillmann
898af7bbc8 Fix previous commit and re-use page mapping 2021-03-29 07:24:20 +02:00
Johannes Zillmann
388e8cc6b1 Find page mapping during statistics calculation 2021-03-28 23:45:26 +02:00
Johannes Zillmann
89d4bbd2f9 Cover globals in tests 2021-03-28 10:58:24 +02:00
Johannes Zillmann
d7d3502a25 Fix processing pdfs with no page numbers 2021-03-28 10:21:26 +02:00
Johannes Zillmann
202da9b005 Globals propagation infrastructure 2021-03-27 09:35:18 +01:00
Johannes Zillmann
1a6bddf460 Fit the panel background to its contents size (kind of) 2021-03-27 07:09:18 +01:00
Johannes Zillmann
efcd2b01c0 Make page popup responsive 2021-03-26 14:04:26 +01:00