Issue 106361 - Option to ignore particular hidden text for "paste as unformatted text"
Summary: Option to ignore particular hidden text for "paste as unformatted text"
Status: UNCONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOo 3.1.1
Hardware: All All
: P4 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: needhelp, needmoreinfo, oooqa
Depends on:
Blocks:
 
Reported: 2009-10-27 21:08 UTC by shaforostoff
Modified: 2014-03-23 14:56 UTC (History)
1 user (show)

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


Attachments
file with hidden deleted text (52.50 KB, application/msword)
2009-10-27 21:09 UTC, shaforostoff
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description shaforostoff 2009-10-27 21:08:31 UTC
1. open the file, select text starting from 
Чім ваша програма краще інших, аналогічних?
and the paragraph immediately after it
2. press ctrl+ins
3. go to kate, scribus, or notepad (on win32) and press shift+ins

redundant text (i.e. we don't see it in openoffice window, except when in 
unprintable characters mode) gets copied (it seems it was deleted in review 
mode).

i'll attach the file after submitting this report.
Comment 1 shaforostoff 2009-10-27 21:09:31 UTC
Created attachment 65687 [details]
file with hidden deleted text
Comment 2 Rainer Bielefeld 2009-10-28 06:41:20 UTC
Reproducible with "Ooo 3.1.1 WIN XP DE-multilingual version German UI activated
[OOO310m19 (Build 9420)]", but I can't see anything wrong in the current
behaviour. Of course all selected contents will be copied to clipboard, but also
of course, a correct interpretation of that contents is only possible if the
application to where you paste the contents is able to interpret all that
contents in the correct way. 

If you proceed as reported and paste the contents into an other OOo document,
the paragraph will look exactly as in the source document. 
If you use "paste unformatted text", also hidden contents like "Nonprinting
characters" will be shown.

INVALID?

@reporter:
Why do you believe that the current behaviour is wrong?
Please specify your OS, Platform, OOo localizatian!

Comment 3 michael.ruess 2009-10-28 14:51:07 UTC
The text has not been removed by review mode. It is formatted as "Hidden"
(Format.Character.Font effects). Any character formattings could not be written
to "unformatted text" clipboard format (which is used by text editors) thus the
text is visible in named editors. 
Comment 4 michael.ruess 2009-10-28 14:52:20 UTC
Closed, cannot be fixed.
Comment 5 shaforostoff 2009-10-28 20:36:20 UTC
as far as i know, a clipboard may have several versions - e.g. one with formatting and 
it's 'plain text' equivalent. so 'plain text' version shouldn't contain hidden text 
(if 'unprintable characters' ain't shown).

see http://doc.trolltech.com/4.5/qclipboard.html#setMimeData and 
http://doc.trolltech.com/4.5/qmimedata.html#setData
if Qt can do this multiplatform, OOo should be able to do it too.
Comment 6 Rainer Bielefeld 2009-10-29 07:04:57 UTC
Not A DEFECT.
Related to Issue 91562?

@shaforostoff:
AFAIK your knowledge is wrong. But Qt indeed shows interesting features, may be
some of them can be integrated to OOo
Comment 7 michael.ruess 2009-10-29 09:50:49 UTC
Reassigned to requirements.
When implementing some things have to be cleared: what should happen when
"hidden text" is visible (show formatting marks)?
Comment 8 shaforostoff 2009-10-29 11:06:25 UTC
> what should happen when"hidden text" is visible
well, it should be copied to the text/plain clipboard (i.e. old behaviour)
Comment 9 Rainer Bielefeld 2009-10-29 11:55:13 UTC
@shaforostoff:
There is no separate "text/plain clipboard" (but may be WORD handles various
clipboards for different uses).
What do you mean with "i.e. old behaviour"; OOo1.x? WordStar? Please contribute
a clear and detailed concept for your needs!
Comment 10 shaforostoff 2009-10-29 21:47:40 UTC
-unprinted characters are off -> copy only visible text
-unprinted characters are on -> copy both visible and 'hidden' text

on X11 xdnd [http://www.newplanetsoftware.com/xdnd/] is used fopr clipboard, 
and it does support mimetypes.
Comment 11 shaforostoff 2009-10-29 21:50:29 UTC
the use case is user copying large text block from openoffice writer to 
scribus, not noticing redundant text, which then gets printed in many copies.
Comment 12 Rainer Bielefeld 2009-11-16 05:02:45 UTC
Can't help here
Comment 13 Rob Weir 2013-02-02 02:57:58 UTC
This Issue requires more information ('needmoreinfo'), but has not been updated
within the last year. Please provide feedback as requested and re-test with the the latest version of OpenOffice - the problem(s) may already be addressed. 

You can download Apache OpenOffice 3.4.1 from http://www.openoffice.org/download

Please report back the outcome of your testing, so this Issue may be closed or
progressed as necessary - otherwise the issue may be Resolved as Invalid in the
future.