mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
Set "dryrun" to true for XHTML copying routine. This suppresses
the production of images, etc, making copying even the entire User's Guide and almost instantaneous operation.
This commit is contained in:
parent
dae6ca73df
commit
030326466f
@ -530,6 +530,8 @@ void putClipboard(ParagraphList const & paragraphs,
|
||||
// XHTML format
|
||||
odocstringstream oshtml;
|
||||
OutputParams runparams(encodings.fromLyXName("utf8"));
|
||||
// We do not need to produce images, etc.
|
||||
runparams.dryrun = true;
|
||||
buffer->writeLyXHTMLSource(oshtml, runparams, Buffer::FullSource);
|
||||
|
||||
theClipboard().put(lyx, oshtml.str(), plaintext);
|
||||
|
Loading…
Reference in New Issue
Block a user