1 #*************************************************************************
3 # OpenOffice.org - a multi-platform office productivity suite
9 # last change: $Author$ $Date$
11 # The Contents of this file are made available subject to
12 # the terms of GNU Lesser General Public License Version 2.1.
15 # GNU Lesser General Public License Version 2.1
16 # =============================================
17 # Copyright 2005 by Sun Microsystems, Inc.
18 # 901 San Antonio Road, Palo Alto, CA 94303, USA
20 # This library is free software; you can redistribute it and/or
21 # modify it under the terms of the GNU Lesser General Public
22 # License version 2.1, as published by the Free Software Foundation.
24 # This library is distributed in the hope that it will be useful,
25 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27 # Lesser General Public License for more details.
29 # You should have received a copy of the GNU Lesser General Public
30 # License along with this library; if not, write to the Free Software
31 # Foundation, Inc., 51 Franklin Street, 5th Floor, Boston,
34 #*************************************************************************
40 .INCLUDE
: settings.mk
42 .IF
"$(ENABLE_LAYOUT)" == "TRUE"
56 .ELSE
# ENABLE_LAYOUT != TRUE
58 .ENDIF
# ENABLE_LAYOUT != TRUE
62 localize.sdf
: $(PRJ
)/source
/ui
/miscdlgs
/localize.sdf
$(PRJ
)/source
/ui
/src
/localize.sdf
63 grep instbdlg.src
$(PRJ
)/source
/ui
/miscdlgs
/localize.sdf | awk
-F
'\t' '{{printf "%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n", "layout", "sc\\uiconfig\\layout\\insert-sheet.xml", $$3, "layout", $$5 $$6 "_label", "", "", $$8, "0", $$10, $$11, $$12, "", $$14, $$15}}' | sed
-e
's/\(\(FL\|STR\)_[^\t]*\)_label/\1_text/' -e
's/\tRID_SCDLG_INSERT_TABLE/\t/' -e
's/\t_label/\tRID_SCDLG_INSERT_TABLE_title/' > insert-sheet-
$@
64 grep
-E
'miscdlgs.src.*(FT_DEST|FT_INSERT|STR_NEWDOC|RID_SCDLG_MOVETAB|BTN_COPY)' $(PRJ
)/source
/ui
/src
/localize.sdf | awk
-F
'\t' '{{printf "%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n", "layout", "sc\\uiconfig\\layout\\move-copy-sheet.xml", $$3, "layout", $$5 $$6 "_label", "", "", $$8, "0", $$10, $$11, $$12, "", $$14, $$15}}' | sed
-e
's/\(\(FL\|STR\)_[^\t]*\)_label/\1_text/' -e
's/\tRID_SCDLG_MOVETAB/\t/' -e
's/\t_label/\tRID_SCDLG_MOVETAB_title/'> move-copy-sheet-
$@
65 grep sortdlg.src
$(PRJ
)/source
/ui
/src
/localize.sdf | awk
-F
'\t' '{{printf "%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n", "layout", "sc\\uiconfig\\layout\\sort-options.xml", $$3, "layout", $$5 $$6 "_label", "", "", $$8, "0", $$10, $$11, $$12, "", $$14, $$15}}' | sed
-e
's/\(\(FL\|STR\)_[^\t]*\)_label/\1_text/' -e
's/\tRID_SCDLG_SORT/\t/' -e
's/\t_label/\tRID_SCDLG_SORT_title/' -e
's/\tRID_SCPAGE_SORT_OPTIONS/\t/' -e
's/\tRID_SCPAGE_SORT_FIELDS/\t/' > sort-options-
$@
66 echo
'#empty' | cat
- insert-sheet-
$@ move-copy-sheet-
$@ sort-options-
$@
> $@