Bug 95093 - [LOCALHELP] when inserting a variable is ignored line wrapping
Summary: [LOCALHELP] when inserting a variable is ignored line wrapping
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
5.1.0.0.alpha0+ Master
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: HelpGaps-NewFeatures
  Show dependency treegraph
 
Reported: 2015-10-15 17:15 UTC by tagezi
Modified: 2015-10-31 00:09 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
screenshot (17.25 KB, image/png)
2015-10-15 17:15 UTC, tagezi
Details
a file with the variable (3.70 KB, application/xml)
2015-10-15 17:16 UTC, tagezi
Details
a file (3.07 KB, application/xml)
2015-10-15 17:17 UTC, tagezi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tagezi 2015-10-15 17:15:12 UTC
Created attachment 119645 [details]
screenshot

when I insert a variable contains the line wrapping, it ignore.
For example, variable:
<paragraph id="par_id10013307115559" role="warning" xml-lang="en-US"><variable id="funt_im_warning">In any case the function returns a number in text format.<br/>If the function returns a complex number with some part equal zero, this part does not display in result.</variable></paragraph>

inserting:
<paragraph id="par_id22704971824910" role="warning"  localize="false" xml-lang="en-US"><embedvar href="text/scalc/01/func_imcot.xhp#funt_im_warning"/></paragraph>
Comment 1 tagezi 2015-10-15 17:16:39 UTC
Created attachment 119646 [details]
a file with the variable
Comment 2 tagezi 2015-10-15 17:17:08 UTC
Created attachment 119647 [details]
a file
Comment 3 tagezi 2015-10-15 17:18:29 UTC
 attachment 119646 [details] is file with the insert a variable
Comment 4 tagezi 2015-10-15 17:20:53 UTC
Ignore 3 posts above
attachment 119646 [details] is file with the variable
attachment 119647 [details] is file with the insert of variable
Comment 5 Yousuf Philips (jay) (retired) 2015-10-31 00:09:45 UTC
<embedvar> is for character level embedding and <embed> is for paragraph level embedding, so i'm assuming this is why the problem happens.

It would work fine like this.

For example, section:
<section id="funt_im_warning">
<paragraph id="par_id10013307115559" role="warning" xml-lang="en-US">In any case the function returns a number in text format.<br/>If the function returns a complex number with some part equal zero, this part does not display in result.</paragraph>
</section>

inserting:
<embed href="text/scalc/01/func_imcot.xhp#funt_im_warning"/>

The authoring pdf states about <embvar>:

"Text fragments can, for example, represent commonly used phrases or names of UI elements. These can be specified once and used in multiple places, reducing maintenance and localization effort." page 28

"This element is used to embed smaller text fragments with and without markup, which were previously declared as being variables." page 47

I'm closing this, but others are welcome to reopen if i'm mistaken. :D

@Lera: If you want us to be automatically notified with your bug reports, set the Blocks field in the bug submission page to the appropriate meta tag. :D