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 +0000 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]