[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kplato
From: Dag Andersen <danders () get2net ! dk>
Date: 2010-12-02 9:21:59
Message-ID: 20101202092159.CC86EAC8A5 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1202770 by danders:
Reports use 'control-source' now not 'item-data-source'.
M +7 -7 kptview.cpp
--- trunk/koffice/kplato/kptview.cpp #1202769:1202770
@@ -2948,7 +2948,7 @@
s += "<report:page-style report:print-orientation=\"portrait\" fo:margin-bottom=\"1,00cm\" \
fo:margin-top=\"1,00cm\" fo:margin-left=\"1,00cm\" fo:margin-right=\"1,00cm\" report:page-size=\"A4\" \
>predefined</report:page-style>"; s += "<report:body>";
s += "<report:section svg:height=\"1,75cm\" fo:background-color=\"#ffffff\" \
report:section-type=\"header-page-any\" >";
- s += "<report:field report:name=\"field16\" report:horizontal-align=\"left\" \
report:item-data-source=\"=project.Manager()\" svg:x=\"13cm\" svg:width=\"5.9714cm\" svg:y=\"0cm\" \
report:vertical-align=\"bottom\" svg:height=\"0.9388cm\" report:z-index=\"-2\" >"; + s += \
"<report:field report:name=\"field16\" report:horizontal-align=\"left\" \
report:control-source=\"=project.Manager()\" svg:x=\"13cm\" svg:width=\"5.9714cm\" svg:y=\"0cm\" \
report:vertical-align=\"bottom\" svg:height=\"0.9388cm\" report:z-index=\"-2\" >"; s += \
"<report:text-style fo:font-weight=\"bold\" fo:letter-spacing=\"0%\" style:letter-kerning=\"true\" \
fo:font-size=\"10\" fo:foreground-color=\"#000000\" fo:font-family=\"DejaVu Sans\" \
fo:background-color=\"#ffffff\" fo:background-opacity=\"100%\" />";
s += "<report:line-style report:line-style=\"nopen\" report:line-weight=\"1\" \
report:line-color=\"#000000\" />"; s += "</report:field>";
@@ -2956,7 +2956,7 @@
s += "<report:text-style fo:letter-spacing=\"0%\" style:letter-kerning=\"true\" fo:font-size=\"8\" \
fo:foreground-color=\"#000000\" fo:font-family=\"DejaVu Sans\" fo:font-style=\"italic\" \
fo:background-color=\"#ffffff\" fo:background-opacity=\"100%\" />";
s += "<report:line-style report:line-style=\"nopen\" report:line-weight=\"1\" \
report:line-color=\"#000000\" />"; s += "</report:label>";
- s += "<report:field report:name=\"field17\" report:horizontal-align=\"left\" \
report:item-data-source=\"=project.Name()\" svg:x=\"0cm\" svg:width=\"12.5cm\" svg:y=\"0cm\" \
report:vertical-align=\"bottom\" svg:height=\"1cm\" report:z-index=\"-1\" >"; + s += "<report:field \
report:name=\"field17\" report:horizontal-align=\"left\" report:control-source=\"=project.Name()\" \
svg:x=\"0cm\" svg:width=\"12.5cm\" svg:y=\"0cm\" report:vertical-align=\"bottom\" svg:height=\"1cm\" \
report:z-index=\"-1\" >"; s += "<report:text-style fo:font-weight=\"bold\" fo:letter-spacing=\"0%\" \
style:letter-kerning=\"true\" fo:font-size=\"10\" fo:foreground-color=\"#000000\" fo:font-family=\"DejaVu \
Sans\" fo:background-color=\"#ffffff\" fo:background-opacity=\"100%\" />";
s += "<report:line-style report:line-style=\"nopen\" report:line-weight=\"1\" \
report:line-color=\"#000000\" />"; s += "</report:field>";
@@ -2975,11 +2975,11 @@
s += "</report:label>";
s += "</report:section>";
s += "<report:section svg:height=\"2,50cm\" fo:background-color=\"#ffffff\" \
report:section-type=\"footer-page-any\" >";
- s += "<report:field report:name=\"field10\" report:horizontal-align=\"right\" \
report:item-data-source=\"=constants.PageNumber()\" svg:x=\"6.75cm\" svg:width=\"0.75cm\" \
svg:y=\"0.25cm\" report:vertical-align=\"center\" svg:height=\"0.75cm\" report:z-index=\"0\" >"; + s \
+= "<report:field report:name=\"field10\" report:horizontal-align=\"right\" \
report:control-source=\"=constants.PageNumber()\" svg:x=\"6.75cm\" svg:width=\"0.75cm\" svg:y=\"0.25cm\" \
report:vertical-align=\"center\" svg:height=\"0.75cm\" report:z-index=\"0\" >"; s += "<report:text-style \
fo:letter-spacing=\"0%\" style:letter-kerning=\"true\" fo:font-size=\"8\" fo:foreground-color=\"#000000\" \
fo:font-family=\"DejaVu Sans\" fo:background-color=\"#ffffff\" \
fo:background-opacity=\"100%\" />";
s += "<report:line-style report:line-style=\"nopen\" report:line-weight=\"1\" \
report:line-color=\"#000000\" />"; s += "</report:field>";
- s += "<report:field report:name=\"field11\" report:horizontal-align=\"left\" \
report:item-data-source=\"=constants.PageTotal()\" svg:x=\"8.25cm\" svg:width=\"3cm\" svg:y=\"0.25cm\" \
report:vertical-align=\"center\" svg:height=\"0.75cm\" report:z-index=\"0\" >"; + s += "<report:field \
report:name=\"field11\" report:horizontal-align=\"left\" report:control-source=\"=constants.PageTotal()\" \
svg:x=\"8.25cm\" svg:width=\"3cm\" svg:y=\"0.25cm\" report:vertical-align=\"center\" \
svg:height=\"0.75cm\" report:z-index=\"0\" >"; s += "<report:text-style fo:letter-spacing=\"0%\" \
style:letter-kerning=\"true\" fo:font-size=\"8\" fo:foreground-color=\"#000000\" fo:font-family=\"DejaVu \
Sans\" fo:background-color=\"#ffffff\" fo:background-opacity=\"100%\" />";
s += "<report:line-style report:line-style=\"nopen\" report:line-weight=\"1\" \
report:line-color=\"#000000\" />"; s += "</report:field>";
@@ -3002,7 +3002,7 @@
s += "<report:text-style fo:letter-spacing=\"0%\" style:letter-kerning=\"true\" \
fo:font-size=\"8\" fo:foreground-color=\"#000000\" fo:font-family=\"DejaVu Sans\" \
fo:background-color=\"#ffffff\" fo:background-opacity=\"100%\" />";
s += "<report:line-style report:line-style=\"nopen\" report:line-weight=\"1\" \
report:line-color=\"#000000\" />"; s += "</report:label>";
- s += "<report:field report:name=\"field8\" report:horizontal-align=\"left\" \
report:item-data-source=\"Parent\" svg:x=\"0.5cm\" svg:width=\"8cm\" svg:y=\"1cm\" \
report:vertical-align=\"center\" svg:height=\"0.689cm\" report:z-index=\"0\" >"; + s += "<report:field \
report:name=\"field8\" report:horizontal-align=\"left\" report:control-source=\"Parent\" svg:x=\"0.5cm\" \
svg:width=\"8cm\" svg:y=\"1cm\" report:vertical-align=\"center\" svg:height=\"0.689cm\" \
report:z-index=\"0\" >"; s += "<report:text-style fo:font-weight=\"bold\" fo:letter-spacing=\"0%\" \
style:letter-kerning=\"true\" fo:font-size=\"8\" fo:foreground-color=\"#000000\" fo:font-family=\"DejaVu \
Sans\" fo:background-color=\"#ffffff\" fo:background-opacity=\"100%\" />";
s += "<report:line-style report:line-style=\"nopen\" report:line-weight=\"1\" \
report:line-color=\"#000000\" />"; s += "</report:field>";
@@ -3013,11 +3013,11 @@
s += "</report:section>";
s += "</report:group>";
s += "<report:section svg:height=\"0,50cm\" fo:background-color=\"#ffffff\" \
report:section-type=\"detail\" >";
- s += "<report:field report:name=\"field7\" report:horizontal-align=\"left\" \
report:item-data-source=\"NodeName\" svg:x=\"0.5cm\" svg:width=\"3.75cm\" svg:y=\"0cm\" \
report:vertical-align=\"center\" svg:height=\"0.5cm\" report:z-index=\"0\" >"; + s += "<report:field \
report:name=\"field7\" report:horizontal-align=\"left\" report:control-source=\"NodeName\" \
svg:x=\"0.5cm\" svg:width=\"3.75cm\" svg:y=\"0cm\" report:vertical-align=\"center\" svg:height=\"0.5cm\" \
report:z-index=\"0\" >"; s += "<report:text-style fo:letter-spacing=\"0%\" style:letter-kerning=\"true\" \
fo:font-size=\"8\" fo:foreground-color=\"#000000\" fo:font-family=\"DejaVu Sans\" \
fo:background-color=\"#ffffff\" fo:background-opacity=\"100%\" />";
s += "<report:line-style report:line-style=\"nopen\" report:line-weight=\"1\" \
report:line-color=\"#000000\" />"; s += "</report:field>";
- s += "<report:field report:name=\"field9\" report:horizontal-align=\"center\" \
report:item-data-source=\"NodeCompleted\" svg:x=\"4.25cm\" svg:width=\"4.25cm\" svg:y=\"0cm\" \
report:vertical-align=\"center\" svg:height=\"0.5cm\" report:z-index=\"0\" >"; + s += "<report:field \
report:name=\"field9\" report:horizontal-align=\"center\" report:control-source=\"NodeCompleted\" \
svg:x=\"4.25cm\" svg:width=\"4.25cm\" svg:y=\"0cm\" report:vertical-align=\"center\" svg:height=\"0.5cm\" \
report:z-index=\"0\" >"; s += "<report:text-style fo:letter-spacing=\"0%\" style:letter-kerning=\"true\" \
fo:font-size=\"8\" fo:foreground-color=\"#000000\" fo:font-family=\"DejaVu Sans\" \
fo:background-color=\"#ffffff\" fo:background-opacity=\"100%\" />";
s += "<report:line-style report:line-style=\"nopen\" report:line-weight=\"1\" \
report:line-color=\"#000000\" />"; s += "</report:field>";
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic