Issue 111961 - when i export my document as xhtml . it's not detect my line text Direction corectly!
Summary: when i export my document as xhtml . it's not detect my line text Direction c...
Status: UNCONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: save-export (show other issues)
Version: OOo 3.1.1
Hardware: Unknown All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: Arabic, needhelp
Depends on:
Blocks:
 
Reported: 2010-05-31 14:25 UTC by pesarkhobeee
Modified: 2018-04-18 20:51 UTC (History)
2 users (show)

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


Attachments
my document contains rtl/ltr languages & i expect xhtml export of my document contains rtl/ltr attributes too but it doesn't (11.90 KB, text/plain)
2010-05-31 14:30 UTC, pesarkhobeee
no flags Details
my real document & you can show my real problem when export it as xhtml (161.64 KB, text/plain)
2010-05-31 14:42 UTC, pesarkhobeee
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description pesarkhobeee 2010-05-31 14:25:40 UTC
my document contains rtl/ltr languages & i expect xhtml export of my document
contains rtl/ltr attributes too but it doesn't
for example lets try it:
چون این کتاب در مورد برنامه نویسی است، ما با یک کد شروع می‌کنیم:
#include <string>
using std::string;
class MyClass {
public:
MyClass( const string& text );

const string& text() const;
	void setText( const string& text );

	int getLengthOfText() const;

private:
	string m_text;
};

in this example first line direction is right to left but when i export this
document all of the document is left to right!
Comment 1 pesarkhobeee 2010-05-31 14:30:56 UTC
Created attachment 69732 [details]
my document contains rtl/ltr languages & i expect xhtml export of my document contains rtl/ltr attributes too but it doesn't
Comment 2 pesarkhobeee 2010-05-31 14:42:52 UTC
Created attachment 69733 [details]
my real document & you can show my real problem when export it as xhtml
Comment 3 eric.savary 2010-05-31 14:45:17 UTC
SUS: please have a look.
Comment 4 rublea 2018-04-18 20:51:23 UTC
Reproduced the bug using :
OS : macOS Sierre v10.12.6
Apache Open Office Writer 4.1.5 (latest release)
Downloaded https://bz.apache.org/ooo/attachment.cgi?id=69732
Opened the file using OpenOffice
Exported the file as xhtml.

Expected result :
The xhtml view in the browser should be identical to the one on OpenOffice.

Actual result:
The arabic has reversed order(left->right instead of right->left)