- tested xml convertor
- fixed up xml convertor
This commit is contained in:
1 parent
3375cd42ea
commit
97928f7bc5
2 files changed
+2
-2
No files matched your search
@@ -11,7 +11,7 @@ from ..layouts import LTLine
|
||||
from ..layouts import LTRect
|
||||
from ..layouts import LTFigure
|
||||
from ..layouts import LTImage
|
||||
from ..layouts import LTChar
|
||||
from ..layouts import LTChar, LTCharBlock
|
||||
from ..interpreter.PDFGraphicState import PDFGraphicStateColor
|
||||
from ..utils import enc
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ from pdfmajor.converters import convert_file
|
||||
def rel_path(*arg: List[str]) -> str:
|
||||
return os.path.join(os.path.dirname(__file__), *arg)
|
||||
|
||||
EXT = 'html'
|
||||
EXT = 'xml'
|
||||
INPUT_FOLDER = rel_path("./pdf")
|
||||
OUTPUT_FOLDER = rel_path(f"./output/{EXT}")
|
||||
|
||||
|
||||
Reference in new issue
Block a user