Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Post NeoOffice 3.0.1 development planning
Post NeoOffice 3.0.1 development planning
 
   NeoOffice Forum Index -> NeoOffice Development
View previous topic :: View next topic  
Author Message
ovvldc
Captain Naiobi


Joined: Sep 13, 2004
Posts: 2352
Location: Zürich, CH

PostPosted: Fri Dec 11, 2009 4:45 am    Post subject:

Very nice. I might add that there is also a system preference for turning pinching on and off in Mac OS X as of Snow Leopard..

Best wishes,
Oscar

_________________
"What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
Back to top
Samwise
Captain Naiobi


Joined: Apr 25, 2006
Posts: 2315
Location: Montpellier, France

PostPosted: Fri Dec 11, 2009 9:05 am    Post subject:

Awesome!

For a while I had been thinking it would be nice to create a small preference pane that would allow users to set these options, but I never got around to write it. Your way is even more elegant, since you don't need to restart NeoOffice.

One thing though: do we still need two "New" submenus (one in NeoOffice, one in File)? It may be related to keyboard shortcuts, though I can't really remember.

Edit: As I had just posted this, I realized Oscar now has 2009 posts Smile
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Fri Dec 11, 2009 9:38 am    Post subject:

Samwise wrote:
One thing though: do we still need two "New" submenus (one in NeoOffice, one in File)? It may be related to keyboard shortcuts, though I can't really remember.


In most cases, the items in the NeoOffice :: New submenu are redundant with those in the File :: New menu. However, there are some rare cases where OpenOffice.org will close the 1 x 1 pixel window and the File menu disappears. In those cases, using the NeoOffice :: New menu is the only way you have to open a new document to get things back to normal. So, I have left the menu there just to be safe.

Patrick
Back to top
ovvldc
Captain Naiobi


Joined: Sep 13, 2004
Posts: 2352
Location: Zürich, CH

PostPosted: Fri Dec 11, 2009 10:18 am    Post subject:

I, too, am way ahead of my time Wink.

-Oscar

_________________
"What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Fri Dec 11, 2009 12:13 pm    Post subject:

Samwise wrote:
One thing though: do we still need two "New" submenus (one in NeoOffice, one in File)? It may be related to keyboard shortcuts, though I can't really remember.

Yeah, in the NeoOffice menu we can assign items arbitrary keyboard shortcuts (including ones with Option) using the System Preferences, and in current versions of Java, System Preferences is unable to change shortcuts in menus coming in via OpenOffice.org code.

Specifically, in my case, I have Cmd-Opt-1 set to Text Document, Cmd-Opt-2 set to Spreadsheet, Cmd-Opt-3 set to Presentation, etc.

Actually, that brings up a potential problem Sad Since the default document type (Open at Launch) submenu is using the same strings as the New document items, that's going to break the ability to assign keyboard shortcuts to one or another set (both sets will pick up the shortcuts; one will win). For my sake I hope New wins, since it's first in the menu, but is is possible to switch one set to the module names (Writer, Calc, Impress, etc.) instead?

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Fri Dec 11, 2009 12:28 pm    Post subject:

sardisson wrote:
Actually, that brings up a potential problem Sad Since the default document type (Open at Launch) submenu is using the same strings as the New document items, that's going to break the ability to assign keyboard shortcuts to one or another set (both sets will pick up the shortcuts; one will win). For my sake I hope New wins, since it's first in the menu, but is is possible to switch one set to the module names (Writer, Calc, Impress, etc.) instead?


Good catch. I just tested setting Command-Option-1 to "Text Document" and Mac OS X assigned the shortcut to the "Open at Launch" menu item, not the "New" menu item. This is not good so I will try changing the "Open at Launch" menu items to the module names to avoid duplicate menu item names.

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Fri Dec 11, 2009 12:54 pm    Post subject:

OK. I found the OpenOffice.org call that will return the module name for each module and I have changed the code to put the module names in the "Open at Launch" menu. The attached image shows what the updated menu will look like.

Patrick
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Fri Dec 11, 2009 2:08 pm    Post subject:

Thanks, Patrick. Yet another piece of quick, fine work! Very Happy

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
ovvldc
Captain Naiobi


Joined: Sep 13, 2004
Posts: 2352
Location: Zürich, CH

PostPosted: Wed Dec 16, 2009 1:35 am    Post subject:

Quote:
Open at Launch
Mac OS X Options
Ignore Trackpad Gestures
Disable Mac OS X Services Menu
Disable Mac OS X Text Highlighting
Disable Quick Look Support in Documents


Code:
Toon bij starten
Mac OS X mogelijkheden
Negeer trackpad gebaren
Schakel Mac OS X voorzieningen uit
Schakel Mac OS X tekst markeren uit
Schakel ondersteuning voor Quick Look in documenten uit


Most of the Dutch translations are literal, except for the first one that translates back literally as 'Show at startup'.

_________________
"What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Dec 16, 2009 11:37 am    Post subject:

Thank you for the Dutch translations. I have integrated them into code and I will include them in the next NeoOffice 3.0.2 Early Access test build.

Does anyone have any translations for other languages? If so and you can post them before 21 December 2009, I can include them in the NeoOffice 3.0.2 Early Access release.

Patrick
Back to top
Samwise
Captain Naiobi


Joined: Apr 25, 2006
Posts: 2315
Location: Montpellier, France

PostPosted: Wed Dec 16, 2009 1:40 pm    Post subject:

pluby wrote:
Code:
Open at Launch
Mac OS X Options
Ignore Trackpad Gestures
Disable Mac OS X Services Menu
Disable Mac OS X Text Highlighting
Disable Quick Look Support in Documents


In French:

Code:
Document par défaut
Options liées à Mac OS X
Ignorer les gestes du trackpad
Désactiver le menu Services de Mac OS X
Désactiver le surlignage de texte Mac OS X
Désactiver la prise en charge de QuickLook pour les documents
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Dec 16, 2009 4:05 pm    Post subject:

FYI. I have integrated Samwise's French translations into the code.

Patrick
Back to top
Samwise
Captain Naiobi


Joined: Apr 25, 2006
Posts: 2315
Location: Montpellier, France

PostPosted: Fri Dec 18, 2009 10:31 am    Post subject:

Quick question: how did you translate - none -?
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Fri Dec 18, 2009 11:16 am    Post subject:

Samwise wrote:
Quick question: how did you translate - none -?


I did not translate that, OpenOffice.org handles that translation and they transalated it as - Aucun(e) -.

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Sat Dec 19, 2009 4:07 pm    Post subject:

FYI. I have included Oscar's and Samwise's Dutch and French translations in today's NeoOffice 3.0.2 Early Access test build. Can you install today's test build and tell us if you see your menu translations?

Patrick
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Development All times are GMT - 7 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 6 of 7

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.