[sw-issues] [Issue 75547] Bad Document Correction -t able detection

2007-03-20 Thread tuharsky
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=75547


User tuharsky changed the following:

What|Old value |New value

 IssuesThisDependsOn|  |75524





--- Additional comments from [EMAIL PROTECTED] Tue Mar 20 10:01:19 + 
2007 ---
Now we can consider, what should we do with the detected table.

We could first define a text division, and inside, define TAB distances by the
column's width. When the multiple TABs are removed, the table should be "nice
and ready".

Other possibility could be, that the regular new table (with visible borders) is
created in the document and values are placed into.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[sw-issues] [Issue 75547] Bad Document Correction -t able detection

2007-03-20 Thread tuharsky
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=75547
 Issue #|75547
 Summary|Bad Document Correction -table detection
   Component|Word processor
 Version|OOo 2.1
Platform|All
 URL|
  OS/Version|All
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|FEATURE
Priority|P3
Subcomponent|editing
 Assigned to|mru
 Reported by|tuharsky





--- Additional comments from [EMAIL PROTECTED] Tue Mar 20 09:34:40 + 
2007 ---
This is another option for the Bad Document Correction Tool (Issue 75524).
It's purpose is to detect and reformat textual table.

Some users intend to create a simple textual table by just placing values and
separating (and formatting too) them by TAB.
The problem is, that users tend to use multiple TABs together to create columns
("put values under each other) and when font or other formatting changes, maybe
just by opening on other machine with other printer installed, the table is 
broken.
Users again tend to regain corrupted formatting by adding or deleting TAB
symbols. This is not good however.

The tool should detect such textual table.
1, If the table was created by placing groups of spacebars, it should have been
already catched by the Issue 75545 Multiple spacebars removal. However, for the
instance where the option from Issue 75545 wasn't used, the rule 4 from 75545
should be used separately anyhow.

2, Now, if there is such a table, it uses TABs to do the value separation.

3, We can start table detection. We could consider a line to be part of table,
if all rules are matching:
 a, the line break is used before the line
 b, the line is ended with line break
 c, the line is a single line, or at most it leaks to second text line -in that
case we consider the line to be single line (defined between the two line 
breaks)
 d, there are at least 2 "islands of symbols" separated by TAB in the line

4, If there are several such lines, one-under-other, it is probably a table.

5, We consider the "islands of symbols" to represent table cells

6, We define columns for internal purposes, simply by number of "cells" in each
line.

7, For each column, we define the "Column width" by the length of the longest
content "cell" in the column.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]