summaryrefslogtreecommitdiff
path: root/help3xsl
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2018-04-19 19:26:46 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2018-04-20 12:33:47 +0200
commitf10b89e1d34ab5faca7c4121dc9d1389617d1ba5 (patch)
tree81507b0f485e3581c461cfd5b6e52d8199666834 /help3xsl
parent5de2306da7f9dea5231c0fd1bfd91491cceb646f (diff)
New Help: Improve table head rendering
Add class to parent <td> of <paragraph role="tablehead"> Change-Id: Ifb9caf4d4ac3ab5e4c750b5bd96260e2dcb298e1 Reviewed-on: https://gerrit.libreoffice.org/53179 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl')
-rw-r--r--help3xsl/default.css5
-rw-r--r--help3xsl/online_transform.xsl22
2 files changed, 25 insertions, 2 deletions
diff --git a/help3xsl/default.css b/help3xsl/default.css
index 8d6d3df2d4..c376844777 100644
--- a/help3xsl/default.css
+++ b/help3xsl/default.css
@@ -123,6 +123,11 @@ pre,
background: #CCF4C6;
text-align: center;
}
+.tableheadcell {
+ background: #CCF4C6;
+ vertical-align:top;
+}
+
.howtogetheader {
font-weight: bold;
border: 1px solid #999999;
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index 34838a5177..e6d6838b7e 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -777,9 +777,27 @@
<xsl:template match="table" mode="embedded"><xsl:call-template name="inserttable"/></xsl:template>
<!-- TABLECELL -->
-<xsl:template match="tablecell"><td valign="top"><xsl:apply-templates /></td></xsl:template>
+<xsl:template match="tablecell">
+ <xsl:choose>
+ <xsl:when test="paragraph[@role='tablehead']">
+ <td class='tableheadcell'><xsl:apply-templates /></td>
+ </xsl:when>
+ <xsl:otherwise>
+ <td><xsl:apply-templates /></td>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
<xsl:template match="tablecell" mode="icontable"><td valign="top"><xsl:apply-templates/></td></xsl:template>
-<xsl:template match="tablecell" mode="embedded"><td valign="top"><xsl:apply-templates mode="embedded"/></td></xsl:template>
+<xsl:template match="tablecell" mode="embedded">
+ <xsl:choose>
+ <xsl:when test="paragraph[@role='tablehead']">
+ <td class='tableheadcell'><xsl:apply-templates mode="embedded"/></td>
+ </xsl:when>
+ <xsl:otherwise>
+ <td><xsl:apply-templates mode="embedded"/></td>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
<!-- TABLEROW -->
<xsl:template match="tablerow"><tr><xsl:apply-templates /></tr></xsl:template>
option> LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/solenv/sanitizers/ubsan-suppressions
AgeCommit message (Collapse)Author
2023-09-15A more principled suppression of -fsanitize=function in external C codeStephan Bergmann
...after <https://github.com/llvm/llvm-project/commit/279a4d0d67c874e80c171666822f2fabdd6fa926> "-fsanitize=function: support C". This includes reverts of 16af9e81863a80116f808ee3cfa4a1bab7c67ac5 "update clang asan suppressions" and 151a43f3d00f6523079c53d6c2d064f80b9a55d6 ""update clang asan suppressions". Change-Id: I49740f5f3a784af1d62b830b47bfdfa27fe3e471 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156935 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-09-02update clang asan suppressionsNoel Grandin
which started showing up with my local clang asan build clang version 18.0.0 (https://github.com/llvm/llvm-project.git 77c780816779bb595b5befe1d711addae67010d6) Change-Id: I7904be80657b4e5e7d2046a932b8ad9a34514a24 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156420 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-09-01update clang asan suppressionsNoel Grandin
which started showing up with my local clang asan build clang version 18.0.0 (https://github.com/llvm/llvm-project.git 77c780816779bb595b5befe1d711addae67010d6) Change-Id: Ia0290839300e245dd11161a5fbea0db746f9022e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156395 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-08Make ubsan-suppressions a bit more preciseStephan Bergmann
Change-Id: I9a326da5e7c69fc4c7f21e472c1f1e2c8a260c1b
2018-03-02More sc files relying on float-divide-by-zero resulting in infStephan Bergmann
...triggering -fsanitize=float-divide-by-zero during e.g. CppunitTest_sc_statistical_functions_test. (Found only now after I removed -fno-sanitize-recover=ALL -fsanitize-recover=float-divide-by-zero from CXX and instead added halt_on_error=1 to UBSAN_OPTIONS.) Change-Id: Iead2147e42af33b987edb8e10804bc4eefa1aeca Reviewed-on: https://gerrit.libreoffice.org/50637 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-08-17revert div by 0 ubsan hackarounds nowCaolán McNamara
Change-Id: I6497a87d3071f91d5465033d2dc6ecafaa6461f4 Revert "use div() instead of /0 to content ubsan" This reverts commit fa293f7d6792a2beab048461c8a067e9ca980bb8. Revert "use div() instead of /0 to content ubsan" This reverts commit e043cce9a48c1e4f4dd232a58de64f03d1d3919f. Revert "use div() instead of /0 to content ubsan" This reverts commit ebe04c075649c677b55941e3b4e57fbca150b5db. Revert "use div() instead of /0 to content ubsan" This reverts commit fb2c146752074b132d665e40343a08dcb2e6672e.
2016-08-17Silence -fsanitize=float-divide-by-zero in some parts of scStephan Bergmann
...that rely on floating-point division by zero to produce infinity Change-Id: I081c88a9631b1d8aab85c600c6da04f158089644