}\r
}\r
\r
- $imagesize = getimagesize(WS_DOCS . '/' . $this->pages[1]['document_id'] . '/html/h150-' . $this->pages[1]['document_page'] . '.jpg');\r
+ $imagesize = getimagesize(WS_DOCS . '/' . $this->pages[1]['document_id'] . '/html/h72-' . $this->pages[1]['document_page'] . '.jpg');\r
$this->pdf2htmlRatio = $imagesize[0] / $this->layouts[1]['width'];\r
$this->scale = 10;\r
$this->multiply = $this->pdf2htmlRatio * $this->scale;\r
\r
protected function writeCSS() {\r
$res = array();\r
+ $res[] = '.background{width:' . $this->book->parametres->width . 'px;height:' . $this->book->parametres->width . 'px;}';\r
foreach ($this->cssColor as $color => $index) {\r
$res[] = '.c' . $index . '{color:#' . $color . '}';\r
}\r