Assorted bugfixes
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@101 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
parent
4a63a1ce8c
commit
26de5a45df
13 changed files with 59 additions and 39 deletions
|
@ -20,7 +20,7 @@
|
|||
*
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Version 1.2 (2011-03-16)
|
||||
* Version 1.2 (2011-03-21)
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -168,9 +168,9 @@ public class PageStyleConverter extends StyleConverterHelper {
|
|||
// Background color
|
||||
StyleInfo pageInfo = new StyleInfo();
|
||||
getFrameSc().cssBackground(pageLayout,pageInfo.props,true);
|
||||
if (converter.isOPS()) { // Use zero margin for EPUB and default margins for XHTML
|
||||
/*if (converter.isOPS()) { // Use zero margin for EPUB and default margins for XHTML
|
||||
pageInfo.props.addValue("margin", "0");
|
||||
}
|
||||
}*/
|
||||
if (pageInfo.hasAttributes()) {
|
||||
buf.append(sIndent).append("body {").append(pageInfo.props.toString()).append("}")
|
||||
.append(config.prettyPrint() ? "\n" : " ");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue