This is an automated email from the ASF dual-hosted git repository. mseidel pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push: new 745cba7 Cleaned up resource files 745cba7 is described below commit 745cba7f2b2305f6a695235f4d9ac886e9304aaa Author: mseidel <msei...@apache.org> AuthorDate: Fri Feb 26 00:36:14 2021 +0100 Cleaned up resource files --- main/sfx2/source/dialog/mgetempl.src | 130 ++++++++++-------------- main/sfx2/source/dialog/newstyle.src | 59 +++-------- main/sfx2/source/dialog/recfloat.src | 63 +++++------- main/sfx2/source/dialog/securitypage.src | 165 ++++++++++++++++--------------- main/sfx2/source/dialog/templdlg.src | 111 +++++++++------------ main/sfx2/source/dialog/titledockwin.src | 13 +-- main/sfx2/source/dialog/versdlg.src | 145 ++++++++++++--------------- 7 files changed, 287 insertions(+), 399 deletions(-) diff --git a/main/sfx2/source/dialog/mgetempl.src b/main/sfx2/source/dialog/mgetempl.src index 6b101bc..869a297 100644 --- a/main/sfx2/source/dialog/mgetempl.src +++ b/main/sfx2/source/dialog/mgetempl.src @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,156 +7,126 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ - // include --------------------------------------------------------------- + +// include --------------------------------------------------------------- #include <sfx2/sfx.hrc> #include "helpid.hrc" #include "mgetempl.hrc" - // pragma ---------------------------------------------------------------- +// pragma ---------------------------------------------------------------- - // TP_MANAGE_STYLES ------------------------------------------------------ +// TP_MANAGE_STYLES ------------------------------------------------------ TabPage TP_MANAGE_STYLES { HelpId = HID_MANAGE_STYLES ; Hide = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( 260, 185 ) ; FixedText FT_NAME { - Pos = MAP_APPFONT ( 6 , 8 ) ; - Size = MAP_APPFONT ( 61 , 10 ) ; + Pos = MAP_APPFONT ( 6, 8 ) ; + Size = MAP_APPFONT ( 61, 10 ) ; Text [ en-US ] = "~Name" ; }; Edit ED_NAME { - HelpID = "sfx2:Edit:TP_MANAGE_STYLES:ED_NAME"; + HelpID = "sfx2:Edit:TP_MANAGE_STYLES:ED_NAME" ; Border = TRUE ; - Pos = MAP_APPFONT ( 70 , 6 ) ; - Size = MAP_APPFONT ( 184 , 12 ) ; + Pos = MAP_APPFONT ( 70, 6 ) ; + Size = MAP_APPFONT ( 184, 12 ) ; + }; + MultiLineEdit MLE_NAME + { + Pos = MAP_APPFONT ( 70, 8 ) ; + Size = MAP_APPFONT ( 80, 12 ) ; + Border = FALSE ; + ReadOnly = TRUE ; + Hide = TRUE ; }; - MultiLineEdit MLE_NAME - { - Pos = MAP_APPFONT ( 70 , 8 ) ; - Size = MAP_APPFONT ( 80 , 12 ) ; - Border = FALSE; - ReadOnly = TRUE; - Hide = TRUE; - }; CheckBox CB_AUTO { - HelpID = "sfx2:CheckBox:TP_MANAGE_STYLES:CB_AUTO"; - Pos = MAP_APPFONT ( 164 , 8 ) ; - Size = MAP_APPFONT ( 90 , 10 ) ; + HelpID = "sfx2:CheckBox:TP_MANAGE_STYLES:CB_AUTO" ; + Pos = MAP_APPFONT ( 164, 8 ) ; + Size = MAP_APPFONT ( 90, 10 ) ; Hide = TRUE ; Text [ en-US ] = "~AutoUpdate" ; }; FixedText FT_NEXT { - Pos = MAP_APPFONT ( 6 , 26 ) ; - Size = MAP_APPFONT ( 61 , 10 ) ; + Pos = MAP_APPFONT ( 6, 26 ) ; + Size = MAP_APPFONT ( 61, 10 ) ; Text [ en-US ] = "Ne~xt Style" ; }; ListBox LB_NEXT { - HelpID = "sfx2:ListBox:TP_MANAGE_STYLES:LB_NEXT"; + HelpID = "sfx2:ListBox:TP_MANAGE_STYLES:LB_NEXT" ; Border = TRUE ; - Pos = MAP_APPFONT ( 70 , 24 ) ; - Size = MAP_APPFONT ( 184 , 65 ) ; + Pos = MAP_APPFONT ( 70, 24 ) ; + Size = MAP_APPFONT ( 184, 65 ) ; DropDown = TRUE ; Sort = TRUE ; }; FixedText FT_BASE { - Pos = MAP_APPFONT ( 6 , 44 ) ; - Size = MAP_APPFONT ( 61 , 10 ) ; - /* ### ACHTUNG: Neuer Text in Resource? ~Verkn�pft mit : ~Verkn�pft mit */ - /* ### ACHTUNG: Neuer Text in Resource? ~Verkn�pft mit : ~Verkn�pft mit */ + Pos = MAP_APPFONT ( 6, 44 ) ; + Size = MAP_APPFONT ( 61, 10 ) ; Text [ en-US ] = "Linked with" ; }; ListBox LB_BASE { - HelpID = "sfx2:ListBox:TP_MANAGE_STYLES:LB_BASE"; + HelpID = "sfx2:ListBox:TP_MANAGE_STYLES:LB_BASE" ; Border = TRUE ; - Pos = MAP_APPFONT ( 70 , 42 ) ; - Size = MAP_APPFONT ( 184 , 65 ) ; + Pos = MAP_APPFONT ( 70, 42 ) ; + Size = MAP_APPFONT ( 184, 65 ) ; DropDown = TRUE ; Sort = TRUE ; }; FixedText FT_REGION { - Pos = MAP_APPFONT ( 6 , 62 ) ; - Size = MAP_APPFONT ( 61 , 10 ) ; + Pos = MAP_APPFONT ( 6, 62 ) ; + Size = MAP_APPFONT ( 61, 10 ) ; Text [ en-US ] = "~Category" ; }; ListBox LB_REGION { - HelpID = "sfx2:ListBox:TP_MANAGE_STYLES:LB_REGION"; + HelpID = "sfx2:ListBox:TP_MANAGE_STYLES:LB_REGION" ; Border = TRUE ; - Pos = MAP_APPFONT ( 70 , 60 ) ; - Size = MAP_APPFONT ( 184 , 64 ) ; + Pos = MAP_APPFONT ( 70, 60 ) ; + Size = MAP_APPFONT ( 184, 64 ) ; DropDown = TRUE ; }; FixedText FT_DESC { - Pos = MAP_APPFONT ( 12 , 88 ) ; - Size = MAP_APPFONT ( 236 , 85 ) ; + Pos = MAP_APPFONT ( 12, 88 ) ; + Size = MAP_APPFONT ( 236, 85 ) ; WordBreak = TRUE ; Hide = TRUE ; }; MultiLineEdit ED_DESC { - HelpID = "sfx2:MultiLineEdit:TP_MANAGE_STYLES:ED_DESC"; - Pos = MAP_APPFONT ( 12 , 88 ) ; - Size = MAP_APPFONT ( 236 , 85 ) ; + HelpID = "sfx2:MultiLineEdit:TP_MANAGE_STYLES:ED_DESC" ; + Pos = MAP_APPFONT ( 12, 88 ) ; + Size = MAP_APPFONT ( 236, 85 ) ; ReadOnly = TRUE ; - IgnoreTab = TRUE; + IgnoreTab = TRUE ; }; - FixedLine GB_DESC + FixedLine GB_DESC { - Pos = MAP_APPFONT ( 6 , 77 ) ; - Size = MAP_APPFONT ( 248 , 8 ) ; + Pos = MAP_APPFONT ( 6, 77 ) ; + Size = MAP_APPFONT ( 248, 8 ) ; Text [ en-US ] = "Contains" ; }; }; - // ********************************************************************** EOF - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +// ********************************************************************** EOF diff --git a/main/sfx2/source/dialog/newstyle.src b/main/sfx2/source/dialog/newstyle.src index 520ed1a..62d0c9a 100644 --- a/main/sfx2/source/dialog/newstyle.src +++ b/main/sfx2/source/dialog/newstyle.src @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,16 +7,16 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ @@ -31,34 +31,34 @@ ModalDialog DLG_NEW_STYLE_BY_EXAMPLE HelpId = CMD_SID_STYLE_NEW_BY_EXAMPLE ; OutputSize = TRUE ; SVLook = TRUE ; - Size = MAP_APPFONT ( 177 , 112 ) ; + Size = MAP_APPFONT ( 177, 112 ) ; Text [ en-US ] = "Create Style" ; Moveable = TRUE ; FixedLine FL_COL { - Pos = MAP_APPFONT ( 6 , 3 ) ; - Size = MAP_APPFONT ( 109 , 8 ) ; + Pos = MAP_APPFONT ( 6, 3 ) ; + Size = MAP_APPFONT ( 109, 8 ) ; Text [ en-US ] = "Style name" ; }; ComboBox LB_COL { - HelpID = "sfx2:ComboBox:DLG_NEW_STYLE_BY_EXAMPLE:LB_COL"; - Pos = MAP_APPFONT ( 12 , 14 ) ; - Size = MAP_APPFONT ( 94 , 92 ) ; + HelpID = "sfx2:ComboBox:DLG_NEW_STYLE_BY_EXAMPLE:LB_COL" ; + Pos = MAP_APPFONT ( 12, 14 ) ; + Size = MAP_APPFONT ( 94, 92 ) ; TabStop = TRUE ; }; OKButton BT_OK { Disable = TRUE ; - Pos = MAP_APPFONT ( 121 , 6 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; + Pos = MAP_APPFONT ( 121, 6 ) ; + Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; DefButton = TRUE ; }; CancelButton BT_CANCEL { - Pos = MAP_APPFONT ( 121 , 23 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; + Pos = MAP_APPFONT ( 121, 23 ) ; + Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; }; QueryBox MSG_OVERWRITE @@ -69,33 +69,4 @@ ModalDialog DLG_NEW_STYLE_BY_EXAMPLE }; }; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +// ********************************************************************** EOF diff --git a/main/sfx2/source/dialog/recfloat.src b/main/sfx2/source/dialog/recfloat.src index 688b6b8..9aeca8b 100644 --- a/main/sfx2/source/dialog/recfloat.src +++ b/main/sfx2/source/dialog/recfloat.src @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,77 +7,60 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ - // include --------------------------------------------------------------- + +// include --------------------------------------------------------------- #include "helpid.hrc" #include "dialog.hrc" - // ----------------------------------------------------------------------- -#define STD_MASKCOLOR Color { Red = 0xC000; Green = 0xC000; Blue = 0xC000; } +// ----------------------------------------------------------------------- +#define STD_MASKCOLOR Color { Red = 0xC000 ; Green = 0xC000 ; Blue = 0xC000 ; } #define STD_HC_MASKCOLOR Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; } FloatingWindow SID_RECORDING_FLOATWINDOW { - HelpID = "sfx2:FloatingWindow:SID_RECORDING_FLOATWINDOW"; + HelpID = "sfx2:FloatingWindow:SID_RECORDING_FLOATWINDOW" ; Moveable = TRUE ; Closeable = TRUE ; Hide = TRUE ; SVLook = TRUE ; - Text [ en-US ] = "Record Macro"; + Text [ en-US ] = "Record Macro" ; }; ToolBox SID_RECORDING_FLOATWINDOW { - SVLook = TRUE ; - ButtonType = BUTTON_TEXT; - ItemList = - { - ToolBoxItem - { - Identifier = SID_STOP_RECORDING; - Command = ".uno:StopRecording"; - }; - }; + SVLook = TRUE ; + ButtonType = BUTTON_TEXT ; + ItemList = + { + ToolBoxItem + { + Identifier = SID_STOP_RECORDING ; + Command = ".uno:StopRecording" ; + }; + }; }; String STR_MACRO_LOSS { - Text [ en-US ] = "Do you really want to cancel the recording? Any steps recorded up to this point will be lost."; + Text [ en-US ] = "Do you really want to cancel the recording? Any steps recorded up to this point will be lost." ; }; String STR_CANCEL_RECORDING { - Text [ en-US ] = "Cancel Recording"; + Text [ en-US ] = "Cancel Recording" ; }; - - - - - - - - - - - - - - - - - - - +// ********************************************************************** EOF diff --git a/main/sfx2/source/dialog/securitypage.src b/main/sfx2/source/dialog/securitypage.src index a0e1765..1f94fb3 100644 --- a/main/sfx2/source/dialog/securitypage.src +++ b/main/sfx2/source/dialog/securitypage.src @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,16 +7,16 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ @@ -34,137 +34,138 @@ TabPage TP_DOCINFOSECURITY { HelpId = HID_DOCINFOSECURITY ; Hide = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( 260, 185 ) ; FixedLine PASSWORD_TO_OPEN_FL { - Pos = MAP_APPFONT( 6, 6 ); - Size = MAP_APPFONT( 248, RSC_CD_FIXEDLINE_HEIGHT ); - Text [ en-US ] = "File encryption password"; + Pos = MAP_APPFONT ( 6, 6 ) ; + Size = MAP_APPFONT ( 248, RSC_CD_FIXEDLINE_HEIGHT ) ; + Text [ en-US ] = "File encryption password" ; }; FixedText PASSWORD_TO_OPEN_FT { - Pos = MAP_APPFONT( 12, 20 ); - Size = MAP_APPFONT( 82, RSC_CD_FIXEDTEXT_HEIGHT ); - Text [ en-US ] = "~Enter password to open"; + Pos = MAP_APPFONT ( 12, 20 ) ; + Size = MAP_APPFONT ( 82, RSC_CD_FIXEDTEXT_HEIGHT ) ; + Text [ en-US ] = "~Enter password to open" ; }; Edit PASSWORD_TO_OPEN_ED { - HelpId = HID_SECURITYTAB_PASSWORD_TO_OPEN; - Pos = MAP_APPFONT( 100, 18 ); - Size = MAP_APPFONT( 88, RSC_CD_TEXTBOX_HEIGHT ); - Border = TRUE; - PassWord = TRUE; + HelpId = HID_SECURITYTAB_PASSWORD_TO_OPEN ; + Pos = MAP_APPFONT ( 100, 18 ) ; + Size = MAP_APPFONT ( 88, RSC_CD_TEXTBOX_HEIGHT ) ; + Border = TRUE ; + PassWord = TRUE ; }; FixedText CONFIRM_PASSWORD_TO_OPEN_FT { - Pos = MAP_APPFONT( 12, 34 ); - Size = MAP_APPFONT( 82, RSC_CD_FIXEDTEXT_HEIGHT ); - Text [ en-US ] = "~Reenter password to open"; + Pos = MAP_APPFONT ( 12, 34 ) ; + Size = MAP_APPFONT ( 82, RSC_CD_FIXEDTEXT_HEIGHT ) ; + Text [ en-US ] = "~Reenter password to open" ; }; Edit CONFIRM_PASSWORD_TO_OPEN_ED { - HelpId = HID_SECURITYTAB_CONFIRM_PASSWORD_TO_OPEN; - Pos = MAP_APPFONT( 100, 32 ); - Size = MAP_APPFONT( 88, RSC_CD_TEXTBOX_HEIGHT ); - Border = TRUE; - PassWord = TRUE; + HelpId = HID_SECURITYTAB_CONFIRM_PASSWORD_TO_OPEN ; + Pos = MAP_APPFONT ( 100, 32 ) ; + Size = MAP_APPFONT ( 88, RSC_CD_TEXTBOX_HEIGHT ) ; + Border = TRUE ; + PassWord = TRUE ; }; - FixedText PASSWORD_INFO_FT + FixedText PASSWORD_INFO_FT { - Pos = MAP_APPFONT( 12, 48 ); - Size = MAP_APPFONT( 236, 3 * RSC_CD_FIXEDTEXT_HEIGHT ); - Text [ en-US ] = + Pos = MAP_APPFONT ( 12, 48 ) ; + Size = MAP_APPFONT ( 236, 3 * RSC_CD_FIXEDTEXT_HEIGHT ) ; + Text [ en-US ] = "Note: After a password has been set, the document will only open "\ "with the password. Should you lose the password, there will be "\ "no way to recover the document. Please also note that this password "\ - "is case-sensitive."; - WordBreak = TRUE; + "is case-sensitive." ; + WordBreak = TRUE ; }; FixedLine PASSWORD_TO_MODIFY_FL { - Pos = MAP_APPFONT( 6, 78 ); - Size = MAP_APPFONT( 248, RSC_CD_FIXEDLINE_HEIGHT ); - Text [ en-US ] = "File sharing password"; + Pos = MAP_APPFONT ( 6, 78 ) ; + Size = MAP_APPFONT ( 248, RSC_CD_FIXEDLINE_HEIGHT ) ; + Text [ en-US ] = "File sharing password" ; }; FixedText PASSWORD_TO_MODIFY_FT { - Pos = MAP_APPFONT( 12, 92 ); - Size = MAP_APPFONT( 82, RSC_CD_FIXEDTEXT_HEIGHT ); - Text [ en-US ] = "Enter password to modify"; + Pos = MAP_APPFONT ( 12, 92 ) ; + Size = MAP_APPFONT ( 82, RSC_CD_FIXEDTEXT_HEIGHT ) ; + Text [ en-US ] = "Enter password to modify" ; }; Edit PASSWORD_TO_MODIFY_ED { - HelpId = HID_SECURITYTAB_PASSWORD_TO_MODIFY; - Pos = MAP_APPFONT( 100, 90 ); - Size = MAP_APPFONT( 88, RSC_CD_TEXTBOX_HEIGHT ); - Border = TRUE; - PassWord = TRUE; + HelpId = HID_SECURITYTAB_PASSWORD_TO_MODIFY ; + Pos = MAP_APPFONT ( 100, 90 ) ; + Size = MAP_APPFONT ( 88, RSC_CD_TEXTBOX_HEIGHT ) ; + Border = TRUE ; + PassWord = TRUE ; }; FixedText CONFIRM_PASSWORD_TO_MODIFY_FT { - Pos = MAP_APPFONT( 12, 106 ); - Size = MAP_APPFONT( 82, RSC_CD_FIXEDTEXT_HEIGHT ); - Text [ en-US ] = "Reenter password to modify"; + Pos = MAP_APPFONT ( 12, 106 ) ; + Size = MAP_APPFONT ( 82, RSC_CD_FIXEDTEXT_HEIGHT ) ; + Text [ en-US ] = "Reenter password to modify" ; }; Edit CONFIRM_PASSWORD_TO_MODIFY_ED { - HelpId = HID_SECURITYTAB_CONFIRM_PASSWORD_TO_MODIFY; - Pos = MAP_APPFONT( 100, 104 ); - Size = MAP_APPFONT( 88, RSC_CD_TEXTBOX_HEIGHT ); - Border = TRUE; - PassWord = TRUE; + HelpId = HID_SECURITYTAB_CONFIRM_PASSWORD_TO_MODIFY ; + Pos = MAP_APPFONT ( 100, 104 ) ; + Size = MAP_APPFONT ( 88, RSC_CD_TEXTBOX_HEIGHT ) ; + Border = TRUE ; + PassWord = TRUE ; }; FixedLine OPTIONS_FL { - Pos = MAP_APPFONT( 6, 120 ); - Size = MAP_APPFONT( 248, RSC_CD_FIXEDLINE_HEIGHT ); - Text [ en-US ] = "File sharing options"; + Pos = MAP_APPFONT ( 6, 120 ) ; + Size = MAP_APPFONT ( 248, RSC_CD_FIXEDLINE_HEIGHT ) ; + Text [ en-US ] = "File sharing options" ; }; CheckBox OPEN_READONLY_CB { - HelpId = HID_SECURITYTAB_OPEN_FILE_READONLY; - Pos = MAP_APPFONT( 12, 133 ); - Size = MAP_APPFONT( 176, RSC_CD_CHECKBOX_HEIGHT ); - Text [ en-US ] = "~Open file read-only"; + HelpId = HID_SECURITYTAB_OPEN_FILE_READONLY ; + Pos = MAP_APPFONT ( 12, 133 ) ; + Size = MAP_APPFONT ( 176, RSC_CD_CHECKBOX_HEIGHT ) ; + Text [ en-US ] = "~Open file read-only" ; }; CheckBox RECORD_CHANGES_CB { - HelpId = HID_SECURITYTAB_RECORD_CHANGES; - Pos = MAP_APPFONT( 12, 147 ); - Size = MAP_APPFONT( 176, RSC_CD_CHECKBOX_HEIGHT ); - Text [ en-US ] = "Record ~changes"; - }; - PushButton CHANGE_PROTECTION_PB - { - HelpId = HID_SECURITYTAB_PROTECTION; - Pos = MAP_APPFONT( 194, 145 ); - Size = MAP_APPFONT( 60, RSC_CD_PUSHBUTTON_HEIGHT ); - }; - String STR_PROTECT - { - Text [ en-US ] = "~Protect..."; - }; - String STR_UNPROTECT - { - Text [ en-US ] = "~Unprotect..."; - }; - String STR_END_REDLINING_WARNING - { - Text [ en-US ] = "This action will exit the change recording mode.\nAny information about changes will be lost.\n\nExit change recording mode?\n\n" ; - }; + HelpId = HID_SECURITYTAB_RECORD_CHANGES ; + Pos = MAP_APPFONT ( 12, 147 ) ; + Size = MAP_APPFONT ( 176, RSC_CD_CHECKBOX_HEIGHT ) ; + Text [ en-US ] = "Record ~changes" ; + }; + PushButton CHANGE_PROTECTION_PB + { + HelpId = HID_SECURITYTAB_PROTECTION ; + Pos = MAP_APPFONT ( 194, 145 ) ; + Size = MAP_APPFONT ( 60, RSC_CD_PUSHBUTTON_HEIGHT ) ; + }; + String STR_PROTECT + { + Text [ en-US ] = "~Protect..." ; + }; + String STR_UNPROTECT + { + Text [ en-US ] = "~Unprotect..." ; + }; + String STR_END_REDLINING_WARNING + { + Text [ en-US ] = "This action will exit the change recording mode.\nAny information about changes will be lost.\n\nExit change recording mode?\n\n" ; + }; }; String RID_SFX_PROTECT_RECORDS { - Text [ en-US ] = "Protect Records" ; + Text [ en-US ] = "Protect Records" ; }; String RID_SFX_UNPROTECT_RECORDS { - Text [ en-US ] = "Unprotect Records" ; + Text [ en-US ] = "Unprotect Records" ; }; String RID_SFX_INCORRECT_PASSWORD { - Text [ en-US ] = "Incorrect password" ; + Text [ en-US ] = "Incorrect password" ; }; +// ********************************************************************** EOF diff --git a/main/sfx2/source/dialog/templdlg.src b/main/sfx2/source/dialog/templdlg.src index 75b4cea..2f102f8 100644 --- a/main/sfx2/source/dialog/templdlg.src +++ b/main/sfx2/source/dialog/templdlg.src @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,20 +7,21 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ - // include --------------------------------------------------------------- + +// include --------------------------------------------------------------- #include <sfx2/sfx.hrc> #include "dialog.hrc" #include "templdlg.hrc" @@ -28,94 +29,94 @@ ImageList DLG_STYLE_DESIGNER { - Prefix = "sc"; - MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; }; + Prefix = "sc" ; + MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; } ; IdList = { SID_STYLE_WATERCAN ; SID_STYLE_NEW_BY_EXAMPLE ; SID_STYLE_UPDATE_BY_EXAMPLE ; }; - IdCount = { 3 ; }; + IdCount = { 3 ; } ; }; ImageList IMG_LST_STYLE_DESIGNER_HC { - Prefix = "sch"; - MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; }; + Prefix = "sch" ; + MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; } ; IdList = { SID_STYLE_WATERCAN ; SID_STYLE_NEW_BY_EXAMPLE ; SID_STYLE_UPDATE_BY_EXAMPLE ; }; - IdCount = { 3 ; }; + IdCount = { 3 ; } ; }; - // RID_STYLECATALOG ------------------------------------------------------ +// RID_STYLECATALOG ------------------------------------------------------ ModalDialog RID_STYLECATALOG { HelpId = CMD_SID_STYLE_CATALOG ; OutputSize = TRUE ; SVLook = TRUE ; - Size = MAP_APPFONT ( 181 , 134 ) ; + Size = MAP_APPFONT ( 181, 134 ) ; Text [ en-US ] = "Style Catalog" ; Moveable = TRUE ; OKButton BT_OK { DefButton = TRUE ; - Pos = MAP_APPFONT ( 123 , 6 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; + Pos = MAP_APPFONT ( 123, 6 ) ; + Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; }; CancelButton BT_CANCEL { - Pos = MAP_APPFONT ( 123 , 23 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; + Pos = MAP_APPFONT ( 123, 23 ) ; + Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; }; PushButton BT_ORG { - HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_ORG"; - Pos = MAP_APPFONT ( 123 , 97 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; + HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_ORG" ; + Pos = MAP_APPFONT ( 123, 97 ) ; + Size = MAP_APPFONT ( 50, 14 ) ; Text [ en-US ] = "~Organizer..." ; TabStop = TRUE ; }; PushButton BT_DEL { - HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_DEL"; - Pos = MAP_APPFONT ( 123 , 78 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; + HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_DEL" ; + Pos = MAP_APPFONT ( 123, 78 ) ; + Size = MAP_APPFONT ( 50, 14 ) ; Text [ en-US ] = "~Delete..." ; TabStop = TRUE ; }; PushButton BT_EDIT { - HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_EDIT"; - Pos = MAP_APPFONT ( 123 , 60 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; + HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_EDIT" ; + Pos = MAP_APPFONT ( 123, 60 ) ; + Size = MAP_APPFONT ( 50, 14 ) ; Text [ en-US ] = "~Modify..." ; TabStop = TRUE ; }; PushButton BT_NEW { - HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_NEW"; - Pos = MAP_APPFONT ( 123 , 43 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; + HelpID = "sfx2:PushButton:RID_STYLECATALOG:BT_NEW" ; + Pos = MAP_APPFONT ( 123, 43 ) ; + Size = MAP_APPFONT ( 50, 14 ) ; Text [ en-US ] = "~New..." ; TabStop = TRUE ; }; HelpButton BT_HELP { - Pos = MAP_APPFONT ( 123 , 114 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; + Pos = MAP_APPFONT ( 123, 114 ) ; + Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; }; ListBox BT_TOOL { - HelpID = "sfx2:ListBox:RID_STYLECATALOG:BT_TOOL"; + HelpID = "sfx2:ListBox:RID_STYLECATALOG:BT_TOOL" ; Border = TRUE ; - Pos = MAP_APPFONT ( 6 , 6 ) ; - Size = MAP_APPFONT ( 110 , 55 ) ; + Pos = MAP_APPFONT ( 6, 6 ) ; + Size = MAP_APPFONT ( 110, 55 ) ; TabStop = TRUE ; DropDown = TRUE ; }; @@ -123,22 +124,22 @@ ModalDialog RID_STYLECATALOG { HelpId = HID_TEMPLATE_FMT ; Border = TRUE ; - Pos = MAP_APPFONT ( 6 , 23 ) ; - Size = MAP_APPFONT ( 110 , 89 ) ; + Pos = MAP_APPFONT ( 6, 23 ) ; + Size = MAP_APPFONT ( 110, 89 ) ; TabStop = TRUE ; }; ListBox BT_FLIST { - HelpID = "sfx2:ListBox:RID_STYLECATALOG:BT_FLIST"; + HelpID = "sfx2:ListBox:RID_STYLECATALOG:BT_FLIST" ; Border = TRUE ; - Pos = MAP_APPFONT ( 6 , 114 ) ; - Size = MAP_APPFONT ( 110 , 77 ) ; + Pos = MAP_APPFONT ( 6, 114 ) ; + Size = MAP_APPFONT ( 110, 77 ) ; TabStop = TRUE ; Hide = TRUE ; DropDown = TRUE ; }; }; - // Strings --------------------------------------------------------------- +// Strings --------------------------------------------------------------- String STR_STYLE_ELEMTLIST { Text [ en-US ] = "Style List" ; @@ -147,7 +148,7 @@ String STR_STYLE_FILTER_HIERARCHICAL { Text [ en-US ] = "Hierarchical" ; }; - // DLG_STYLE_DESIGNER ---------------------------------------------------- +// DLG_STYLE_DESIGNER ---------------------------------------------------- DockingWindow DLG_STYLE_DESIGNER { Text [ en-US ] = "Styles and Formatting" ; @@ -156,20 +157,20 @@ DockingWindow DLG_STYLE_DESIGNER OutputSize = TRUE ; Hide = TRUE ; SVLook = TRUE ; - Size = MAP_APPFONT ( 116 , 215 ) ; - Pos = MAP_APPFONT ( 0 , 0 ) ; + Size = MAP_APPFONT ( 116, 215 ) ; + Pos = MAP_APPFONT ( 0, 0 ) ; Closeable = TRUE ; Zoomable = TRUE ; Sizeable = TRUE ; Dockable = TRUE ; EnableResizing = TRUE ; - // HideWhenDeactivate = TRUE; + // HideWhenDeactivate = TRUE ; Border = TRUE ; Moveable = TRUE ; ToolBox TB_ACTION { - Pos = MAP_APPFONT ( 3 , 3 ) ; - Size = MAP_APPFONT ( 57 , 42 ) ; + Pos = MAP_APPFONT ( 3, 3 ) ; + Size = MAP_APPFONT ( 57, 42 ) ; LineCount = 1 ; ItemImageList = DLG_STYLE_DESIGNER ; HelpId = HID_TEMPLDLG_TOOLBOX_RIGHT ; @@ -197,20 +198,4 @@ DockingWindow DLG_STYLE_DESIGNER }; }; - - - - - - - - - - - - - - - - - +// ********************************************************************** EOF diff --git a/main/sfx2/source/dialog/titledockwin.src b/main/sfx2/source/dialog/titledockwin.src index 777882e..dd5c73a 100644 --- a/main/sfx2/source/dialog/titledockwin.src +++ b/main/sfx2/source/dialog/titledockwin.src @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,16 +7,16 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ @@ -26,11 +26,12 @@ Image SFX_IMG_CLOSE_DOC { - ImageBitmap = Bitmap { File = "closedoc.png" ; }; + ImageBitmap = Bitmap {File = "closedoc.png" ;} ; }; Image SFX_IMG_CLOSE_DOC_HC { - ImageBitmap = Bitmap { File = "closedochc.png" ; }; + ImageBitmap = Bitmap {File = "closedochc.png" ;} ; }; +// ********************************************************************** EOF diff --git a/main/sfx2/source/dialog/versdlg.src b/main/sfx2/source/dialog/versdlg.src index 11e28b3..fc7e729 100644 --- a/main/sfx2/source/dialog/versdlg.src +++ b/main/sfx2/source/dialog/versdlg.src @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,16 +7,16 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ @@ -24,165 +24,165 @@ #include "versdlg.hrc" ModalDialog DLG_VERSIONS { - HelpID = "sfx2:ModalDialog:DLG_VERSIONS"; + HelpID = "sfx2:ModalDialog:DLG_VERSIONS" ; OutputSize = TRUE ; - Size = MAP_APPFONT ( 340 , 184 ) ; + Size = MAP_APPFONT ( 340, 184 ) ; SvLook = TRUE ; Moveable = TRUE ; //! Closeable = TRUE ; - FixedLine GB_NEWVERSIONS + FixedLine GB_NEWVERSIONS { - Pos = MAP_APPFONT ( 6 , 3 ) ; - Size = MAP_APPFONT ( 272 , 8 ) ; + Pos = MAP_APPFONT ( 6, 3 ) ; + Size = MAP_APPFONT ( 272, 8 ) ; Text [ en-US ] = "New versions" ; }; PushButton PB_SAVE { - HelpID = "sfx2:PushButton:DLG_VERSIONS:PB_SAVE"; - Pos = MAP_APPFONT ( 12 , 14 ) ; - Size = MAP_APPFONT ( 90 , 14 ) ; + HelpID = "sfx2:PushButton:DLG_VERSIONS:PB_SAVE" ; + Pos = MAP_APPFONT ( 12, 14 ) ; + Size = MAP_APPFONT ( 90, 14 ) ; TabStop = TRUE ; Text [ en-US ] = "Save ~New Version" ; }; CheckBox CB_SAVEONCLOSE { - HelpID = "sfx2:CheckBox:DLG_VERSIONS:CB_SAVEONCLOSE"; - Pos = MAP_APPFONT ( 108 , 16 ) ; - Size = MAP_APPFONT ( 164 , 10 ) ; + HelpID = "sfx2:CheckBox:DLG_VERSIONS:CB_SAVEONCLOSE" ; + Pos = MAP_APPFONT ( 108, 16 ) ; + Size = MAP_APPFONT ( 164, 10 ) ; TabStop = TRUE ; Text [ en-US ] = "~Always save a version on closing" ; }; - FixedLine GB_OLDVERSIONS + FixedLine GB_OLDVERSIONS { - Pos = MAP_APPFONT ( 6 , 34 ) ; - Size = MAP_APPFONT ( 272 , 8 ) ; + Pos = MAP_APPFONT ( 6, 34 ) ; + Size = MAP_APPFONT ( 272, 8 ) ; Text [ en-US ] = "Existing versions" ; }; FixedText FT_DATETIME { - Pos = MAP_APPFONT ( 15 , 45 ) ; - Size = MAP_APPFONT ( 60 , 10 ) ; + Pos = MAP_APPFONT ( 15, 45 ) ; + Size = MAP_APPFONT ( 60, 10 ) ; Text [ en-US ] = "Date and time" ; }; FixedText FT_SAVEDBY { - Pos = MAP_APPFONT ( 76 , 45 ) ; - Size = MAP_APPFONT ( 60 , 10 ) ; + Pos = MAP_APPFONT ( 76, 45 ) ; + Size = MAP_APPFONT ( 60, 10 ) ; Text [ en-US ] = "Saved by" ; }; FixedText FT_COMMENTS { - Pos = MAP_APPFONT ( 138 , 45 ) ; - Size = MAP_APPFONT ( 60 , 10 ) ; + Pos = MAP_APPFONT ( 138, 45 ) ; + Size = MAP_APPFONT ( 60, 10 ) ; Text [ en-US ] = "Comments" ; }; Control TLB_VERSIONS { Border = TRUE ; - Pos = MAP_APPFONT ( 12 , 58 ) ; - Size = MAP_APPFONT ( 260 , 114 ) ; + Pos = MAP_APPFONT ( 12, 58 ) ; + Size = MAP_APPFONT ( 260, 114 ) ; TabStop = TRUE ; }; CancelButton PB_CLOSE { - Pos = MAP_APPFONT ( 284 , 6 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; + Pos = MAP_APPFONT ( 284, 6 ) ; + Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; Text [ en-US ] = "Close" ; }; PushButton PB_OPEN { - HelpID = "sfx2:PushButton:DLG_VERSIONS:PB_OPEN"; - Pos = MAP_APPFONT ( 284 , 26 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; + HelpID = "sfx2:PushButton:DLG_VERSIONS:PB_OPEN" ; + Pos = MAP_APPFONT ( 284, 26 ) ; + Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; Text [ en-US ] = "Open" ; }; PushButton PB_VIEW { - HelpID = "sfx2:PushButton:DLG_VERSIONS:PB_VIEW"; - Pos = MAP_APPFONT ( 284 , 43 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; + HelpID = "sfx2:PushButton:DLG_VERSIONS:PB_VIEW" ; + Pos = MAP_APPFONT ( 284, 43 ) ; + Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; DefButton = TRUE ; Text [ en-US ] = "~Show..." ; }; PushButton PB_DELETE { - HelpID = "sfx2:PushButton:DLG_VERSIONS:PB_DELETE"; - Pos = MAP_APPFONT ( 284 , 60 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; + HelpID = "sfx2:PushButton:DLG_VERSIONS:PB_DELETE" ; + Pos = MAP_APPFONT ( 284, 60 ) ; + Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; Text [ en-US ] = "~Delete" ; }; PushButton PB_COMPARE { - HelpID = "sfx2:PushButton:DLG_VERSIONS:PB_COMPARE"; - Pos = MAP_APPFONT ( 284 , 77 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; + HelpID = "sfx2:PushButton:DLG_VERSIONS:PB_COMPARE" ; + Pos = MAP_APPFONT ( 284, 77 ) ; + Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; Text [ en-US ] = "Compare" ; }; HelpButton PB_HELP { - Pos = MAP_APPFONT ( 284 , 97 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; + Pos = MAP_APPFONT ( 284, 97 ) ; + Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; }; Text [ en-US ] = "Versions of" ; }; ModalDialog DLG_COMMENTS { - HelpID = "sfx2:ModalDialog:DLG_COMMENTS"; + HelpID = "sfx2:ModalDialog:DLG_COMMENTS" ; OutputSize = TRUE ; - Size = MAP_APPFONT ( 180 , 118 ) ; + Size = MAP_APPFONT ( 180, 118 ) ; SvLook = TRUE ; Moveable = TRUE ; FixedText FT_DATETIME { - Pos = MAP_APPFONT ( 6 , 6 ) ; - Size = MAP_APPFONT ( 168 , 10 ) ; + Pos = MAP_APPFONT ( 6, 6 ) ; + Size = MAP_APPFONT ( 168, 10 ) ; Text [ en-US ] = "Date and time : " ; }; FixedText FT_SAVEDBY { - Pos = MAP_APPFONT ( 6 , 19 ) ; - Size = MAP_APPFONT ( 168 , 10 ) ; + Pos = MAP_APPFONT ( 6, 19 ) ; + Size = MAP_APPFONT ( 168, 10 ) ; Text [ en-US ] = "Saved by " ; }; MultiLineEdit ME_VERSIONS { - HelpID = "sfx2:MultiLineEdit:DLG_COMMENTS:ME_VERSIONS"; + HelpID = "sfx2:MultiLineEdit:DLG_COMMENTS:ME_VERSIONS" ; Border = TRUE ; - Pos = MAP_APPFONT ( 6 , 32 ) ; - Size = MAP_APPFONT ( 168 , 60 ) ; + Pos = MAP_APPFONT ( 6, 32 ) ; + Size = MAP_APPFONT ( 168, 60 ) ; TabStop = TRUE ; }; OKButton PB_OK { - Pos = MAP_APPFONT ( 15 , 98 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; + Pos = MAP_APPFONT ( 15, 98 ) ; + Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; DefButton = TRUE ; }; CancelButton PB_CANCEL { - Pos = MAP_APPFONT ( 68 , 98 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; + Pos = MAP_APPFONT ( 68, 98 ) ; + Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; }; PushButton PB_CLOSE { - HelpID = "sfx2:PushButton:DLG_COMMENTS:PB_CLOSE"; - Pos = MAP_APPFONT ( 68 , 98 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; + HelpID = "sfx2:PushButton:DLG_COMMENTS:PB_CLOSE" ; + Pos = MAP_APPFONT ( 68, 98 ) ; + Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; Text [ en-US ] = "~Close" ; }; HelpButton PB_HELP { - Pos = MAP_APPFONT ( 124 , 98 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; + Pos = MAP_APPFONT ( 124, 98 ) ; + Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; }; Text [ en-US ] = "Insert Version Comment" ; @@ -192,27 +192,4 @@ String DLG_COMMENTS Text [ en-US ] = "Version comment" ; }; - - - - - - - - - - - - - - - - - - - - - - - - +// ********************************************************************** EOF