Issue 67258 - RTF: only last tab of paragraph imported on some docs
Summary: RTF: only last tab of paragraph imported on some docs
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: OOo 2.0.3
Hardware: PC Windows 2000
: P3 Trivial with 3 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-12 05:49 UTC by edemeulle
Modified: 2017-05-20 11:15 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Sample Document (1.60 KB, text/rtf)
2006-07-12 05:51 UTC, edemeulle
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description edemeulle 2006-07-12 05:49:43 UTC
Some RTF documents are losing their tab stops when imported to OOo. The same
file looks fine in Word. In addition, if you open the file in Word and resave it
again as RTF the formatting is now imported correctly by OOo. Sample document is
below.

{\rtf1\ansi
\paperw12240\paperh15840\margl1080\margt360\margr360\margb360
{\fonttbl {\f0\fnil\fprq2\fcharset0 Arial;}{\f1\fnil\fprq2\fcharset0
Arial;}{\f2\fnil\fprq2\fcharset0 Arial;}{\f3\fnil\fprq2\fcharset0
Arial;}{\f4\fnil\fprq2\fcharset0 Arial;}{\f5\fnil\fprq2\fcharset0
Arial;}{\f6\fnil\fprq2\fcharset0 ;}{\f7\fnil\fprq2\fcharset0
;}{\f8\fnil\fprq2\fcharset0 Arial;}{\f9\fnil\fprq2\fcharset0 Arial;}}
{\colortbl
;\red0\green0\blue0;\red0\green0\blue0;\red0\green0\blue0;\red0\green0\blue0;\red0\green0\blue0;\red0\green0\blue0;\red0\green0\blue0;\red0\green0\blue0;\red0\green0\blue0;\red0\green0\blue0;}
\uc1
\pard\tx0\f1\fs20\cf2\b 01/15/99 - 06/05/06      ( Summary includes prior totals
 *Cabin Camp )\b0\tab\par\pard\tx0\f4\fs32\cf5\b\qc Scout Individual
Participation Report\b0\tab\par\pard\tx0\f0\fs20\cf1
\tab\par\pard\tx0\f1\fs20\cf2\b Name:\b0\tab\tx1843\f0\fs20\cf1 Flintstone,
Fred\tab\tx6336\f1\fs20\cf2\b Home Phone:\b0\tab\tx8294\f0\fs20\cf1 (714)
999-9999\tab\par\pard\tx0\f0\fs20\cf1 \tab\tx6336\f1\fs20\cf2\b
Patrol:\b0\tab\tx7257\f0\fs20\cf1 Raven\tab\par\pard\tx0\f1\fs20\cf2\b Current
Rank:\b0\tab\tx1843\f0\fs20\cf1 Life\tab\tx4032\f1\fs20\cf2\b Rank
Date:\b0\tab\tx5299\f0\fs20\cf1 09/26/05\tab\tx6336\f1\fs20\cf2\b Date of
Birth:\b0\tab\tx8294\f0\fs20\cf1 ********\tab\tx9331\f1\fs20\cf2\b
Age:\b0\tab\tx9907\f0\fs20\cf1 13\tab\par\pard\tx0\f1\fs20\cf2\b Pos'n of
Respons:\b0\tab\tx1843\f0\fs20\cf1 \tab\tx4032\f1\fs20\cf2\b Pos
Date:\b0\tab\tx5299\f0\fs20\cf1 \tab\tx6336\f1\fs20\cf2\b Date Joined
Unit:\b0\tab\tx8294\f0\fs20\cf1 10/03/05\tab\par\pard\tx0\f0\fs20\cf1
\tab\par\pard\tx0\f1\fs20\cf2\b \par}
Comment 1 edemeulle 2006-07-12 05:51:00 UTC
Created attachment 37695 [details]
Sample Document
Comment 2 michael.ruess 2006-07-12 07:57:48 UTC
See attached RTF document. Only the last of the user defined tab stops in the
the paragraphs will be imported here. This heavily destroys the layout of the
document.
Comment 3 Mathias_Bauer 2006-07-14 08:54:56 UTC
changing target
Comment 4 Mathias_Bauer 2006-07-21 16:24:53 UTC
-> HB
Comment 5 jramaley 2007-07-14 04:00:23 UTC
A similar symptom was resolved by insuring that the scope of the 1st tab sets 
does not include the 2nd tab sets.  While pard should have limited the first 
scope, it does not.  
Comment 6 ddeboer 2007-08-29 23:52:54 UTC
RTF documents are losing their tabs when opened in Open Office 2.2.1 on 
Windows XP professional.  Opening and saving in MS Word 2007 does not fix the
problem.  
Comment 7 Mathias_Bauer 2008-04-25 17:22:02 UTC
The docx import filter consumed most of our resources in the "interop" area. Due
to that we must retarget this issue. -> 3.x
Comment 8 Marcus 2017-05-20 11:15:17 UTC
Reset assigne to the default "issues@openoffice.apache.org".