pdfminer.six/pdfminer
Mingye Wang 46fa21476a
Raise proper error when bad --output-type is used and fix formatting output of TagExtractor
* high_level: emit diagnostic for bad output_type

* TagExtractor: eliminate runtime error

This does not make is usable, but will satisfy my curiosity.

* Use if-elif-else structure

* Fix pycharm spacing warning

* Rename _write_outfp to _write

* Properly format tag names and tag values. Using utils.make_compat_str() such that the tag value is always a string.

* Update CHANGELOG.md

* Fix flake8 errors

Co-authored-by: Pieter Marsman <pietermarsman@gmail.com>
2021-08-31 20:46:20 +02:00
..
cmap Include compiled cmap resources to simplify installation for CJK languages 2015-12-27 13:32:29 +09:00
Makefile apply more patches 2010-02-13 15:00:43 +00:00
__init__.py Remove explicit support for Python 3.4 and 3.5, adding tests for python 3.9 (#522) 2020-10-25 12:34:51 +01:00
arcfour.py Change pycryptodome dependency to the faster, smaller, and industry standard cryptography package (#456) 2020-07-20 22:00:54 +02:00
ascii85.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
ccitt.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
cmapdb.py Fix extraction of some cjk characters (#593) 2021-08-26 21:05:03 +02:00
converter.py Use visible imports in highlevel.rst documentation (#609) 2021-08-30 22:17:21 +02:00
encodingdb.py Catch ValueError when converting font encoding differences to characters (#389) 2020-03-16 20:12:45 +01:00
fontmetrics.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
glyphlist.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
high_level.py Raise proper error when bad --output-type is used and fix formatting output of TagExtractor 2021-08-31 20:46:20 +02:00
image.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
jbig2.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
latin_enc.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
layout.py Fix ordering of textlines within a textbox when boxes_flow is disabled (#412) 2020-05-09 15:37:49 +02:00
lzw.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
pdfcolor.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
pdfdevice.py Raise proper error when bad --output-type is used and fix formatting output of TagExtractor 2021-08-31 20:46:20 +02:00
pdfdocument.py Fix 594 use null id when encrypted but no id given (#595) 2021-08-29 21:32:14 +02:00
pdffont.py Fix extraction of some cjk characters (#593) 2021-08-26 21:05:03 +02:00
pdfinterp.py Validate that object is PDFStream in do_EI (#451) 2020-07-05 13:42:15 +02:00
pdfpage.py Replace internal usage of PDFTextExtractionNotAllowedError (deprecated) with PDFTextExtractionNotAllowed 2020-07-26 15:09:32 +02:00
pdfparser.py Fix issue of ValueError and KeyError rasied in PDFdocument and PDFparser (#574) 2021-08-26 20:55:02 +02:00
pdftypes.py Pack the /P (ermissions) entry from the /Encrypt dictionionary in the file trailer, as unsigned long (#352) 2020-01-07 21:59:13 +01:00
psparser.py add shebang line to script in tools (#408) 2020-04-28 10:58:42 +02:00
runlength.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
settings.py Remove webapp and other (un)helpful application references: django, cgi, and pyinstaller. (#320) 2019-10-26 19:16:37 +02:00
utils.py Raise proper error when bad --output-type is used and fix formatting output of TagExtractor 2021-08-31 20:46:20 +02:00