Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix right to left issues#356

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
guyonroche merged 3 commits intoexceljs:masterfromalitaheri:support-rtl-sheet
Jul 16, 2017

Conversation

alitaheri
Copy link
Contributor

Adds a new property to sheet view. And fixesreadingOrder as it wasn't doing anything for 2 reasons:

  1. The values were set wrong.
  2. The keys werel2r andr2l instead of the documentltr andrtl ones.

Closes#72
Closes#126

xmlStream.addAttribute(name,value);
}
};
add('rightToLeft','1',model.rtl===true);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

there needs to be a corresponding line in the parseOpen function or it won't be able to read files properly

alitaheri reacted with thumbs up emoji
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Also - could you add this property to the unit test:
in spec/unit/xlsx/xform/sheet/sheet-view-xform.spec.js

alitaheri reacted with thumbs up emoji
{k:'l2r',v:2},
{k:Enums.ReadingOrder.RightToLeft,v:1},
{k:Enums.ReadingOrder.LeftToRight,v:2}
{k:'rtl',v:2},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Would you be able to add a unit test for these changes?
in spec/unit/xlsx/xform/style/alignment-xform.spec.js

alitaheri reacted with thumbs up emoji
@alitaheri
Copy link
ContributorAuthor

@guyonroche I made the requested changes.

I also renamedrtl torightToLeft to make it consistent with other props.

Copy link
Collaborator

@guyonrocheguyonroche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM

@guyonrocheguyonroche merged commit4916ead intoexceljs:masterJul 16, 2017
@alitaherialitaheri deleted the support-rtl-sheet branchJuly 16, 2017 07:50
@pouyakary
Copy link

@alitaheri what a small world!

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@guyonrocheguyonrocheguyonroche approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Adding an option to set RTL worksheet Add option to RTL file
3 participants
@alitaheri@pouyakary@guyonroche

[8]ページ先頭

©2009-2025 Movatter.jp