page layout: sheet right-to-left #927
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#927
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
hi
i need to export right-to-left sheet, that A1 column is in right side of page (not left side)
in microsoft excel we have this option in "Pagelayout" tab > "sheet options" > "Sheet-Right-to-Left"
i searched all readme and codes for "righttoleft" or sth like that, but nothing was founded
are we have this option in sheetjs ?
thank you.
i found it !
i changed source code.
its works correctly.
we should change this line
b3873ea615/bits/67_wsxml.js (L196)
from
return writextag("sheetViews", writextag("sheetView", null, {workbookViewId:"0"}), {});
to
return writextag("sheetViews", writextag("sheetView", null, {workbookViewId:"0", rightToLeft: "1"}), {});
but, as you know, it always use Right-to-Left, you can add an option for it
The
sheetViews
block should be generated dynamically. If you have patience, we could accept a PR with the following changes:The spec 18.3.1.88 states that there can be multiple sheet views, so the best place to store the information would be as an array within the
Workbook
attributes, namelyWorkbook.Views
:This would correspond to the following code:
And your code would use:
thank u very much 👍
I have written the code that will do this after many tries, the code must be like so