Add PDF orientation detection. Closes GitLab issue #387.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -214,6 +214,10 @@ class ConverterBase(object):
|
||||
except InvalidOfficeFormat as exception:
|
||||
logger.debug('Is not an office format document; %s', exception)
|
||||
|
||||
def detect_orientation(self, page_number):
|
||||
# Must be overrided by subclass
|
||||
pass
|
||||
|
||||
|
||||
class BaseTransformation(object):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user