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 - Ctrl+Enter within a cell
Ctrl+Enter within a cell
 
   NeoOffice Forum Index -> NeoOffice Testing
View previous topic :: View next topic  
Author Message
brandelune
Guest





PostPosted: Wed Apr 25, 2007 2:10 am    Post subject: Ctrl+Enter within a cell

The documentation states:

To insert a line break in a spreadsheet cell, press the Ctrl+Enter keys.
This will work only with the text edit cursor inside the cell, not at the input line. So first double-click the cell, then single-click at the text position where you want the line break.

But NO 2.1 patch 1 does not seem to support this shortcut.
Back to top
LemonAid
The Anomaly


Joined: Nov 21, 2005
Posts: 1285
Location: Witless Protection Program

PostPosted: Wed Apr 25, 2007 2:35 am    Post subject: Re: Ctrl+Enter within a cell

brandelune wrote:
The documentation states:

To insert a line break in a spreadsheet cell, press the Ctrl+Enter keys.
This will work only with the text edit cursor inside the cell, not at the input line.
So first double-click the cell, then single-click at the text position where you want the line break.

But NO 2.1 patch 1 does not seem to support this shortcut.
Welcome to NeoOffice brandelune,

You need to remember that NeoOffice is on the Macintosh so you use CMD/Apple-Key in place of Ctrl ( throughout NeoOffice).

I use Cmd+Return keys all the time in NeoOffice Calc and it works fine - inside the Cell.
Check out the NeoWiki:
http://neowiki.neooffice.org/index.php/NeoOffice_Tips_and_Hints
and http://neowiki.neooffice.org/index.php/Inserting_a_line_break_in_a_cell

Hope this helps you get the most out of using NeoOffice 2.1!

Philip ( Much of the Documentation is written for Windows, not the Mac.... Rolling Eyes )

_________________
Have you checked the NeoWiki Documentation Page for more answers?
http://neowiki.neooffice.org/index.php/Documentation_and_Related_Resources
includes User Guides, eBooks, Blogs, additional resource links, and much more!
Back to top
amayze
The Merovingian


Joined: Oct 24, 2005
Posts: 561
Location: Edinburgh, Scotland

PostPosted: Wed Apr 25, 2007 4:41 am    Post subject: Re: Ctrl+Enter within a cell

brandelune wrote:
The documentation states:

To insert a line break in a spreadsheet cell, press the Ctrl+Enter keys.


Which documentation are you looking at?
If its specific NeoOffice documentation, then there is a mistake in the translation from OpenOffice.org. All references to the Ctrl key in OpenOffice.org documentation should be read as the Command/Apple key for NeoOffice.

Let us know where you found this advice and it'll get fixed if it needs to be.

Andy.
Back to top
brandelune
Guest





PostPosted: Fri Apr 27, 2007 8:30 pm    Post subject: Ctrl+return in the documentation

The documentation I refer too is the help files available from the Help menu.

Besides, knowing about the fact that Macs use Cmd instead of Ctrl, I did try the Cmd+return shortcut in 2.1 patch 1 but for some reason it did not work. Now, with patch 3 it does.

The documentation should be updatd anyway. Check for "line breaks;in cells" in the Index.
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Sat Apr 28, 2007 1:05 pm    Post subject:

That's clearly a bug in the OOo Help (i.e., they have hard-coded "Ctrl" instead of whatever they should use that allows the key name to change when OOo is run on non-Windows OSes).

You should report this bug to OOo.

Smokey

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





PostPosted: Mon Apr 30, 2007 1:57 am    Post subject: bug in OOo help ?

Just in case you are not aware of that, OOo on OSX uses Ctrl. Hence it is not an OOo documentation bug.
Back to top
amayze
The Merovingian


Joined: Oct 24, 2005
Posts: 561
Location: Edinburgh, Scotland

PostPosted: Mon Apr 30, 2007 3:47 am    Post subject: Re: bug in OOo help ?

brandelune wrote:
Just in case you are not aware of that, OOo on OSX uses Ctrl. Hence it is not an OOo documentation bug.
No, it is!
The documentation is written in XML and shouldn't contain the string "Ctrl". Instead there will be a tag "[meta]" perhaps, which is replaced at some point (compile time?) with the platform specific string, e.g. "Ctrl" for windows and "Cmd" for Mac.

The problem here is that the raw help file contains the string "Ctrl" at the point and not the tag "[meta]", so the NeoOffice compiler can't make the correct substitution.

Hope that's clear - I'm guessing a bit, but that's my understanding of it.

Andy.
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Mon Apr 30, 2007 8:06 am    Post subject: Re: bug in OOo help ?

amayze wrote:
The problem here is that the raw help file contains the string "Ctrl" at the point and not the tag "[meta]", so the NeoOffice compiler can't make the correct substitution.


Andy is correct about this. In most cases, the help files are use an XML switch statement that looks like this:

Code:
\<switchinline select=\"sys\"\>\<caseinline select=\"MAC\"\>Command\</caseinline\>\<defaultinline\>Ctrl\</defaultinline\>\</switchinline\>


However, sometimes the writers of the documentation (or the volunteer translators that translate the help into dozens of languages) ignore this syntax and hardcode Ctrl or whatever the equivalent is in the help because they think what other key would it be?

Patrick
Back to top
brandelune
Guest





PostPosted: Tue May 01, 2007 3:22 am    Post subject: Ctrl+enter hard coded

Thank you for the technical details. I have forwarded to the French forum where the original issue was noticed. Since this problem is likely to affect OOo/Aqua I am sure they'll find a way to fix it.
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Tue May 01, 2007 10:13 am    Post subject:

That's an even more fragile, hackier way to do that than I expected :p

I figured they were doing something sensible like defining an "accel" placeholder and using that placeholder in every shortcut, and then globally mapping "accel" to the right key per platform when help is built or displayed or whatever. But no, they require each different platform's accelerator key to be defined/special-cased for every single individual use of a shortcut, which leads to errors like this being trivial to cause and happening all of time.

Wait, did I just say I expected OOo to do something sensible? Sorry, someone slap me the next time I do that Razz

Smokey

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


Joined: Nov 21, 2005
Posts: 1285
Location: Witless Protection Program

PostPosted: Tue May 01, 2007 1:32 pm    Post subject:

SLAP
Back to top
LemonAid
The Anomaly


Joined: Nov 21, 2005
Posts: 1285
Location: Witless Protection Program

PostPosted: Tue May 01, 2007 1:39 pm    Post subject:

Sorry Embarassed

After all the mess I have been making in the Wiki development
I though I should "Slap first and ask questions ... later".

Smokey, MANY Thanks for ALL your Help, Guidance, GREAT Information, and such. Very Happy
The community would be much poorer without you. You have been a major support pillar for as long as I have been lurking (and much longer, per references).

I just wanted to take a moment to express my appreciation.

Plus, You often explain some very complex problems in a way that I gain a much greater understanding.
So - NeoOffice helps make a person ... Smarter! Cool

Philip ( Whose Ideas often exceed his ... Understanding! Wink )
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Tue May 01, 2007 11:15 pm    Post subject:

No need to apologize, Philip Smile I did ask for it, after all Wink

You're a very valuable and much-appreciated resource around here, too, not least of which for your great article-/resource-finding skills Smile Thank you!

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Testing All times are GMT - 7 Hours
Page 1 of 1

 
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.