|
|
@ -281,6 +281,10 @@ function CreDocument:setGammaIndex(index)
|
|
|
|
cre.setGammaIndex(index)
|
|
|
|
cre.setGammaIndex(index)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function CreDocument:setStyleSheet(new_css)
|
|
|
|
|
|
|
|
self._document:setStyleSheet(new_css);
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
DocumentRegistry:addProvider("txt", "application/txt", CreDocument)
|
|
|
|
DocumentRegistry:addProvider("txt", "application/txt", CreDocument)
|
|
|
|
DocumentRegistry:addProvider("epub", "application/epub", CreDocument)
|
|
|
|
DocumentRegistry:addProvider("epub", "application/epub", CreDocument)
|
|
|
|
DocumentRegistry:addProvider("html", "application/html", CreDocument)
|
|
|
|
DocumentRegistry:addProvider("html", "application/html", CreDocument)
|
|
|
|