Bug 797279 - Reports RTL do not support RTL - fix reports

This commit is contained in:
Christopher Lam 2019-08-15 23:07:51 +08:00
parent 99c69023cc
commit bf7d121e27
7 changed files with 7 additions and 9 deletions

View File

@ -26,11 +26,9 @@
width: 1em; width: 1em;
} }
td.accname { td.accname {
text-align: left;
vertical-align: top; vertical-align: top;
} }
td.accnametotal { td.accnametotal {
text-align: left;
vertical-align: top; vertical-align: top;
font-weight: bold; font-weight: bold;
} }

View File

@ -125,7 +125,7 @@
?> ?>
<!-- The HTML starts here... --> <!-- The HTML starts here... -->
<html> <html dir='auto'>
<head> <head>
<meta http-equiv="content-type" content="text-html; charset=utf-8"> <meta http-equiv="content-type" content="text-html; charset=utf-8">
<title><?scm:d coyname ?> <?scm:d opt-report-title ?> <?scm:d (qof-print-date opt-date) ?></title> <title><?scm:d coyname ?> <?scm:d opt-report-title ?> <?scm:d (qof-print-date opt-date) ?></title>

View File

@ -103,7 +103,7 @@
<!-- ====================================================================== --> <!-- ====================================================================== -->
<!-- The HTML for the invoice starts here --> <!-- The HTML for the invoice starts here -->
<html> <html dir='auto'>
<head> <head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" > <meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
<title><?scm:d (_ "Invoice") ?> <?scm:d invoiceid ?></title> <title><?scm:d (_ "Invoice") ?> <?scm:d invoiceid ?></title>

View File

@ -125,7 +125,7 @@
<!-- ====================================================================== --> <!-- ====================================================================== -->
<!-- The HTML for the invoice starts here --> <!-- The HTML for the invoice starts here -->
<html> <html dir='auto'>
<head> <head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" > <meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
<title><?scm:d (_ "Invoice") ?> <?scm:d invoiceid ?></title> <title><?scm:d (_ "Invoice") ?> <?scm:d invoiceid ?></title>

View File

@ -150,7 +150,7 @@
;;./share/gnucash/scm/gnucash/report/taxinvoice.eguile.scm:<html> ;;./share/gnucash/scm/gnucash/report/taxinvoice.eguile.scm:<html>
;;./share/gnucash/scm/gnucash/report/balsheet-eg.eguile.scm:<html> ;;./share/gnucash/scm/gnucash/report/balsheet-eg.eguile.scm:<html>
(push "<html>\n") (push "<html dir='auto'>\n")
(push "<head>\n") (push "<head>\n")
(push "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\n") (push "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\n")
(if style-text (if style-text

View File

@ -140,7 +140,7 @@
(string-append (string-append
"h3 { " title-font-info " }\n" "h3 { " title-font-info " }\n"
"a { " account-link-font-info " }\n" "a { " account-link-font-info " }\n"
"body, p, table, tr, td { text-align: left; vertical-align: top; " text-cell-font-info " }\n" "body, p, table, tr, td { vertical-align: top; " text-cell-font-info " }\n"
"tr.alternate-row { background: " alternate-row-color " }\n" "tr.alternate-row { background: " alternate-row-color " }\n"
"tr { page-break-inside: avoid !important;}\n" "tr { page-break-inside: avoid !important;}\n"
"th.column-heading-left { text-align: left; " number-header-font-info " }\n" "th.column-heading-left { text-align: left; " number-header-font-info " }\n"

View File

@ -45,7 +45,7 @@
) )
(define html-doc-header-no-title (define html-doc-header-no-title
"<html>\n\ "<html dir='auto'>\n\
<head>\n\ <head>\n\
<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\n\ <meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\n\
</head><body>") </head><body>")
@ -87,7 +87,7 @@
(gnc:html-document-set-title! test-doc "HTML Document Title") (gnc:html-document-set-title! test-doc "HTML Document Title")
(test-equal "HTML Document - Render with title" (test-equal "HTML Document - Render with title"
"<html>\n\ "<html dir='auto'>\n\
<head>\n\ <head>\n\
<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\n\ <meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\n\
<title>\n\ <title>\n\