Issue 107143 - PDF export keeps wrapped text placeholders
Summary: PDF export keeps wrapped text placeholders
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: save-export (show other issues)
Version: OOo 3.1.1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: h.ilter
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks: 99999
  Show dependency tree
 
Reported: 2009-11-23 13:56 UTC by Marcus
Modified: 2013-08-07 14:44 UTC (History)
2 users (show)

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


Attachments
example to show the line break of a text placeholder (8.59 KB, application/vnd.oasis.opendocument.text)
2009-11-23 13:57 UTC, Marcus
no flags Details
example to show the line break of a text placeholder when exported to pdf (17.90 KB, application/pdf)
2009-11-23 13:57 UTC, Marcus
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Marcus 2009-11-23 13:56:19 UTC
Placeholders were removed with i93190 from PDF export. But when the placeholder
is wrapped to the next line then they are still exported. This should be avoided.
Comment 1 Marcus 2009-11-23 13:57:13 UTC
Created attachment 66291 [details]
example to show the line break of a text placeholder
Comment 2 Marcus 2009-11-23 13:57:55 UTC
Created attachment 66292 [details]
example to show the line break of a text placeholder when exported to pdf
Comment 3 Marcus 2009-11-23 13:58:46 UTC
set target
Comment 4 philipp.lohmann 2009-11-23 14:03:14 UTC
@od: please have a look
Comment 5 Oliver-Rainer Wittmann 2009-11-24 15:54:27 UTC
Defect cause found:
The second part of the placeholder is not recognized as a part of a placeholder
field. Thus, the corresponding option to suppress the export of the placeholder
can not be applied.

Solution:
Method <SwFldPortion::Clone(..)> has to transfer the placeholder attribute to
the created <SwFldPortion> instance.


The same defect occurs on printing when the corresponding print option to
suppress the print of placeholders is enabled.


This is no regression - the defect exists since the implementation of the print
option.
Comment 6 Oliver-Rainer Wittmann 2009-11-25 08:15:57 UTC
adjusting target as this issue becomes a show stopper
Comment 7 Oliver-Rainer Wittmann 2009-11-25 12:27:43 UTC
fix in progress in cws sw32bf08
Comment 8 Oliver-Rainer Wittmann 2009-11-25 13:33:12 UTC
fixed in cws sw32bf08 - changed files:
/sw/source/core/text/porfld.cxx,
/sw/source/core/text/porfld.hxx,
svn rev. 277635
Comment 9 Oliver-Rainer Wittmann 2009-11-25 14:52:01 UTC
OD->HI: Checked in internal installation set of cws sw32bf08 - please verify.
Comment 10 h.ilter 2009-11-27 11:36:42 UTC
Verified with cws sw32bf08 = ok