mirror of
https://github.com/kanzure/pdfparanoia.git
synced 2024-06-15 23:29:51 +02:00
18 lines
297 B
Python
18 lines
297 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
"""
|
||
|
pdfparanoia.plugin
|
||
|
~~~~~~~~~~~~~~~
|
||
|
|
||
|
Defines how plugins work.
|
||
|
|
||
|
"""
|
||
|
|
||
|
class Plugin:
|
||
|
@staticmethod
|
||
|
def scrub(content):
|
||
|
"""
|
||
|
Removes watermarks from the given pdf.
|
||
|
"""
|
||
|
raise NotImplementedError("must be implemented by the subclass")
|
||
|
|