Closed Bug 303736 Opened 19 years ago Closed 13 years ago

Copying *part* of a table into MS Word does not preserve table formatting

Categories

(Core :: DOM: Selection, defect)

1.7 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 137450

People

(Reporter: LJ_Davis, Assigned: bbondy)

References

Details

(Keywords: testcase)

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

Cutting a portion of bank statement information from bank web page:  pasting to
Word, now retains formatting if copied directly from web page; however, if
select "Printable Version," paste loses all formatting.

Reproducible: Always

Steps to Reproduce:
1. Open bank web page; select "printable version"
2. Highlight a portion of the line items (i.e., today and yesterday only)
3. Copy highlighted text, then paste into Word.

Actual Results:  
Showed text only -- lost all columnar formatting.  I decline to paste in actual
results due to confidentiality.

Expected Results:  
Should have retained columnar formatting.

I don't use FireFox as my default browser because of this bug.  I access a
number of banking statements every day, and cut and paste the most recent
transactions into Word (to save printing unnecessary/duplicate text). It is too
frustrating to deal with unformatted results because it takes too much time to
decipher the transaction ...
Can you attach an example of an HTML page where this happens?
Assignee: nobody → selection
Component: File Handling → Selection
Product: Firefox → Core
QA Contact: file.handling
Summary: Cutting bank statement information from bank web page → Copying HTML from this page and pasting into Word does not preserve formatting
Version: unspecified → 1.7 Branch
Related to/duplicate of bug 237546 or bug 294054?
Attached file word document the reporter sent me (obsolete) —
Summary: Copying HTML from this page and pasting into Word does not preserve formatting → Copying *part* of a table into MS Word does not preserve table formatting
Attached file testcase
If you copy the middle two rows, pasting into Word does not preserve the table
formatting.  If you select the entire page with Ctrl+A, the formatting is
preserved.
Tested with MS Word 2002 on WinXP, and today's MOZILLA_1_8_BRANCH build of Firefox.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attachment #193113 - Attachment is obsolete: true
There is a workaround available, noted in bug 137450.   IF you highlight the
table by a CTRL-click on the table border and then copy/paste, formatting is
preserved.  This does not, however, solve the general clipboard problem where
Firefox fails to always preserve formatting from web pages.
Keywords: testcase
Reporter using your attached testcase, here seems work fine on

Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729) ID:20090729225027

Can you confirm?
Assignee: selection → nobody
QA Contact: selection
This reproduces in FireFox 4b12.
Go to about:support, select the Hardware Acceleration table at the bottom, press Ctrl+C, open Notepad, press Ctrl+V - One line of text with no spaces between the cells/new lines between the rows.
Related/duplicated issues -
https://bugzilla.mozilla.org/show_bug.cgi?id=638439
https://bugzilla.mozilla.org/show_bug.cgi?id=572543
https://bugzilla.mozilla.org/show_bug.cgi?id=137450
https://bugzilla.mozilla.org/show_bug.cgi?id=237546
https://bugzilla.mozilla.org/show_bug.cgi?id=515464
Assignee: nobody → netzen
Problem is fixed in a patch provided in Bug 137450.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: