diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2008-12-17 12:46:28 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2008-12-17 12:46:28 +0000 |
commit | 26da3707dd9e558d31dc4ca4978761962d57a694 (patch) | |
tree | 3d2e09c40675f94114793617a2fc16fb6219ab4c /svx/uiconfig | |
parent | 55793925843be0fdb248aff23e28e02c6e20b833 (diff) |
#i10000# I somehow managed to remove dozens of files by mistake when integrating CWS tl56_DEV300 (r265489). Revive.
Diffstat (limited to 'svx/uiconfig')
-rw-r--r-- | svx/uiconfig/layout/delzip | 1 | ||||
-rw-r--r-- | svx/uiconfig/layout/layout.mk | 33 | ||||
-rw-r--r-- | svx/uiconfig/layout/makefile.mk | 50 | ||||
-rw-r--r-- | svx/uiconfig/layout/zoom.xml | 59 |
4 files changed, 143 insertions, 0 deletions
diff --git a/svx/uiconfig/layout/delzip b/svx/uiconfig/layout/delzip new file mode 100644 index 0000000000..7b4d68d70f --- /dev/null +++ b/svx/uiconfig/layout/delzip @@ -0,0 +1 @@ +empty
\ No newline at end of file diff --git a/svx/uiconfig/layout/layout.mk b/svx/uiconfig/layout/layout.mk new file mode 100644 index 0000000000..f6bea876d8 --- /dev/null +++ b/svx/uiconfig/layout/layout.mk @@ -0,0 +1,33 @@ +# TODO: move to solenv/inc +# copies: sw/uiconfig/layout svx/uiconfig/layout + +TRALAY=tralay +XML_DEST=$(DLLDEST) +XML_LANGS=$(alllangiso) + +ALL_XMLS=$(foreach,i,$(XML_FILES) $(XML_DEST)/$i) $(foreach,i,$(XML_LANGS) $(foreach,j,$(XML_FILES) $(XML_DEST)/$i/$j)) + +# Must remove the -j (no duplicate base file names) flag +ZIPUPDATE=-u +XML_ZIP = $(PRJNAME)-layout + +ALLTAR: $(XML_ZIP) + +$(XML_ZIP): $(ALL_XMLS) + +ZIP1DIR=$(XML_DEST) +ZIP1TARGET=$(XML_ZIP) +ZIP1LIST=$(ALL_XMLS:s@$(XML_DEST)/@@) + +$(foreach,i,$(XML_LANGS) $(XML_DEST)/$i/%.xml): %.xml + -$(MKDIR) $(@:d) + @echo $(foreach,i,$(XML_LANGS) $(XML_DEST)/$i/%.xml): %.xml + $(TRALAY) -m localize.sdf -o $(XML_DEST) -l $(XML_LANGS:f:t" -l ") $< + +$(XML_DEST)/%.xml: %.xml + -$(MKDIR) $(@:d) + $(COPY) $< $@ + +# Don't want to overwrite filled localize.sdf with empty template +template.sdf: + $(foreach,i,$(XML_FILES) $(TRALAY) -l en-US $i) > $@ diff --git a/svx/uiconfig/layout/makefile.mk b/svx/uiconfig/layout/makefile.mk new file mode 100644 index 0000000000..d22d6eb103 --- /dev/null +++ b/svx/uiconfig/layout/makefile.mk @@ -0,0 +1,50 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2008 by Sun Microsystems, Inc. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# $RCSfile: makefile.mk,v $ +# +# $Revision: 1.2 $ +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +PRJ=../.. +PRJNAME=svx +TARGET=layout + +.INCLUDE : settings.mk + +.IF "$(ENABLE_LAYOUT)" == "TRUE" + +all: ALLTAR + +XML_FILES=zoom.xml + +.INCLUDE : layout.mk + +.ELSE # ENABLE_LAYOUT != TRUE +all .PHONY: +.ENDIF # ENABLE_LAYOUT != TRUE + +.INCLUDE : target.mk diff --git a/svx/uiconfig/layout/zoom.xml b/svx/uiconfig/layout/zoom.xml new file mode 100644 index 0000000000..78e30ee11d --- /dev/null +++ b/svx/uiconfig/layout/zoom.xml @@ -0,0 +1,59 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- This is a template. i18n translation is not performed in-place; + i18n translated xml files are generated from this template by + transex3/layout/tralay. !--> + +<modaldialog xmlns="http://openoffice.org/2007/layout" + xmlns:cnt="http://openoffice.org/2007/layout/container" + id="RID_SVXDLG_ZOOM" _title="Zoom & View Layout" optimumsize="true" + help-id="SID_ATTR_ZOOM" + has_border="true" sizeable="true" moveable="true"> + <vbox spacing="5" border="5"> + <hbox spacing="0" border="0"> + <vbox spacing="5" border="5"> + <fixedline id="FL_ZOOM" _text="Zoom factor" cnt:expand="true"/> + <radiobutton radiogroup="zoom" id="BTN_OPTIMAL" _label="Optimal"/> + <radiobutton radiogroup="zoom" id="BTN_WHOLE_PAGE" _label="Whole Page"/> + <radiobutton radiogroup="zoom" id="BTN_PAGE_WIDTH" _label="Page Width"/> + <radiobutton radiogroup="zoom" id="BTN_100" _label="100 %"/> + <hbox cnt:expand="false" cnt:fill="true"> + <align cnt:expand="false" cnt:fill="true"> + <radiobutton cnt:v-align="0.5" cnt:v-fill="0" radiogroup="zoom" id="BTN_USER" _label="Variable"/> + </align> + <flow cnt:padding="10" cnt:expand="false"/> + <metricfield id="ED_USER" value-step="1" + repeat="true" has_border="true" spin="true" + _text="100%" unit="11" custom-unit-text="%" + right="true" + cnt:expand="false"/> + </hbox> + </vbox> + <vbox spacing="5" border="5"> + <fixedline id="FL_VIEWLAYOUT" _text="View layout" cnt:expand="true"/> + <radiobutton radiogroup="zoom" id="BTN_AUTOMATIC" _label="~Automatic"/> + <radiobutton radiogroup="zoom" id="BTN_SINGLE" _label="~Single page"/> + <hbox cnt:expand="false" cnt:fill="true"> + <align cnt:expand="false" cnt:fill="true"> + <radiobutton cnt:v-align="0.5" cnt:v-fill="0" radiogroup="zoom" id="BTN_COLUMNS" _label="~Columns"/> + </align> + <flow cnt:padding="10" cnt:expand="false"/> + <metricfield id="ED_COLUMNS" value-step="1" + repeat="true" has_border="true" spin="true" + _text="100%" + right="true" + spin-value-min="1" + spin-value="1" + cnt:expand="false"/> + </hbox> + <hbox><flow cnt:expand="false" cnt:padding="10"/><checkbox id="CHK_BOOK" _label="~Book mode"/></hbox> + </vbox> + </hbox> + <fixedline cnt:padding="1" id="FL_BOTTOM"/> + <dialogbuttonhbox border="5" spacing="5"> + <flow/> + <okbutton id="BTN_ZOOM_OK"/> + <cancelbutton id="BTN_ZOOM_CANCEL"/> + <helpbutton id="BTN_ZOOM_HELP"/> + </dialogbuttonhbox> + </vbox> +</modaldialog> |