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 issue with print area defined name corrupting file#822

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

Conversation

donaldsonjulia
Copy link
Contributor

@donaldsonjuliadonaldsonjulia commentedMay 18, 2019
edited
Loading

PR includes:

  • Fix file corruption caused byprintArea defined name. As described in issue below:
    Defined Names Break/Corrupt Excel File into Repair Mode #664

  • Lint updates required by prettier in committed files.

  • Handle formatting of reconciled printArea, printTitlesRow, and printTitlesColumn the same, so all are serialized asA:A (not$A:$A), in following with the documented format for specifying a sheet's printTitlesRow, etc. (ws.pageSetup.printTitlesRow = 'A:B'; )

  • Update tests accordingly (per format changes above) and add testtestPrintAreaOut.js

…per prettier. update test coverage and apply same format when reconciling printTitles and printArea
@donaldsonjulia
Copy link
ContributorAuthor

In my project I experienced the corruption as a result of adding a printArea to a sheet with a name with a space in it ("sheet title", for example). That is the main issue I observed that motivated this PR.

@donaldsonjulia
Copy link
ContributorAuthor

@Siemienik This PR precedes my PR for headerFooter, in order to separate concerns.

Siemienik reacted with thumbs up emoji

@guyonroche
Copy link
Collaborator

@donaldsonjulia - Thank you for contributing :-) Are you sure this fixes issue#705 ? I thought that issue was about worksheet names

@donaldsonjuliadonaldsonjuliaforce-pushed thefix/print-area-defined-names branch from3747e31 to3a9d6cbCompareMay 21, 2019 18:27
@donaldsonjulia
Copy link
ContributorAuthor

@guyonroche You are correct about issue#705, sorry for the confusion! I removed it from the description. Late night PR summaries with too many tabs in my browser :)

@guyonrocheguyonroche merged commit89bd0ca intoexceljs:masterMay 31, 2019
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.

2 participants
@donaldsonjulia@guyonroche

[8]ページ先頭

©2009-2025 Movatter.jp