-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Odd-Even Merge operation mode #1445
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This also add a new translatable text message variable pdfOrganiser.mode.10 with translation for english and german
Frooodle
reviewed
Jun 12, 2024
@@ -821,6 +821,7 @@ pdfOrganiser.mode.6=Odd-Even Split | |||
pdfOrganiser.mode.7=Remove First | |||
pdfOrganiser.mode.8=Remove Last | |||
pdfOrganiser.mode.9=Remove First and Last | |||
pdfOrganiser.mode.10=Odd-Even Merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add to GB file not US for the base
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added also to the messages_en_GB.properties
Frooodle
approved these changes
Jun 12, 2024
Quality Gate failedFailed conditions |
szinn
referenced
this pull request
in szinn/k8s-homelab
Jun 15, 2024
…0.26.1 ) (#3852) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/stirling-tools/s-pdf](https://github.com/Stirling-Tools/Stirling-PDF) | patch | `0.26.0` -> `0.26.1` | --- ### Release Notes <details> <summary>Stirling-Tools/Stirling-PDF (ghcr.io/stirling-tools/s-pdf)</summary> ### [`v0.26.1`](https://github.com/Stirling-Tools/Stirling-PDF/releases/tag/v0.26.1): 0.26.1 Various minor enhancements + survey [Compare Source](https://github.com/Stirling-Tools/Stirling-PDF/compare/v0.26.0...v0.26.1) New Survey introduced this version, which will not pop up again after hitting don't show or after opening the survey just once We would appreciate it if you could give us some feedback on how we are doing! https://stirlingpdf.info/s/clwzgtfw7000gltkmwz1n212m ## Enhancements - Language updates as always! thankyou all! - change to Pdf.js-Legacy to support older chrome versions [@​Ludy87](https://github.com/Ludy87) - Odd-Even operation mode for organise feature (thanks [@​Skillkiller](https://github.com/Skillkiller) ) ## Bug fixes - contextPath issue fixes for root uri changes like /pdf etc [@​Ludy87](https://github.com/Ludy87) - PDF to image producing incorrect single image results if pages are different oriantations/sizes (thanks [@​Skillkiller](https://github.com/Skillkiller) ) #### What's Changed - Update messages_ar_AR.properties by [@​wahab95](https://github.com/wahab95) in [https://github.com/Stirling-Tools/Stirling-PDF/pull/1430](https://github.com/Stirling-Tools/Stirling-PDF/pull/1430) - change to Pdf.js-Legacy Version 4.3.136 by [@​Ludy87](https://github.com/Ludy87) in [https://github.com/Stirling-Tools/Stirling-PDF/pull/1444](https://github.com/Stirling-Tools/Stirling-PDF/pull/1444) - Update messages_zh_TW.properties: Translate English sentence to Chinese by [@​WorldOfWheat](https://github.com/WorldOfWheat) in [https://github.com/Stirling-Tools/Stirling-PDF/pull/1438](https://github.com/Stirling-Tools/Stirling-PDF/pull/1438) - Bugfix: missing contextPath by [@​Ludy87](https://github.com/Ludy87) in [https://github.com/Stirling-Tools/Stirling-PDF/pull/1434](https://github.com/Stirling-Tools/Stirling-PDF/pull/1434) - 📝 Update README: Translation Progress Table by [@​github-actions](https://github.com/github-actions) in [https://github.com/Stirling-Tools/Stirling-PDF/pull/1431](https://github.com/Stirling-Tools/Stirling-PDF/pull/1431) - survey by [@​Frooodle](https://github.com/Frooodle) in [https://github.com/Stirling-Tools/Stirling-PDF/pull/1446](https://github.com/Stirling-Tools/Stirling-PDF/pull/1446) - 📝 Update README: Translation Progress Table by [@​github-actions](https://github.com/github-actions) in [https://github.com/Stirling-Tools/Stirling-PDF/pull/1447](https://github.com/Stirling-Tools/Stirling-PDF/pull/1447) - Add Odd-Even Merge operation mode by [@​Skillkiller](https://github.com/Skillkiller) in [https://github.com/Stirling-Tools/Stirling-PDF/pull/1445](https://github.com/Stirling-Tools/Stirling-PDF/pull/1445) - When converting PDF to Word, add parameters to speed up soffice startup by [@​HHHHHMMMM](https://github.com/HHHHHMMMM) in [https://github.com/Stirling-Tools/Stirling-PDF/pull/1450](https://github.com/Stirling-Tools/Stirling-PDF/pull/1450) - Add missing of Ukrainian translation to the resource file by [@​anroypaul](https://github.com/anroypaul) in [https://github.com/Stirling-Tools/Stirling-PDF/pull/1448](https://github.com/Stirling-Tools/Stirling-PDF/pull/1448) - Update messages_it_IT.properties by [@​albanobattistella](https://github.com/albanobattistella) in [https://github.com/Stirling-Tools/Stirling-PDF/pull/1454](https://github.com/Stirling-Tools/Stirling-PDF/pull/1454) - Update messages_ja_JP.properties by [@​tkymmm](https://github.com/tkymmm) in [https://github.com/Stirling-Tools/Stirling-PDF/pull/1457](https://github.com/Stirling-Tools/Stirling-PDF/pull/1457) - \[ImgBot] Optimize images by [@​imgbot](https://github.com/imgbot) in [https://github.com/Stirling-Tools/Stirling-PDF/pull/1455](https://github.com/Stirling-Tools/Stirling-PDF/pull/1455) - Fixed a spelling mistake in French by [@​bistory](https://github.com/bistory) in [https://github.com/Stirling-Tools/Stirling-PDF/pull/1459](https://github.com/Stirling-Tools/Stirling-PDF/pull/1459) - PDF-to-Image different page formats fix by [@​Skillkiller](https://github.com/Skillkiller) in [https://github.com/Stirling-Tools/Stirling-PDF/pull/1460](https://github.com/Stirling-Tools/Stirling-PDF/pull/1460) - 💾 Update Version by [@​github-actions](https://github.com/github-actions) in [https://github.com/Stirling-Tools/Stirling-PDF/pull/1461](https://github.com/Stirling-Tools/Stirling-PDF/pull/1461) #### New Contributors - [@​WorldOfWheat](https://github.com/WorldOfWheat) made their first contribution in [https://github.com/Stirling-Tools/Stirling-PDF/pull/1438](https://github.com/Stirling-Tools/Stirling-PDF/pull/1438) - [@​Skillkiller](https://github.com/Skillkiller) made their first contribution in [https://github.com/Stirling-Tools/Stirling-PDF/pull/1445](https://github.com/Stirling-Tools/Stirling-PDF/pull/1445) - [@​HHHHHMMMM](https://github.com/HHHHHMMMM) made their first contribution in [https://github.com/Stirling-Tools/Stirling-PDF/pull/1450](https://github.com/Stirling-Tools/Stirling-PDF/pull/1450) - [@​anroypaul](https://github.com/anroypaul) made their first contribution in [https://github.com/Stirling-Tools/Stirling-PDF/pull/1448](https://github.com/Stirling-Tools/Stirling-PDF/pull/1448) - [@​bistory](https://github.com/bistory) made their first contribution in [https://github.com/Stirling-Tools/Stirling-PDF/pull/1459](https://github.com/Stirling-Tools/Stirling-PDF/pull/1459) **Full Changelog**: Stirling-Tools/Stirling-PDF@v0.26.0...v0.26.1 </details> <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MDguMiIsInVwZGF0ZWRJblZlciI6IjM3LjQwOC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL3BhdGNoIl19--> Co-authored-by: repo-jeeves[bot] <106431701+repo-jeeves[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
In this PR I am adding a new organisation mode for the page organiser. This mode can bring manual double-sided scans into the natural order.
It is about scans of multiple pages where the front side was scanned first and then all back sides. Sequence:
Page 1, page 3, page 5, page 2, page 4, page 6.
This mode brings the pages back into their natural page order (1,2,3,4,5,6). If the PDF document has an odd number of pages, it is assumed that there is one more front page than back pages (1,2,3,4,5).
Input sequence:
1,3,5,7,9,2,4,6,8,10
Output sequence:
1,2,3,4,5,6,7,8,9,10
Closes #1432
Screenshots:
Webpage
Input
Odd-Even Scan.pdf
Output
Odd-Even Scan_rearranged.pdf
Checklist:
Contributor License Agreement
By submitting this pull request, I acknowledge and agree that my contributions will be included in Stirling-PDF and that they can be relicensed in the future under the MPL 2.0 (Mozilla Public License Version 2.0) license.
(This does not change the general open-source nature of Stirling-PDF, simply moving from one license to another license)