Bug 71261 - Frame and table name rules differ: allow spaces in table names (conform ODF specs)
Summary: Frame and table name rules differ: allow spaces in table names (conform ODF s...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Tables-Enhancements
  Show dependency treegraph
 
Reported: 2013-11-05 12:55 UTC by Adam Tauno Williams
Modified: 2019-01-30 08:44 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Tauno Williams 2013-11-05 12:55:18 UTC
Frame names can contain white space.

Table names to not allow whitespace.

It would be useful, especially in large documents, to be able to have consistent naming procedures for tables and frames.
Comment 1 Cor Nouws 2013-11-05 19:51:14 UTC
Hi Adam,

thanks for the issue. Set to new as enhancement.

Can you pls explain why you would like to have table names with spaces. Just for consistency??

Regards,
Cor
Comment 2 Owen Genat (retired) 2013-11-08 22:24:34 UTC
>Can you pls explain why you would like to have table names with spaces. Just for consistency??

I think in this case it is one of supporting the ODF/XML data type. The svg:title and table:title attributes, which are used to name frames and tables respectively, both use the xsd:string type.

http://www.w3.org/TR/xmlschema11-2/#string
http://www.schemacentral.com/sc/xsd/t-xsd_string.html
Comment 3 Owen Genat (retired) 2013-11-08 22:30:42 UTC
I forgot to mention that svg:title and table:title are also partially interchangeable (for the situation where a table is inserted within a frame.) ODF v1.2, Part 1, 9.1.13 <table:title> states:

>The <table:title> element specifies a title for a table. The element shall not be used if the
>parent <table:table> element is contained within a <draw:frame> element. In that case, the
>table's title is specified the by <svg:title> child element of <draw:frame>.
Comment 4 Cor Nouws 2013-11-08 22:33:48 UTC
thanks!
Comment 5 Adam Tauno Williams 2015-04-09 17:39:00 UTC
> Can you pls explain why you would like to have table names with spaces. Just 
> for consistency??

Table names can appear in the navigator.  Normal table names are better than camel or pascal case - especially when other elements allow full-text names.  Also would be good for creating an index of tables in a master document.

Version: 4.3.6.2
Build ID: 430m0(Build:2)