Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi Jacobo,

On Wed, Dec 18, 2013 at 01:34:18PM +0100, Jacobo Aragunde Pérez <jaragunde@igalia.com> wrote:
Copying the information in the theme and the styles files when pasting
things is probably not a viable idea, but maybe we should transform the
theme format into direct format when pasting the text to a new document.

Hmm, shouldn't we already convert that to direct formatting on import?
Otherwise if saving as ODT, the correct font will be lost, I assume.

We do this already for table styles (applying the style as direct
formatting during import).

What do you think? And if you agree, where I should start reading code? ;)

Copy&paste is handled by copying the selected SwPaM to a "clipboard
document" on Ctrl-C, and then copying from that document to the real one
on Ctrl-V. SwFEShell's Copy() and Paste() methods are probably what
you're looking for.

However, as mentioned above, I think it would be better to handle this
on import, not during editing.

Miklos

Attachment: signature.asc
Description: Digital signature


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.