Issue 107143

Summary: PDF export keeps wrapped text placeholders
Product: Writer Reporter: Marcus <marcus>
Component: save-exportAssignee: h.ilter
Status: CLOSED FIXED QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P3 CC: h.ilter, issues
Version: OOo 3.1.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 99999    
Attachments:
Description Flags
example to show the line break of a text placeholder
none
example to show the line break of a text placeholder when exported to pdf none

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