+ def wldocument(self, publishable=True, changes=None, parse_dublincore=True):
+ from catalogue.ebook_utils import RedakcjaDocProvider
+ from librarian.parser import WLDocument
+
+ return WLDocument.from_string(
+ self.materialize(publishable=publishable, changes=changes),
+ provider=RedakcjaDocProvider(publishable=publishable),
+ parse_dublincore=parse_dublincore)
+