Greeting.

I am modifying the name “Database” in the QuickStart
Menu.

Aim
===
I am changing the name of documents at the QuickStart
menu.  
Text Document -> MyWriter
Spreadsheet   -> MyCalc
...
Database      -> MyDatabase

Method
======
I know that I have to change
.\svtools\source\misc\imagemgr.src and
.\svtools\source\misc\localize.sdf and have to modify
all these:

+ STR_DESCRIPTION_FACTORY_CALC
+ STR_DESCRIPTION_FACTORY_DRAW
+ STR_DESCRIPTION_FACTORY_GLOBALDOC
+ STR_DESCRIPTION_FACTORY_IMPRESS
+ STR_DESCRIPTION_FACTORY_MATH
+ STR_DESCRIPTION_FACTORY_WRITER 
+ STR_DESCRIPTION_FACTORY_WRITERWEB

Once recompile, I get all corrected but not the last
one!  The last line still say "Database" instead of
"MyDatabase".

Queston 1
=========
Where is the factory for database?  (i.e. Is there a
STR_DESCRIPTION_FACTORY_DATABASE?)

Using Alternate Method
======================
I dig around.  I find out if I change m4 in Common.xcu
and Common.Menus.New.m4 in localize.sdf inside
.\officecfg\registry\data\org\openoffice\Office.  I
get MyDatabase in the QuickStart menu.  YET when I
check the File -> New, the Database item there is
replaced by MyDatabase.  I don't want that to happen.

Question 2
==========
How can I change the name of Database to MyDatabase in
the QuickStart menu without changing the name of
Database in the File -> New menu?

Yet Another Method
==================
So far looking at the source code of
./sfx2/source/appl/shutdownicon32.cxx, I find out the
code for adding “Text Document” is:
  pShutdownIcon->GetURLDescription( OUString(
RTL_CONSTASCII_USTRINGPARAM( WRITER_URL ) ) )

while the “From Template” is:
  pShutdownIcon->GetResString(
STR_QUICKSTART_FROMTEMPLATE )

If someone can create a database factory (as in
Question 1), that is good.  If not, I will use the
last method.

__________________________________
想即時收到新 email 通知?
下載 Yahoo! Messenger
http://messenger.yahoo.com.hk/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to