Kaydet (Commit) 982db7bc authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

Move "save graphic" dialog title to svx.

Change-Id: I1200e66f010525d989bed801240de6813ddf751c
üst 8c1aafe8
...@@ -1069,10 +1069,6 @@ String STR_TITLE_RENAMESLIDE ...@@ -1069,10 +1069,6 @@ String STR_TITLE_RENAMESLIDE
{ {
Text [ en-US ] = "Rename Slide"; Text [ en-US ] = "Rename Slide";
}; };
String STR_TITLE_SAVE_AS_PICTURE
{
Text [ en-US ] = "Save as Picture";
};
String STR_DESC_RENAMESLIDE String STR_DESC_RENAMESLIDE
{ {
Text [ en-US ] = "Name"; Text [ en-US ] = "Name";
......
...@@ -397,7 +397,7 @@ ...@@ -397,7 +397,7 @@
#define STR_TASKPANEL_LAYOUT_MENU_TITLE (RID_APP_START+713) #define STR_TASKPANEL_LAYOUT_MENU_TITLE (RID_APP_START+713)
#define STR_GRAPHICS_STYLE_FAMILY (RID_APP_START+715) #define STR_GRAPHICS_STYLE_FAMILY (RID_APP_START+715)
#define STR_TITLE_SAVE_AS_PICTURE (RID_APP_START+716) // free
#define STR_CELL_STYLE_FAMILY (RID_APP_START+717) #define STR_CELL_STYLE_FAMILY (RID_APP_START+717)
#define STR_NAVIGATOR_SHOW_NAMED_SHAPES (RID_APP_START+718) #define STR_NAVIGATOR_SHOW_NAMED_SHAPES (RID_APP_START+718)
...@@ -410,14 +410,14 @@ ...@@ -410,14 +410,14 @@
#define STR_INSERT_PICTURE (RID_APP_START+724) #define STR_INSERT_PICTURE (RID_APP_START+724)
#define STR_INSERT_MOVIE (RID_APP_START+725) #define STR_INSERT_MOVIE (RID_APP_START+725)
#define STRING_DRAG_AND_DROP_PAGES (RID_APP_START+726) #define STRING_DRAG_AND_DROP_PAGES (RID_APP_START+726)
#define STRING_DRAG_AND_DROP_SLIDES (RID_APP_START+727) #define STRING_DRAG_AND_DROP_SLIDES (RID_APP_START+727)
#define STRING_START_SLIDESHOW (RID_APP_START+728) #define STRING_START_SLIDESHOW (RID_APP_START+728)
#define STRING_HIDE_SLIDE (RID_APP_START+729) #define STRING_HIDE_SLIDE (RID_APP_START+729)
#define STRING_SHOW_SLIDE (RID_APP_START+730) #define STRING_SHOW_SLIDE (RID_APP_START+730)
#define STRING_DUPLICATE_SLIDE (RID_APP_START+731) #define STRING_DUPLICATE_SLIDE (RID_APP_START+731)
#define STR_ACC_DIALOG_DESC (RID_APP_START+732) #define STR_ACC_DIALOG_DESC (RID_APP_START+732)
/****************************************************************************** /******************************************************************************
* The ids in glob.hrc start at RID_APP_START+750! * The ids in glob.hrc start at RID_APP_START+750!
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#************************************************************************* #*************************************************************************
# #
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# Copyright 2000, 2011 Oracle and/or its affiliates. # Copyright 2000, 2011 Oracle and/or its affiliates.
# #
# OpenOffice.org - a multi-platform office productivity suite # OpenOffice.org - a multi-platform office productivity suite
...@@ -56,6 +56,7 @@ $(eval $(call gb_SrsTarget_set_include,svx/res,\ ...@@ -56,6 +56,7 @@ $(eval $(call gb_SrsTarget_set_include,svx/res,\
$(eval $(call gb_SrsTarget_add_files,svx/res,\ $(eval $(call gb_SrsTarget_add_files,svx/res,\
svx/source/accessibility/accessibility.src \ svx/source/accessibility/accessibility.src \
svx/source/core/graphichelper.src \
svx/source/dialog/bmpmask.src \ svx/source/dialog/bmpmask.src \
svx/source/dialog/contdlg.src \ svx/source/dialog/contdlg.src \
svx/source/dialog/ctredlin.src \ svx/source/dialog/ctredlin.src \
......
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
#define RID_SW_TP_OPTTABLE_PAGE (RID_OFA_START + 210) #define RID_SW_TP_OPTTABLE_PAGE (RID_OFA_START + 210)
#define RID_SW_TP_REDLINE_OPT (RID_OFA_START + 212) #define RID_SW_TP_REDLINE_OPT (RID_OFA_START + 212)
#define RID_SW_TP_OPTCOMPATIBILITY_PAGE (RID_OFA_START + 255) #define RID_SW_TP_OPTCOMPATIBILITY_PAGE (RID_OFA_START + 255)
#define RID_SW_TP_COMPARISON_OPT (RID_OFA_START + 257) #define RID_SW_TP_COMPARISON_OPT (RID_OFA_START + 257)
#define RID_SW_TP_HTML_CONTENT_OPT (RID_OFA_START + 240) #define RID_SW_TP_HTML_CONTENT_OPT (RID_OFA_START + 240)
#define RID_SW_TP_HTML_OPTPRINT_PAGE (RID_OFA_START + 242) #define RID_SW_TP_HTML_OPTPRINT_PAGE (RID_OFA_START + 242)
#define RID_SW_TP_HTML_OPTTABLE_PAGE (RID_OFA_START + 243) #define RID_SW_TP_HTML_OPTTABLE_PAGE (RID_OFA_START + 243)
...@@ -237,7 +237,6 @@ ...@@ -237,7 +237,6 @@
#define RID_SVXBMP_FONTWORK_FORM11 (RID_SVX_START + 104) #define RID_SVXBMP_FONTWORK_FORM11 (RID_SVX_START + 104)
#define RID_SVXBMP_FONTWORK_FORM12 (RID_SVX_START + 105) #define RID_SVXBMP_FONTWORK_FORM12 (RID_SVX_START + 105)
#define RID_SVXCTRL_COLOR (RID_SVX_START + 117) #define RID_SVXCTRL_COLOR (RID_SVX_START + 117)
// for Toolbox-Control style // for Toolbox-Control style
...@@ -867,7 +866,8 @@ ...@@ -867,7 +866,8 @@
#define RID_SVXSTR_ACCESSIBILITY_START (RID_SVX_START + 860) #define RID_SVXSTR_ACCESSIBILITY_START (RID_SVX_START + 860)
// RID_SVXSTR_ACCESSIBILITY_END (RID_SVX_START + 950) // RID_SVXSTR_ACCESSIBILITY_END (RID_SVX_START + 950)
// 984: free #define RID_SVXSTR_EXPORT_GRAPHIC_TITLE (RID_SVX_START + 984)
#define RID_SVXFLOAT_EXTRUSION_DIRECTION (RID_SVX_START + 985) #define RID_SVXFLOAT_EXTRUSION_DIRECTION (RID_SVX_START + 985)
#define RID_SVX_EXTRUSION_BAR (RID_SVX_START + 986) #define RID_SVX_EXTRUSION_BAR (RID_SVX_START + 986)
......
...@@ -33,6 +33,8 @@ ...@@ -33,6 +33,8 @@
#include <sfx2/docfile.hxx> #include <sfx2/docfile.hxx>
#include <svx/xoutbmp.hxx> #include <svx/xoutbmp.hxx>
#include <sfx2/filedlghelper.hxx> #include <sfx2/filedlghelper.hxx>
#include <svx/dialmgr.hxx>
#include <svx/dialogs.hrc>
#include <com/sun/star/ui/dialogs/XFilePicker.hpp> #include <com/sun/star/ui/dialogs/XFilePicker.hpp>
#include <com/sun/star/ui/dialogs/XFilterManager.hpp> #include <com/sun/star/ui/dialogs/XFilterManager.hpp>
...@@ -85,10 +87,8 @@ String GraphicHelper::ExportGraphic( const Graphic &rGraphic, const String &rGrf ...@@ -85,10 +87,8 @@ String GraphicHelper::ExportGraphic( const Graphic &rGraphic, const String &rGrf
// fish out the graphic's name // fish out the graphic's name
String aName = rGrfName; String aName = rGrfName;
printf("Name: %s\n", aName.GetBuffer());
//aDlgHelper.SetTitle( SW_RESSTR(STR_EXPORT_GRAFIK_TITLE)); aDlgHelper.SetTitle( SVX_RESSTR(RID_SVXSTR_EXPORT_GRAPHIC_TITLE));
aDlgHelper.SetTitle( String("Title") );
aDlgHelper.SetDisplayDirectory( aPath.GetMainURL(INetURLObject::DECODE_TO_IURI) ); aDlgHelper.SetDisplayDirectory( aPath.GetMainURL(INetURLObject::DECODE_TO_IURI) );
INetURLObject aURL; INetURLObject aURL;
aURL.SetSmartURL( aName ); aURL.SetSmartURL( aName );
......
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* 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 regarding copyright
* ownership. The ASF licenses this file 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 .
*/
#include <svx/dialogs.hrc>
String RID_SVXSTR_EXPORT_GRAPHIC_TITLE
{
Text [ en-US ] = "Graphics Export" ;
};
...@@ -48,7 +48,6 @@ ...@@ -48,7 +48,6 @@
#define MN_READONLY_BACKGROUNDTOGALLERY (RC_DOCVW_BEGIN + 60) #define MN_READONLY_BACKGROUNDTOGALLERY (RC_DOCVW_BEGIN + 60)
#define STR_EXPORT_GRAFIK_TITLE (RC_DOCVW_BEGIN + 1)
#define STR_CHAIN_OK (RC_DOCVW_BEGIN + 2) #define STR_CHAIN_OK (RC_DOCVW_BEGIN + 2)
#define STR_CHAIN_NOT_EMPTY (RC_DOCVW_BEGIN + 3) #define STR_CHAIN_NOT_EMPTY (RC_DOCVW_BEGIN + 3)
#define STR_CHAIN_IS_IN_CHAIN (RC_DOCVW_BEGIN + 4) #define STR_CHAIN_IS_IN_CHAIN (RC_DOCVW_BEGIN + 4)
......
...@@ -199,10 +199,6 @@ Menu MN_READONLY_POPUP ...@@ -199,10 +199,6 @@ Menu MN_READONLY_POPUP
}; };
}; };
}; };
String STR_EXPORT_GRAFIK_TITLE
{
Text [ en-US ] = "Graphics Export" ;
};
String STR_CHAIN_OK String STR_CHAIN_OK
{ {
Text [ en-US ] = "Click the left mouse button to link the frames." ; Text [ en-US ] = "Click the left mouse button to link the frames." ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment