Hi Eric,
The SFX title implementation is an old one and not used any longer in
OOo. There is a complete new implemented XTitle API which resists in the
framework module. BTW: The title was specified by our User Experience
Team and must be shown exactly that way: <file name> - <product>
<module> <debug info> etcpp ...
If you whish to change that you should discuss that first with our User
Experience Team. And then it must be implemented in framework also
(might be conditional with #ifdef MAC ... #endif) but not in VCL !
A VCL Window has to provide the possibility to set a title on a window
only .... not to create such title by itself .-)
Please describe more in detail what is your intention and what will be
the use case.
Best Regards
Andreas
Hi,
Working on the Proxy Icon implementation** on Mac OS X, I need
information, and I think framework project is the place.
I'm in AquaSalframe, and I need to know :
- the current window ( trivial)
- whether the current window is a document, and whether it has been
saved already
- the complete filename, including the path
The current implementation uses a reference rStr->mpData->maStr but
there is a problem : more precisely, if the current filename is
"truc.odt " and tracing a bit, I got (my apologies for the eventual
spaces in the URL, because my mailer add some randomly :-/ )
http://eric.bachard.free.fr/mac/aquavcl/patches/aqua_September_2008/proxy_icon/proxy_6th_sept/proxy_bad_name01.jpg
Means the current filename is seen as :
/Users/ericb/Desktop/test_python25/OpenOffice.org.app/Contents/MacOS/Sans
nom 1 - OpenOffice.org Writer
after translation, it is equivalent to : <OOo_install_dir> +
filename_without_path + " - " + PRODUCTNAME + MODULE , what is basicaly
wrong.
If I'm not wrong, I found the place where the concatenation is done :
sfx2 ( SetTitle ) and Window::SetTitle in vcl, but I'd like to have
experts opinions. Kohei suggested me on IRC to search an access to
SfxObjectShell, and retrieve the name using
SfxObjectShell::GetMedium->Getname()
The problem is, sfx2 headers are not reachable from vcl, and I'm not
sure this is possible at buildtime. Another way, could be to implement a
new method in sfx2 , only used on Mac OS X. Not sure.
Can someone help me ? Thanks in advance for any help or suggestion :-)
Eric Bachard
**See the draft for the implementation :
http://wiki.services.openoffice.org/wiki/Mac_OS_X_Porting_-_Proxy_Icon_implementation
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]