When i copy table from Microsoft word into collabora writer, I suffer from two step operation to merge table

My question is that whether i can merge only suffering once paste operation.

@shunshun

Welcome to the Collabora Online forum! We’re glad to have you here.

Regarding your query, unfortunately, Collabora Writer currently does not support merging tables directly during the paste operation. After pasting, you will need to manually use the table editing tools to merge it with an existing table.

We understand that this process can be inconvenient, and we encourage you to consider submitting a feature request on our GitHub repository. This will help our team consider it for future improvements.

Thanks,
Darshan

OK, thx your reply. besides would you have some advises about the feature?

OK, thx, besides would you have some advises about the feature? what i should do about online layer or others?

@shunshun try this 2 things

1. Use Paste Special

Instead of a regular paste, use Paste Special to select a format that better preserves table integrity.

  1. Copy the table from Microsoft Word.
  2. In Collabora Writer, go to Edit > Paste Special or use a similar option (depending on your setup).
  3. Choose a format that avoids splitting, such as “Unformatted Text” or “HTML”.

2. Optimize Table in Word Before Copying

If possible, clean up the table in Word to reduce formatting issues:

  • Remove unnecessary paragraph marks or merged cells.
  • Simplify the table’s style to a basic format.

(post deleted by author)

I see some info about this procession in code when CTRL +V.
1st: kit->setclipboard(in text/rtf format)
2nd: send uno:Paste cmd to kit
maybe I should modify Pasting logical ?

it sounds like you’re on the right track with investigating the clipboard processing logic! Since the sequence involves setting the clipboard (kit->setclipboard) and then sending the uno:Paste command, modifying the pasting logic could indeed be a viable approach.

Why not give it a try? Adjusting the logic might streamline the process and achieve the result you’re looking for. Let us know how it goes—your exploration could lead to a great solution!

Thanks
Darshan

OK thanks @darshan , I will have a try about this solution.

1 Like