3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 SEARCHIN
=$SRC_ROOT/writerfilter
/source
/dmapper
23 echo '<?xml version="1.0"?>'
26 xsltproc analyzemodel.xsl model.xml |
tail -n +2
28 find $SEARCHIN -name "*.cxx" -exec grep -nH -A 1 "case NS_" {} \
; |
29 grep -v "//.*case NS_" |
30 sed 's#'$SEARCHIN'##' |
31 sed 's#\(^[^:]*\):\([0-9]*\):#<qname file="\1" line="\2"#' |
32 sed 's#[/* ]*case \(NS_.*\):.*# qname="\1"/>#' |
33 sed 's#.*WRITERFILTERSTATUS: done: \([0-9]*\), planned: \([0-9.]*\), spent: \([0-9.]*\).*#<status done="\1" planned="\2" spent="\3"/>#' |
34 sed 's#.*WRITERFILTERSTATUS:.*#<status done="100"/>#' |
35 sed 's#^.*-[0-9][0-9]*-.*$#<nostatus/>#' |
40 xsltproc analyzestage2.xsl
- |
41 xsltproc analyzestage3.xsl
-