Hi,
Hi Albert,
... The sheet name must not be a duplicate of an existing name.
Yes.
... Further it must be 31 or fewer characters and can not contain the >
characters [ ] * ? / \ .
No, AFAIK there is no " <= 31" restriction. And '.' isn't a forbidden
character, see the source code:
http://cgit.freedesktop.org/libreoffice/core/tree/sc/source/core/data/document.cxx#n250
But anyway improving this error message would be great! :) I believe that
most people hate meaningless error messages.
Thanks,
Ivan
Thanks for the feed-back, Ivan! I have updated the patch accordingly.
/Albert
From 31dd0f0a8c1b280d4958cf75b2090dd2faa2579b Mon Sep 17 00:00:00 2001
From: Albert Thuswaldner <albert.thuswaldner@gmail.com>
Date: Sat, 28 Jan 2012 20:54:09 +0100
Subject: [PATCH] Updated error message for Invalid sheet name
---
 sc/source/ui/src/globstr.src |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sc/source/ui/src/globstr.src b/sc/source/ui/src/globstr.src
index 20ab9aa..6c87a30 100644
--- a/sc/source/ui/src/globstr.src
+++ b/sc/source/ui/src/globstr.src
@@ -687,8 +687,7 @@ Resource RID_GLOBSTR
     };
     String STR_INVALIDTABNAME
     {
-        Text [ en-US ] = "Invalid sheet name." ;
+        Text [ en-US ] = "Invalid sheet name. \nThe sheet name must not be a duplicate of an 
existing name \nand can not contain the characters [ ] * ? / \\ " ;
     };
     String STR_SCENARIO
     {
-- 
1.7.3.4
Context
   
 
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.