| author | |
| committer | |
| log | ba13c9e71bde40e0327a4ca1afabe2810c585c79 |
| tree | 49480d120b73e1f4efe464987c24e51f5ea70453 |
| parent | 2b6b27a5f40c444729b8e94f419110deb57fe633 |
| signature | Signed by SSH key SHA256:52mNGHRsVFBDED9IAX5pe+LRWUefqTbxEReunq21QvU |
Modern ships as modern-2: OneNote 2010's PageTitle (17 pt, regular, automatic) in
Arial, and headings 1, 5 and 6 in the section's accent. The first Modern is retired
rather than changed, so app versions don't restyle each other's pages: pages and
scopes given it keep it, and only where it is worn is it listed. New notebooks take
Modern, or Options' "Default for new notebooks"; notebooks without a theme are
still never touched. corpus/styles holds the new candidate and its cold read in
OneNote 2010.
Assisted-by: claude-opus-5.536 files changed, 234 insertions(+), 75 deletions(-)
corpus/styles/candidate/.snowbound/themes.json+5-5| ... | ... | @@ -3,30 +3,30 @@ |
| 3 | 3 | "assignments": [ |
| 4 | 4 | { |
| 5 | 5 | "scope": { |
| 6 | "section": "125e8f01c6ee404b96cc675d00ceb659" | |
| 6 | "section": "f0eb3316ed995d4f9a403ead450892a1" | |
| 7 | 7 | }, |
| 8 | 8 | "theme": "onenote", |
| 9 | 9 | "assigned": 134000000000000000 |
| 10 | 10 | }, |
| 11 | 11 | { |
| 12 | 12 | "scope": { |
| 13 | "section": "af4f8ea23c5f7e41838ac7cbea473590" | |
| 13 | "section": "13d8c0f86a617e4cb35733d2e514408f" | |
| 14 | 14 | }, |
| 15 | 15 | "theme": "manuscript", |
| 16 | 16 | "assigned": 134000000000000000 |
| 17 | 17 | }, |
| 18 | 18 | { |
| 19 | 19 | "scope": { |
| 20 | "section": "18af2996b565454c971191d887028fc8" | |
| 20 | "section": "aae44a30901cff4aaca7fadf0c8bf659" | |
| 21 | 21 | }, |
| 22 | 22 | "theme": "editorial", |
| 23 | 23 | "assigned": 134000000000000000 |
| 24 | 24 | }, |
| 25 | 25 | { |
| 26 | 26 | "scope": { |
| 27 | "section": "f0ca724b3a9d3d4b82bc6f28bd77966c" | |
| 27 | "section": "709fb4685c18f945a24f9aa162fc78e4" | |
| 28 | 28 | }, |
| 29 | "theme": "modern", | |
| 29 | "theme": "modern-2", | |
| 30 | 30 | "assigned": 134000000000000000 |
| 31 | 31 | } |
| 32 | 32 | ] |
corpus/styles/candidate/Editorial.one| Binary files a/corpus/styles/candidate/Editorial.one and b/corpus/styles/candidate/Editorial.one differ |
corpus/styles/candidate/Manuscript.one| Binary files a/corpus/styles/candidate/Manuscript.one and b/corpus/styles/candidate/Manuscript.one differ |
corpus/styles/candidate/Modern.one| Binary files a/corpus/styles/candidate/Modern.one and b/corpus/styles/candidate/Modern.one differ |
corpus/styles/candidate/OneNote.one| Binary files a/corpus/styles/candidate/OneNote.one and b/corpus/styles/candidate/OneNote.one differ |
corpus/styles/candidate/Open Notebook.onetoc2| Binary files a/corpus/styles/candidate/Open Notebook.onetoc2 and b/corpus/styles/candidate/Open Notebook.onetoc2 differ |
corpus/styles/cold/commands.jsonl+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | 1 | {"command": "powershell -NoProfile -Command \"Expand-Archive -LiteralPath C:\\one-tests\\transfer.zip -DestinationPath C:\\one-tests\\runs\\capture\\notebook\"", "exit": 0, "stdout": "", "stderr": "", "error": null} |
| 2 | {"command": "powershell -NoProfile -NonInteractive -ExecutionPolicy Bypass -File C:\\one-tests\\author.ps1 -Root C:\\one-tests\\runs\\capture -CloneHost ONE-M6-222E5D78", "exit": 0, "stdout": "", "stderr": "", "error": null} | |
| 3 | {"command": "powershell -NoProfile -NonInteractive -ExecutionPolicy Bypass -File C:\\one-tests\\read-current.ps1 -Root C:\\one-tests\\runs\\capture -CloneHost ONE-M6-222E5D78 -ExpectedPages 4 -UseCurrentCache -KeepOpen", "exit": 0, "stdout": "Read 4 sections and 4 pages.\r\n", "stderr": "", "error": null} | |
| 2 | {"command": "powershell -NoProfile -NonInteractive -ExecutionPolicy Bypass -File C:\\one-tests\\author.ps1 -Root C:\\one-tests\\runs\\capture -CloneHost ONE-M6-F5FCF7CA", "exit": 0, "stdout": "", "stderr": "", "error": null} | |
| 3 | {"command": "powershell -NoProfile -NonInteractive -ExecutionPolicy Bypass -File C:\\one-tests\\read-current.ps1 -Root C:\\one-tests\\runs\\capture -CloneHost ONE-M6-F5FCF7CA -ExpectedPages 4 -UseCurrentCache -KeepOpen", "exit": 0, "stdout": "Read 4 sections and 4 pages.\r\n", "stderr": "", "error": null} | |
| 4 | 4 | {"command": "powershell -NoProfile -Command \"Compress-Archive -Force -Path C:\\one-tests\\runs\\capture\\* -DestinationPath C:\\one-tests\\captured.zip\"", "exit": 0, "stdout": "", "stderr": "", "error": null} |
corpus/styles/cold/machine.json+1-1| ... | ... | @@ -1 +1 @@ |
| 1 | {"name": "m6-222e5d78", "hostname": "ONE-M6-222E5D78"} | |
| 1 | {"name": "m6-f5fcf7ca", "hostname": "ONE-M6-F5FCF7CA"} |
corpus/styles/cold/notebook/Editorial.one| Binary files a/corpus/styles/cold/notebook/Editorial.one and b/corpus/styles/cold/notebook/Editorial.one differ |
corpus/styles/cold/notebook/Manuscript.one| Binary files a/corpus/styles/cold/notebook/Manuscript.one and b/corpus/styles/cold/notebook/Manuscript.one differ |
corpus/styles/cold/notebook/Modern.one| Binary files a/corpus/styles/cold/notebook/Modern.one and b/corpus/styles/cold/notebook/Modern.one differ |
corpus/styles/cold/notebook/OneNote.one| Binary files a/corpus/styles/cold/notebook/OneNote.one and b/corpus/styles/cold/notebook/OneNote.one differ |
corpus/styles/cold/notebook/Open Notebook.onetoc2| Binary files a/corpus/styles/cold/notebook/Open Notebook.onetoc2 and b/corpus/styles/cold/notebook/Open Notebook.onetoc2 differ |
corpus/styles/cold/read/environment.json+1-1| ... | ... | @@ -1,7 +1,7 @@ |
| 1 | 1 | { |
| 2 | 2 | "powershell": "5.1.14409.1005", |
| 3 | 3 | "schema": "xs2010", |
| 4 | "hostname": "ONE-M6-222E5D78", | |
| 4 | "hostname": "ONE-M6-F5FCF7CA", | |
| 5 | 5 | "cold": false, |
| 6 | 6 | "onenote": "14.0.4763.1000" |
| 7 | 7 | } |
corpus/styles/cold/read/hierarchy.xml+1-1| ... | ... | @@ -1,2 +1,2 @@ |
| 1 | 1 | <?xml version="1.0"?> |
| 2 | <one:Notebook xmlns:one="http://schemas.microsoft.com/office/onenote/2010/onenote" name="notebook" nickname="notebook" ID="{271A6096-75F2-4406-AB00-6825469A9737}{1}{B0}" path="C:\one-tests\runs\capture\notebook" lastModifiedTime="2026-10-01T02:33:10.000Z" color="#B49EDE"><one:Section name="OneNote" ID="{E3C86EF0-C031-09EE-1345-96A18B2CCE8A}{1}{B0}" path="C:\one-tests\runs\capture\notebook\OneNote.one" lastModifiedTime="2026-10-01T02:33:10.000Z" color="#8AA8E4"><one:Page ID="{20A092AA-72F9-0EF1-1B68-BAD626A1C2D1}{1}{B0}" name="Heading 1 in OneNote" dateTime="2026-10-01T02:30:16.000Z" lastModifiedTime="2026-10-01T02:33:10.000Z" pageLevel="1"/></one:Section><one:Section name="Manuscript" ID="{93F9DCCA-6F22-0CBF-3CA8-63D0B1903566}{1}{B0}" path="C:\one-tests\runs\capture\notebook\Manuscript.one" lastModifiedTime="2026-10-01T02:33:10.000Z" color="#8AA8E4"><one:Page ID="{1B38B1D2-2CD4-06B9-39CE-B67CE50AF7B2}{1}{B0}" name="Heading 1 in Manuscript" dateTime="2026-10-01T02:30:16.000Z" lastModifiedTime="2026-10-01T02:33:10.000Z" pageLevel="1"/></one:Section><one:Section name="Editorial" ID="{37BA4275-BBA9-09E8-1F3F-655C55899D0A}{1}{B0}" path="C:\one-tests\runs\capture\notebook\Editorial.one" lastModifiedTime="2026-10-01T02:33:10.000Z" color="#8AA8E4"><one:Page ID="{7DD8EF42-6F86-057F-01F3-CC4506AB6443}{1}{B0}" name="Heading 1 in Editorial" dateTime="2026-10-01T02:30:16.000Z" lastModifiedTime="2026-10-01T02:33:10.000Z" pageLevel="1"/></one:Section><one:Section name="Modern" ID="{349DBF5A-9B2C-06CE-32B2-EEF937D83CD2}{1}{B0}" path="C:\one-tests\runs\capture\notebook\Modern.one" lastModifiedTime="2026-10-01T02:33:10.000Z" color="#8AA8E4"><one:Page ID="{9A9B6AA5-46CF-05FF-3E17-6A76C011C454}{1}{B0}" name="Heading 1 in Modern" dateTime="2026-10-01T02:30:16.000Z" lastModifiedTime="2026-10-01T02:33:10.000Z" pageLevel="1"/></one:Section></one:Notebook> | |
| 2 | <one:Notebook xmlns:one="http://schemas.microsoft.com/office/onenote/2010/onenote" name="notebook" nickname="notebook" ID="{826A157C-E2A7-4BB5-8AE9-E5C8A28404DD}{1}{B0}" path="C:\one-tests\runs\capture\notebook" lastModifiedTime="2026-10-03T00:54:06.000Z" color="#B49EDE"><one:Section name="OneNote" ID="{68609EFC-E11D-06CD-1225-90B94B8642B7}{1}{B0}" path="C:\one-tests\runs\capture\notebook\OneNote.one" lastModifiedTime="2026-10-03T00:54:06.000Z" color="#8AA8E4"><one:Page ID="{08DE4AFA-C1E9-0470-2869-532F99CD85D5}{1}{B0}" name="Heading 1 in OneNote" dateTime="2026-10-03T00:51:40.000Z" lastModifiedTime="2026-10-03T00:54:06.000Z" pageLevel="1"/></one:Section><one:Section name="Manuscript" ID="{765CE0D5-3EA3-0AA0-1312-312E53341753}{1}{B0}" path="C:\one-tests\runs\capture\notebook\Manuscript.one" lastModifiedTime="2026-10-03T00:54:06.000Z" color="#8AA8E4"><one:Page ID="{E57F4A9F-8DA8-0F1D-097C-FF0F69855409}{1}{B0}" name="Heading 1 in Manuscript" dateTime="2026-10-03T00:51:40.000Z" lastModifiedTime="2026-10-03T00:54:06.000Z" pageLevel="1"/></one:Section><one:Section name="Editorial" ID="{1699E334-BF81-01F5-13AD-A7C132421CCA}{1}{B0}" path="C:\one-tests\runs\capture\notebook\Editorial.one" lastModifiedTime="2026-10-03T00:54:06.000Z" color="#8AA8E4"><one:Page ID="{D37002E9-AECE-01B2-0FF9-E71AF597778F}{1}{B0}" name="Heading 1 in Editorial" dateTime="2026-10-03T00:51:40.000Z" lastModifiedTime="2026-10-03T00:54:06.000Z" pageLevel="1"/></one:Section><one:Section name="Modern" ID="{24D9CF07-F51F-05FD-3CEB-56C0E3B48DE1}{1}{B0}" path="C:\one-tests\runs\capture\notebook\Modern.one" lastModifiedTime="2026-10-03T00:54:06.000Z" color="#8AA8E4"><one:Page ID="{BC016F5C-6CD9-006B-0B89-C0CA0A132596}{1}{B0}" name="Heading 1 in Modern" dateTime="2026-10-03T00:51:40.000Z" lastModifiedTime="2026-10-03T00:54:06.000Z" pageLevel="1"/></one:Section></one:Notebook> |
corpus/styles/cold/read/page-000.navigation.json+1-1| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | "h": 600, |
| 7 | 7 | "error": null, |
| 8 | 8 | "win": { |
| 9 | "title": "Heading 1 in Manuscript - Microsoft OneNote", | |
| 9 | "title": "Heading 1 in OneNote - Microsoft OneNote", | |
| 10 | 10 | "class": "Framework::CFrame", |
| 11 | 11 | "dialog": false |
| 12 | 12 | } |
corpus/styles/cold/read/page-000.png| Binary files a/corpus/styles/cold/read/page-000.png and b/corpus/styles/cold/read/page-000.png differ |
corpus/styles/cold/read/page-000.xml+7-6| ... | ... | @@ -1,7 +1,8 @@ |
| 1 | 1 | <?xml version="1.0"?> |
| 2 | <one:Page xmlns:one="http://schemas.microsoft.com/office/onenote/2010/onenote" ID="{1B38B1D2-2CD4-06B9-39CE-B67CE50AF7B2}{1}{B0}" name="Heading 1 in Manuscript" dateTime="2026-10-01T02:30:16.000Z" lastModifiedTime="2026-10-01T02:33:10.000Z" pageLevel="1" lang="en-US"><one:QuickStyleDef index="0" name="h1" fontColor="#3B2F2A" highlightColor="automatic" font="Georgia" fontSize="20.0" spaceBefore="0.333333343267441" spaceAfter="0.111111111938953"/><one:QuickStyleDef index="1" name="h2" fontColor="#3B2F2A" highlightColor="automatic" font="Georgia" fontSize="16.0" bold="true" spaceBefore="0.277777791023254" spaceAfter="0.0555555559694767"/><one:QuickStyleDef index="2" name="h3" fontColor="#3B2F2A" highlightColor="automatic" font="Georgia" fontSize="13.0" bold="true" spaceBefore="0.222222223877907" spaceAfter="0.0555555559694767"/><one:QuickStyleDef index="3" name="h4" fontColor="#3B2F2A" highlightColor="automatic" font="Georgia" fontSize="12.0" bold="true" italic="true" spaceBefore="0.16666667163372" spaceAfter="0.0"/><one:QuickStyleDef index="4" name="h5" fontColor="#3B2F2A" highlightColor="automatic" font="Georgia" fontSize="12.0" spaceBefore="0.16666667163372" spaceAfter="0.0"/><one:QuickStyleDef index="5" name="h6" fontColor="#3B2F2A" highlightColor="automatic" font="Georgia" fontSize="12.0" italic="true" spaceBefore="0.16666667163372" spaceAfter="0.0"/><one:QuickStyleDef index="6" name="PageTitle" fontColor="#1F1A17" highlightColor="automatic" font="Georgia" fontSize="26.0" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="7" name="cite" fontColor="#7A6E66" highlightColor="automatic" font="Georgia" fontSize="9.0" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="8" name="blockquote" fontColor="#6B5E55" highlightColor="automatic" font="Georgia" fontSize="12.0" italic="true" spaceBefore="0.0" spaceAfter="0.111111111938953"/><one:QuickStyleDef index="9" name="code" fontColor="#2B2B2B" highlightColor="automatic" font="Courier New" fontSize="10.5" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="10" name="p" fontColor="#2B2B2B" highlightColor="automatic" font="Georgia" fontSize="12.0" spaceBefore="0.0" spaceAfter="0.111111111938953"/><one:PageSettings RTL="false" color="automatic"><one:PageSize><one:Automatic/></one:PageSize><one:RuleLines visible="false"/></one:PageSettings><one:Outline author="Author" authorInitials="A" lastModifiedBy="Author" lastModifiedByInitials="A" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{93F9DCCA-6F22-0CBF-3CA8-63D0B1903566}{23}{B0}"><one:Position x="36.0" y="36.0" z="0"/><one:Size width="321.6620483398437" height="215.5119476318359"/><one:OEChildren><one:OE creationTime="2026-10-01T02:30:16.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{93F9DCCA-6F22-0CBF-3CA8-63D0B1903566}{24}{B0}" alignment="left" spaceBefore="12.0" spaceAfter="4.0" quickStyleIndex="0"><one:T><![CDATA[Heading 1 in Manuscript]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{3A13956E-4E22-0BA4-32E9-AFBC2547266F}{44}{B0}" alignment="left" spaceBefore="10.0" spaceAfter="2.0" quickStyleIndex="1"><one:T><![CDATA[<span | |
| 3 | style='font-weight:bold'>Heading 2 in Manuscript</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{3A13956E-4E22-0BA4-32E9-AFBC2547266F}{48}{B0}" alignment="left" spaceBefore="8.0" spaceAfter="2.0" quickStyleIndex="2"><one:T><![CDATA[<span | |
| 4 | style='font-weight:bold'>Heading 3 in Manuscript</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{3A13956E-4E22-0BA4-32E9-AFBC2547266F}{51}{B0}" alignment="left" spaceBefore="6.0" quickStyleIndex="3"><one:T><![CDATA[<span | |
| 5 | style='font-weight:bold;font-style:italic'>Heading 4 in Manuscript</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{3A13956E-4E22-0BA4-32E9-AFBC2547266F}{54}{B0}" alignment="left" spaceBefore="6.0" quickStyleIndex="4"><one:T><![CDATA[Heading 5 in Manuscript]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{3A13956E-4E22-0BA4-32E9-AFBC2547266F}{57}{B0}" alignment="left" spaceBefore="6.0" quickStyleIndex="5"><one:T><![CDATA[<span | |
| 6 | style='font-style:italic'>Heading 6 in Manuscript</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{3A13956E-4E22-0BA4-32E9-AFBC2547266F}{60}{B0}" alignment="left" quickStyleIndex="6"><one:T><![CDATA[Page Title in Manuscript]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{3A13956E-4E22-0BA4-32E9-AFBC2547266F}{63}{B0}" alignment="left" quickStyleIndex="7"><one:T><![CDATA[Citation in Manuscript]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{3A13956E-4E22-0BA4-32E9-AFBC2547266F}{66}{B0}" alignment="left" spaceAfter="4.0" quickStyleIndex="8"><one:T><![CDATA[<span | |
| 7 | style='font-style:italic'>Quote in Manuscript</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{3A13956E-4E22-0BA4-32E9-AFBC2547266F}{69}{B0}" alignment="left" quickStyleIndex="9"><one:T><![CDATA[Code in Manuscript]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{3A13956E-4E22-0BA4-32E9-AFBC2547266F}{72}{B0}" alignment="left" spaceAfter="4.0" quickStyleIndex="10"><one:T><![CDATA[Normal in Manuscript]]></one:T></one:OE></one:OEChildren></one:Outline></one:Page> | |
| 2 | <one:Page xmlns:one="http://schemas.microsoft.com/office/onenote/2010/onenote" ID="{08DE4AFA-C1E9-0470-2869-532F99CD85D5}{1}{B0}" name="Heading 1 in OneNote" dateTime="2026-10-03T00:51:40.000Z" lastModifiedTime="2026-10-03T00:54:06.000Z" pageLevel="1" lang="en-US"><one:QuickStyleDef index="0" name="h1" fontColor="#17365D" highlightColor="automatic" font="Calibri" fontSize="16.0" bold="true" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="1" name="h2" fontColor="#366092" highlightColor="automatic" font="Calibri" fontSize="13.0" bold="true" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="2" name="h3" fontColor="#366092" highlightColor="automatic" font="Calibri" fontSize="11.0" bold="true" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="3" name="h4" fontColor="#366092" highlightColor="automatic" font="Calibri" fontSize="11.0" bold="true" italic="true" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="4" name="h5" fontColor="#366092" highlightColor="automatic" font="Calibri" fontSize="11.0" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="5" name="h6" fontColor="#366092" highlightColor="automatic" font="Calibri" fontSize="11.0" italic="true" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="6" name="PageTitle" fontColor="automatic" highlightColor="automatic" font="Calibri" fontSize="17.0" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="7" name="cite" fontColor="#595959" highlightColor="automatic" font="Calibri" fontSize="9.0" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="8" name="blockquote" fontColor="#595959" highlightColor="automatic" font="Calibri" fontSize="11.0" italic="true" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="9" name="code" fontColor="automatic" highlightColor="automatic" font="Courier New" fontSize="11.0" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="10" name="p" fontColor="automatic" highlightColor="automatic" font="Calibri" fontSize="11.0" spaceBefore="0.0" spaceAfter="0.0"/><one:PageSettings RTL="false" color="automatic"><one:PageSize><one:Automatic/></one:PageSize><one:RuleLines visible="false"/></one:PageSettings><one:Outline author="Author" authorInitials="A" lastModifiedBy="Author" lastModifiedByInitials="A" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{68609EFC-E11D-06CD-1225-90B94B8642B7}{23}{B0}"><one:Position x="36.0" y="36.0" z="0"/><one:Size width="190.4754333496094" height="160.1658935546875"/><one:OEChildren><one:OE creationTime="2026-10-03T00:51:40.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{68609EFC-E11D-06CD-1225-90B94B8642B7}{24}{B0}" alignment="left" quickStyleIndex="0"><one:T><![CDATA[<span | |
| 3 | style='font-weight:bold'>Heading 1 in OneNote</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{4C68032D-B5A2-0C9B-282C-930E14CC2D8C}{2}{B0}" alignment="left" quickStyleIndex="1"><one:T><![CDATA[<span | |
| 4 | style='font-weight:bold'>Heading 2 in OneNote</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{4C68032D-B5A2-0C9B-282C-930E14CC2D8C}{6}{B0}" alignment="left" quickStyleIndex="2"><one:T><![CDATA[<span | |
| 5 | style='font-weight:bold'>Heading 3 in OneNote</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{4C68032D-B5A2-0C9B-282C-930E14CC2D8C}{9}{B0}" alignment="left" quickStyleIndex="3"><one:T><![CDATA[<span | |
| 6 | style='font-weight:bold;font-style:italic'>Heading 4 in OneNote</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{4C68032D-B5A2-0C9B-282C-930E14CC2D8C}{12}{B0}" alignment="left" quickStyleIndex="4"><one:T><![CDATA[Heading 5 in OneNote]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{4C68032D-B5A2-0C9B-282C-930E14CC2D8C}{15}{B0}" alignment="left" quickStyleIndex="5"><one:T><![CDATA[<span | |
| 7 | style='font-style:italic'>Heading 6 in OneNote</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{4C68032D-B5A2-0C9B-282C-930E14CC2D8C}{18}{B0}" alignment="left" quickStyleIndex="6"><one:T><![CDATA[Page Title in OneNote]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{4C68032D-B5A2-0C9B-282C-930E14CC2D8C}{21}{B0}" alignment="left" quickStyleIndex="7"><one:T><![CDATA[Citation in OneNote]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{4C68032D-B5A2-0C9B-282C-930E14CC2D8C}{24}{B0}" alignment="left" quickStyleIndex="8"><one:T><![CDATA[<span | |
| 8 | style='font-style:italic'>Quote in OneNote</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{4C68032D-B5A2-0C9B-282C-930E14CC2D8C}{27}{B0}" alignment="left" quickStyleIndex="9"><one:T><![CDATA[Code in OneNote]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{4C68032D-B5A2-0C9B-282C-930E14CC2D8C}{30}{B0}" alignment="left" quickStyleIndex="10"><one:T><![CDATA[Normal in OneNote]]></one:T></one:OE></one:OEChildren></one:Outline></one:Page> |
corpus/styles/cold/read/page-001.navigation.json+1-1| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | "h": 600, |
| 7 | 7 | "error": null, |
| 8 | 8 | "win": { |
| 9 | "title": "Heading 1 in OneNote - Microsoft OneNote", | |
| 9 | "title": "Heading 1 in Modern - Microsoft OneNote", | |
| 10 | 10 | "class": "Framework::CFrame", |
| 11 | 11 | "dialog": false |
| 12 | 12 | } |
corpus/styles/cold/read/page-001.png| Binary files a/corpus/styles/cold/read/page-001.png and b/corpus/styles/cold/read/page-001.png differ |
corpus/styles/cold/read/page-001.xml+8-7| ... | ... | @@ -1,8 +1,9 @@ |
| 1 | 1 | <?xml version="1.0"?> |
| 2 | <one:Page xmlns:one="http://schemas.microsoft.com/office/onenote/2010/onenote" ID="{20A092AA-72F9-0EF1-1B68-BAD626A1C2D1}{1}{B0}" name="Heading 1 in OneNote" dateTime="2026-10-01T02:30:16.000Z" lastModifiedTime="2026-10-01T02:33:10.000Z" pageLevel="1" lang="en-US"><one:QuickStyleDef index="0" name="h1" fontColor="#17365D" highlightColor="automatic" font="Calibri" fontSize="16.0" bold="true" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="1" name="h2" fontColor="#366092" highlightColor="automatic" font="Calibri" fontSize="13.0" bold="true" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="2" name="h3" fontColor="#366092" highlightColor="automatic" font="Calibri" fontSize="11.0" bold="true" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="3" name="h4" fontColor="#366092" highlightColor="automatic" font="Calibri" fontSize="11.0" bold="true" italic="true" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="4" name="h5" fontColor="#366092" highlightColor="automatic" font="Calibri" fontSize="11.0" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="5" name="h6" fontColor="#366092" highlightColor="automatic" font="Calibri" fontSize="11.0" italic="true" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="6" name="PageTitle" fontColor="automatic" highlightColor="automatic" font="Calibri" fontSize="17.0" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="7" name="cite" fontColor="#595959" highlightColor="automatic" font="Calibri" fontSize="9.0" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="8" name="blockquote" fontColor="#595959" highlightColor="automatic" font="Calibri" fontSize="11.0" italic="true" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="9" name="code" fontColor="automatic" highlightColor="automatic" font="Courier New" fontSize="11.0" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="10" name="p" fontColor="automatic" highlightColor="automatic" font="Calibri" fontSize="11.0" spaceBefore="0.0" spaceAfter="0.0"/><one:PageSettings RTL="false" color="automatic"><one:PageSize><one:Automatic/></one:PageSize><one:RuleLines visible="false"/></one:PageSettings><one:Outline author="Author" authorInitials="A" lastModifiedBy="Author" lastModifiedByInitials="A" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{E3C86EF0-C031-09EE-1345-96A18B2CCE8A}{23}{B0}"><one:Position x="36.0" y="36.0" z="0"/><one:Size width="190.4754333496094" height="160.1658935546875"/><one:OEChildren><one:OE creationTime="2026-10-01T02:30:16.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{E3C86EF0-C031-09EE-1345-96A18B2CCE8A}{24}{B0}" alignment="left" quickStyleIndex="0"><one:T><![CDATA[<span | |
| 3 | style='font-weight:bold'>Heading 1 in OneNote</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{D6883BEE-0C5A-0E00-3B42-7868532FE0E5}{2}{B0}" alignment="left" quickStyleIndex="1"><one:T><![CDATA[<span | |
| 4 | style='font-weight:bold'>Heading 2 in OneNote</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{D6883BEE-0C5A-0E00-3B42-7868532FE0E5}{6}{B0}" alignment="left" quickStyleIndex="2"><one:T><![CDATA[<span | |
| 5 | style='font-weight:bold'>Heading 3 in OneNote</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{D6883BEE-0C5A-0E00-3B42-7868532FE0E5}{9}{B0}" alignment="left" quickStyleIndex="3"><one:T><![CDATA[<span | |
| 6 | style='font-weight:bold;font-style:italic'>Heading 4 in OneNote</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{D6883BEE-0C5A-0E00-3B42-7868532FE0E5}{12}{B0}" alignment="left" quickStyleIndex="4"><one:T><![CDATA[Heading 5 in OneNote]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{D6883BEE-0C5A-0E00-3B42-7868532FE0E5}{15}{B0}" alignment="left" quickStyleIndex="5"><one:T><![CDATA[<span | |
| 7 | style='font-style:italic'>Heading 6 in OneNote</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{D6883BEE-0C5A-0E00-3B42-7868532FE0E5}{18}{B0}" alignment="left" quickStyleIndex="6"><one:T><![CDATA[Page Title in OneNote]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{D6883BEE-0C5A-0E00-3B42-7868532FE0E5}{21}{B0}" alignment="left" quickStyleIndex="7"><one:T><![CDATA[Citation in OneNote]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{D6883BEE-0C5A-0E00-3B42-7868532FE0E5}{24}{B0}" alignment="left" quickStyleIndex="8"><one:T><![CDATA[<span | |
| 8 | style='font-style:italic'>Quote in OneNote</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{D6883BEE-0C5A-0E00-3B42-7868532FE0E5}{27}{B0}" alignment="left" quickStyleIndex="9"><one:T><![CDATA[Code in OneNote]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{D6883BEE-0C5A-0E00-3B42-7868532FE0E5}{30}{B0}" alignment="left" quickStyleIndex="10"><one:T><![CDATA[Normal in OneNote]]></one:T></one:OE></one:OEChildren></one:Outline></one:Page> | |
| 2 | <one:Page xmlns:one="http://schemas.microsoft.com/office/onenote/2010/onenote" ID="{BC016F5C-6CD9-006B-0B89-C0CA0A132596}{1}{B0}" name="Heading 1 in Modern" dateTime="2026-10-03T00:51:40.000Z" lastModifiedTime="2026-10-03T00:54:06.000Z" pageLevel="1" lang="en-US"><one:QuickStyleDef index="0" name="h1" fontColor="#2E5CB8" highlightColor="automatic" font="Arial" fontSize="16.0" bold="true" spaceBefore="0.277777791023254" spaceAfter="0.0555555559694767"/><one:QuickStyleDef index="1" name="h2" fontColor="#1B2631" highlightColor="automatic" font="Arial" fontSize="13.0" bold="true" spaceBefore="0.222222223877907" spaceAfter="0.0555555559694767"/><one:QuickStyleDef index="2" name="h3" fontColor="#1B2631" highlightColor="automatic" font="Arial" fontSize="11.0" bold="true" spaceBefore="0.16666667163372" spaceAfter="0.0"/><one:QuickStyleDef index="3" name="h4" fontColor="#1B2631" highlightColor="automatic" font="Arial" fontSize="10.5" bold="true" italic="true" spaceBefore="0.16666667163372" spaceAfter="0.0"/><one:QuickStyleDef index="4" name="h5" fontColor="#2E5CB8" highlightColor="automatic" font="Arial" fontSize="10.5" bold="true" spaceBefore="0.16666667163372" spaceAfter="0.0"/><one:QuickStyleDef index="5" name="h6" fontColor="#2E5CB8" highlightColor="automatic" font="Arial" fontSize="10.5" italic="true" spaceBefore="0.16666667163372" spaceAfter="0.0"/><one:QuickStyleDef index="6" name="PageTitle" fontColor="automatic" highlightColor="automatic" font="Arial" fontSize="17.0" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="7" name="cite" fontColor="#7B868C" highlightColor="automatic" font="Arial" fontSize="8.0" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="8" name="blockquote" fontColor="#5F6B73" highlightColor="automatic" font="Arial" fontSize="10.5" italic="true" spaceBefore="0.0" spaceAfter="0.0833333358168602"/><one:QuickStyleDef index="9" name="code" fontColor="#1B2631" highlightColor="automatic" font="Courier New" fontSize="10.0" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="10" name="p" fontColor="#2E2E2E" highlightColor="automatic" font="Arial" fontSize="10.5" spaceBefore="0.0" spaceAfter="0.0833333358168602"/><one:PageSettings RTL="false" color="automatic"><one:PageSize><one:Automatic/></one:PageSize><one:RuleLines visible="false"/></one:PageSettings><one:Outline author="Author" authorInitials="A" lastModifiedBy="Author" lastModifiedByInitials="A" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{24D9CF07-F51F-05FD-3CEB-56C0E3B48DE1}{23}{B0}"><one:Position x="36.0" y="36.0" z="0"/><one:Size width="197.0936889648437" height="177.5977020263672"/><one:OEChildren><one:OE creationTime="2026-10-03T00:51:40.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{24D9CF07-F51F-05FD-3CEB-56C0E3B48DE1}{24}{B0}" alignment="left" spaceBefore="10.0" spaceAfter="2.0" quickStyleIndex="0"><one:T><![CDATA[<span | |
| 3 | style='font-weight:bold'>Heading 1 in Modern</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{24E80280-AA01-0407-1209-AC02D9BE3F43}{128}{B0}" alignment="left" spaceBefore="8.0" spaceAfter="2.0" quickStyleIndex="1"><one:T><![CDATA[<span | |
| 4 | style='font-weight:bold'>Heading 2 in Modern</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{24E80280-AA01-0407-1209-AC02D9BE3F43}{132}{B0}" alignment="left" spaceBefore="6.0" quickStyleIndex="2"><one:T><![CDATA[<span | |
| 5 | style='font-weight:bold'>Heading 3 in Modern</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{24E80280-AA01-0407-1209-AC02D9BE3F43}{135}{B0}" alignment="left" spaceBefore="6.0" quickStyleIndex="3"><one:T><![CDATA[<span | |
| 6 | style='font-weight:bold;font-style:italic'>Heading 4 in Modern</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{24E80280-AA01-0407-1209-AC02D9BE3F43}{138}{B0}" alignment="left" spaceBefore="6.0" quickStyleIndex="4"><one:T><![CDATA[<span | |
| 7 | style='font-weight:bold'>Heading 5 in Modern</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{24E80280-AA01-0407-1209-AC02D9BE3F43}{141}{B0}" alignment="left" spaceBefore="6.0" quickStyleIndex="5"><one:T><![CDATA[<span | |
| 8 | style='font-style:italic'>Heading 6 in Modern</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{24E80280-AA01-0407-1209-AC02D9BE3F43}{144}{B0}" alignment="left" quickStyleIndex="6"><one:T><![CDATA[Page Title in Modern]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{24E80280-AA01-0407-1209-AC02D9BE3F43}{147}{B0}" alignment="left" quickStyleIndex="7"><one:T><![CDATA[Citation in Modern]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{24E80280-AA01-0407-1209-AC02D9BE3F43}{150}{B0}" alignment="left" spaceAfter="3.0" quickStyleIndex="8"><one:T><![CDATA[<span | |
| 9 | style='font-style:italic'>Quote in Modern</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{24E80280-AA01-0407-1209-AC02D9BE3F43}{153}{B0}" alignment="left" quickStyleIndex="9"><one:T><![CDATA[Code in Modern]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{24E80280-AA01-0407-1209-AC02D9BE3F43}{156}{B0}" alignment="left" spaceAfter="3.0" quickStyleIndex="10"><one:T><![CDATA[Normal in Modern]]></one:T></one:OE></one:OEChildren></one:Outline></one:Page> |
corpus/styles/cold/read/page-002.png| Binary files a/corpus/styles/cold/read/page-002.png and b/corpus/styles/cold/read/page-002.png differ |
corpus/styles/cold/read/page-002.xml+7-7| ... | ... | @@ -1,8 +1,8 @@ |
| 1 | 1 | <?xml version="1.0"?> |
| 2 | <one:Page xmlns:one="http://schemas.microsoft.com/office/onenote/2010/onenote" ID="{7DD8EF42-6F86-057F-01F3-CC4506AB6443}{1}{B0}" name="Heading 1 in Editorial" dateTime="2026-10-01T02:30:16.000Z" lastModifiedTime="2026-10-01T02:33:10.000Z" pageLevel="1" lang="en-US"><one:QuickStyleDef index="0" name="h1" fontColor="#9A3B1F" highlightColor="automatic" font="Georgia" fontSize="18.0" bold="true" spaceBefore="0.333333343267441" spaceAfter="0.0555555559694767"/><one:QuickStyleDef index="1" name="h2" fontColor="#202020" highlightColor="automatic" font="Georgia" fontSize="14.0" bold="true" spaceBefore="0.277777791023254" spaceAfter="0.0555555559694767"/><one:QuickStyleDef index="2" name="h3" fontColor="#202020" highlightColor="automatic" font="Georgia" fontSize="12.0" bold="true" spaceBefore="0.222222223877907" spaceAfter="0.0"/><one:QuickStyleDef index="3" name="h4" fontColor="#202020" highlightColor="automatic" font="Georgia" fontSize="11.0" bold="true" italic="true" spaceBefore="0.16666667163372" spaceAfter="0.0"/><one:QuickStyleDef index="4" name="h5" fontColor="#9A3B1F" highlightColor="automatic" font="Georgia" fontSize="11.0" spaceBefore="0.16666667163372" spaceAfter="0.0"/><one:QuickStyleDef index="5" name="h6" fontColor="#9A3B1F" highlightColor="automatic" font="Georgia" fontSize="11.0" italic="true" spaceBefore="0.16666667163372" spaceAfter="0.0"/><one:QuickStyleDef index="6" name="PageTitle" fontColor="#202020" highlightColor="automatic" font="Georgia" fontSize="24.0" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="7" name="cite" fontColor="#707070" highlightColor="automatic" font="Calibri" fontSize="9.0" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="8" name="blockquote" fontColor="#555555" highlightColor="automatic" font="Georgia" fontSize="12.0" italic="true" spaceBefore="0.0" spaceAfter="0.0833333358168602"/><one:QuickStyleDef index="9" name="code" fontColor="#262626" highlightColor="automatic" font="Courier New" fontSize="10.0" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="10" name="p" fontColor="#262626" highlightColor="automatic" font="Calibri" fontSize="11.5" spaceBefore="0.0" spaceAfter="0.0833333358168602"/><one:PageSettings RTL="false" color="automatic"><one:PageSize><one:Automatic/></one:PageSize><one:RuleLines visible="false"/></one:PageSettings><one:Outline author="Author" authorInitials="A" lastModifiedBy="Author" lastModifiedByInitials="A" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{37BA4275-BBA9-09E8-1F3F-655C55899D0A}{23}{B0}"><one:Position x="36.0" y="36.0" z="0"/><one:Size width="271.0546264648437" height="203.7465362548828"/><one:OEChildren><one:OE creationTime="2026-10-01T02:30:16.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{37BA4275-BBA9-09E8-1F3F-655C55899D0A}{24}{B0}" alignment="left" spaceBefore="12.0" spaceAfter="2.0" quickStyleIndex="0"><one:T><![CDATA[<span | |
| 3 | style='font-weight:bold'>Heading 1 in Editorial</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{335B5180-0F87-0634-03C5-159AE450CA99}{86}{B0}" alignment="left" spaceBefore="10.0" spaceAfter="2.0" quickStyleIndex="1"><one:T><![CDATA[<span | |
| 4 | style='font-weight:bold'>Heading 2 in Editorial</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{335B5180-0F87-0634-03C5-159AE450CA99}{90}{B0}" alignment="left" spaceBefore="8.0" quickStyleIndex="2"><one:T><![CDATA[<span | |
| 5 | style='font-weight:bold'>Heading 3 in Editorial</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{335B5180-0F87-0634-03C5-159AE450CA99}{93}{B0}" alignment="left" spaceBefore="6.0" quickStyleIndex="3"><one:T><![CDATA[<span | |
| 6 | style='font-weight:bold;font-style:italic'>Heading 4 in Editorial</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{335B5180-0F87-0634-03C5-159AE450CA99}{96}{B0}" alignment="left" spaceBefore="6.0" quickStyleIndex="4"><one:T><![CDATA[Heading 5 in Editorial]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{335B5180-0F87-0634-03C5-159AE450CA99}{99}{B0}" alignment="left" spaceBefore="6.0" quickStyleIndex="5"><one:T><![CDATA[<span | |
| 7 | style='font-style:italic'>Heading 6 in Editorial</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{335B5180-0F87-0634-03C5-159AE450CA99}{102}{B0}" alignment="left" quickStyleIndex="6"><one:T><![CDATA[Page Title in Editorial]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{335B5180-0F87-0634-03C5-159AE450CA99}{105}{B0}" alignment="left" quickStyleIndex="7"><one:T><![CDATA[Citation in Editorial]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{335B5180-0F87-0634-03C5-159AE450CA99}{108}{B0}" alignment="left" spaceAfter="3.0" quickStyleIndex="8"><one:T><![CDATA[<span | |
| 8 | style='font-style:italic'>Quote in Editorial</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{335B5180-0F87-0634-03C5-159AE450CA99}{111}{B0}" alignment="left" quickStyleIndex="9"><one:T><![CDATA[Code in Editorial]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{335B5180-0F87-0634-03C5-159AE450CA99}{114}{B0}" alignment="left" spaceAfter="3.0" quickStyleIndex="10"><one:T><![CDATA[Normal in Editorial]]></one:T></one:OE></one:OEChildren></one:Outline></one:Page> | |
| 2 | <one:Page xmlns:one="http://schemas.microsoft.com/office/onenote/2010/onenote" ID="{D37002E9-AECE-01B2-0FF9-E71AF597778F}{1}{B0}" name="Heading 1 in Editorial" dateTime="2026-10-03T00:51:40.000Z" lastModifiedTime="2026-10-03T00:54:06.000Z" pageLevel="1" lang="en-US"><one:QuickStyleDef index="0" name="h1" fontColor="#9A3B1F" highlightColor="automatic" font="Georgia" fontSize="18.0" bold="true" spaceBefore="0.333333343267441" spaceAfter="0.0555555559694767"/><one:QuickStyleDef index="1" name="h2" fontColor="#202020" highlightColor="automatic" font="Georgia" fontSize="14.0" bold="true" spaceBefore="0.277777791023254" spaceAfter="0.0555555559694767"/><one:QuickStyleDef index="2" name="h3" fontColor="#202020" highlightColor="automatic" font="Georgia" fontSize="12.0" bold="true" spaceBefore="0.222222223877907" spaceAfter="0.0"/><one:QuickStyleDef index="3" name="h4" fontColor="#202020" highlightColor="automatic" font="Georgia" fontSize="11.0" bold="true" italic="true" spaceBefore="0.16666667163372" spaceAfter="0.0"/><one:QuickStyleDef index="4" name="h5" fontColor="#9A3B1F" highlightColor="automatic" font="Georgia" fontSize="11.0" spaceBefore="0.16666667163372" spaceAfter="0.0"/><one:QuickStyleDef index="5" name="h6" fontColor="#9A3B1F" highlightColor="automatic" font="Georgia" fontSize="11.0" italic="true" spaceBefore="0.16666667163372" spaceAfter="0.0"/><one:QuickStyleDef index="6" name="PageTitle" fontColor="#202020" highlightColor="automatic" font="Georgia" fontSize="24.0" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="7" name="cite" fontColor="#707070" highlightColor="automatic" font="Calibri" fontSize="9.0" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="8" name="blockquote" fontColor="#555555" highlightColor="automatic" font="Georgia" fontSize="12.0" italic="true" spaceBefore="0.0" spaceAfter="0.0833333358168602"/><one:QuickStyleDef index="9" name="code" fontColor="#262626" highlightColor="automatic" font="Courier New" fontSize="10.0" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="10" name="p" fontColor="#262626" highlightColor="automatic" font="Calibri" fontSize="11.5" spaceBefore="0.0" spaceAfter="0.0833333358168602"/><one:PageSettings RTL="false" color="automatic"><one:PageSize><one:Automatic/></one:PageSize><one:RuleLines visible="false"/></one:PageSettings><one:Outline author="Author" authorInitials="A" lastModifiedBy="Author" lastModifiedByInitials="A" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{1699E334-BF81-01F5-13AD-A7C132421CCA}{23}{B0}"><one:Position x="36.0" y="36.0" z="0"/><one:Size width="271.0546264648437" height="203.7465362548828"/><one:OEChildren><one:OE creationTime="2026-10-03T00:51:40.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{1699E334-BF81-01F5-13AD-A7C132421CCA}{24}{B0}" alignment="left" spaceBefore="12.0" spaceAfter="2.0" quickStyleIndex="0"><one:T><![CDATA[<span | |
| 3 | style='font-weight:bold'>Heading 1 in Editorial</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{68A1DB5A-C220-09FA-164F-B1C941BD93E3}{86}{B0}" alignment="left" spaceBefore="10.0" spaceAfter="2.0" quickStyleIndex="1"><one:T><![CDATA[<span | |
| 4 | style='font-weight:bold'>Heading 2 in Editorial</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{68A1DB5A-C220-09FA-164F-B1C941BD93E3}{90}{B0}" alignment="left" spaceBefore="8.0" quickStyleIndex="2"><one:T><![CDATA[<span | |
| 5 | style='font-weight:bold'>Heading 3 in Editorial</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{68A1DB5A-C220-09FA-164F-B1C941BD93E3}{93}{B0}" alignment="left" spaceBefore="6.0" quickStyleIndex="3"><one:T><![CDATA[<span | |
| 6 | style='font-weight:bold;font-style:italic'>Heading 4 in Editorial</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{68A1DB5A-C220-09FA-164F-B1C941BD93E3}{96}{B0}" alignment="left" spaceBefore="6.0" quickStyleIndex="4"><one:T><![CDATA[Heading 5 in Editorial]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{68A1DB5A-C220-09FA-164F-B1C941BD93E3}{99}{B0}" alignment="left" spaceBefore="6.0" quickStyleIndex="5"><one:T><![CDATA[<span | |
| 7 | style='font-style:italic'>Heading 6 in Editorial</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{68A1DB5A-C220-09FA-164F-B1C941BD93E3}{102}{B0}" alignment="left" quickStyleIndex="6"><one:T><![CDATA[Page Title in Editorial]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{68A1DB5A-C220-09FA-164F-B1C941BD93E3}{105}{B0}" alignment="left" quickStyleIndex="7"><one:T><![CDATA[Citation in Editorial]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{68A1DB5A-C220-09FA-164F-B1C941BD93E3}{108}{B0}" alignment="left" spaceAfter="3.0" quickStyleIndex="8"><one:T><![CDATA[<span | |
| 8 | style='font-style:italic'>Quote in Editorial</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{68A1DB5A-C220-09FA-164F-B1C941BD93E3}{111}{B0}" alignment="left" quickStyleIndex="9"><one:T><![CDATA[Code in Editorial]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{68A1DB5A-C220-09FA-164F-B1C941BD93E3}{114}{B0}" alignment="left" spaceAfter="3.0" quickStyleIndex="10"><one:T><![CDATA[Normal in Editorial]]></one:T></one:OE></one:OEChildren></one:Outline></one:Page> |
corpus/styles/cold/read/page-003.navigation.json+1-1| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | "h": 600, |
| 7 | 7 | "error": null, |
| 8 | 8 | "win": { |
| 9 | "title": "Heading 1 in Modern - Microsoft OneNote", | |
| 9 | "title": "Heading 1 in Manuscript - Microsoft OneNote", | |
| 10 | 10 | "class": "Framework::CFrame", |
| 11 | 11 | "dialog": false |
| 12 | 12 | } |
corpus/styles/cold/read/page-003.png| Binary files a/corpus/styles/cold/read/page-003.png and b/corpus/styles/cold/read/page-003.png differ |
corpus/styles/cold/read/page-003.xml+6-9| ... | ... | @@ -1,10 +1,7 @@ |
| 1 | 1 | <?xml version="1.0"?> |
| 2 | <one:Page xmlns:one="http://schemas.microsoft.com/office/onenote/2010/onenote" ID="{9A9B6AA5-46CF-05FF-3E17-6A76C011C454}{1}{B0}" name="Heading 1 in Modern" dateTime="2026-10-01T02:30:16.000Z" lastModifiedTime="2026-10-01T02:33:10.000Z" pageLevel="1" lang="en-US"><one:QuickStyleDef index="0" name="h1" fontColor="#0E6E6E" highlightColor="automatic" font="Arial" fontSize="16.0" bold="true" spaceBefore="0.277777791023254" spaceAfter="0.0555555559694767"/><one:QuickStyleDef index="1" name="h2" fontColor="#1B2631" highlightColor="automatic" font="Arial" fontSize="13.0" bold="true" spaceBefore="0.222222223877907" spaceAfter="0.0555555559694767"/><one:QuickStyleDef index="2" name="h3" fontColor="#1B2631" highlightColor="automatic" font="Arial" fontSize="11.0" bold="true" spaceBefore="0.16666667163372" spaceAfter="0.0"/><one:QuickStyleDef index="3" name="h4" fontColor="#1B2631" highlightColor="automatic" font="Arial" fontSize="10.5" bold="true" italic="true" spaceBefore="0.16666667163372" spaceAfter="0.0"/><one:QuickStyleDef index="4" name="h5" fontColor="#0E6E6E" highlightColor="automatic" font="Arial" fontSize="10.5" bold="true" spaceBefore="0.16666667163372" spaceAfter="0.0"/><one:QuickStyleDef index="5" name="h6" fontColor="#0E6E6E" highlightColor="automatic" font="Arial" fontSize="10.5" italic="true" spaceBefore="0.16666667163372" spaceAfter="0.0"/><one:QuickStyleDef index="6" name="PageTitle" fontColor="#1B2631" highlightColor="automatic" font="Arial" fontSize="22.0" bold="true" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="7" name="cite" fontColor="#7B868C" highlightColor="automatic" font="Arial" fontSize="8.0" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="8" name="blockquote" fontColor="#5F6B73" highlightColor="automatic" font="Arial" fontSize="10.5" italic="true" spaceBefore="0.0" spaceAfter="0.0833333358168602"/><one:QuickStyleDef index="9" name="code" fontColor="#1B2631" highlightColor="automatic" font="Courier New" fontSize="10.0" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="10" name="p" fontColor="#2E2E2E" highlightColor="automatic" font="Arial" fontSize="10.5" spaceBefore="0.0" spaceAfter="0.0833333358168602"/><one:PageSettings RTL="false" color="automatic"><one:PageSize><one:Automatic/></one:PageSize><one:RuleLines visible="false"/></one:PageSettings><one:Outline author="Author" authorInitials="A" lastModifiedBy="Author" lastModifiedByInitials="A" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{349DBF5A-9B2C-06CE-32B2-EEF937D83CD2}{23}{B0}"><one:Position x="36.0" y="36.0" z="0"/><one:Size width="254.8837738037109" height="183.18359375"/><one:OEChildren><one:OE creationTime="2026-10-01T02:30:16.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{349DBF5A-9B2C-06CE-32B2-EEF937D83CD2}{24}{B0}" alignment="left" spaceBefore="10.0" spaceAfter="2.0" quickStyleIndex="0"><one:T><![CDATA[<span | |
| 3 | style='font-weight:bold'>Heading 1 in Modern</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{20F69636-7FD9-0F77-1647-12215AF3AB25}{128}{B0}" alignment="left" spaceBefore="8.0" spaceAfter="2.0" quickStyleIndex="1"><one:T><![CDATA[<span | |
| 4 | style='font-weight:bold'>Heading 2 in Modern</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{20F69636-7FD9-0F77-1647-12215AF3AB25}{132}{B0}" alignment="left" spaceBefore="6.0" quickStyleIndex="2"><one:T><![CDATA[<span | |
| 5 | style='font-weight:bold'>Heading 3 in Modern</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{20F69636-7FD9-0F77-1647-12215AF3AB25}{135}{B0}" alignment="left" spaceBefore="6.0" quickStyleIndex="3"><one:T><![CDATA[<span | |
| 6 | style='font-weight:bold;font-style:italic'>Heading 4 in Modern</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{20F69636-7FD9-0F77-1647-12215AF3AB25}{138}{B0}" alignment="left" spaceBefore="6.0" quickStyleIndex="4"><one:T><![CDATA[<span | |
| 7 | style='font-weight:bold'>Heading 5 in Modern</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{20F69636-7FD9-0F77-1647-12215AF3AB25}{141}{B0}" alignment="left" spaceBefore="6.0" quickStyleIndex="5"><one:T><![CDATA[<span | |
| 8 | style='font-style:italic'>Heading 6 in Modern</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{20F69636-7FD9-0F77-1647-12215AF3AB25}{144}{B0}" alignment="left" quickStyleIndex="6"><one:T><![CDATA[<span | |
| 9 | style='font-weight:bold'>Page Title in Modern</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{20F69636-7FD9-0F77-1647-12215AF3AB25}{147}{B0}" alignment="left" quickStyleIndex="7"><one:T><![CDATA[Citation in Modern]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{20F69636-7FD9-0F77-1647-12215AF3AB25}{150}{B0}" alignment="left" spaceAfter="3.0" quickStyleIndex="8"><one:T><![CDATA[<span | |
| 10 | style='font-style:italic'>Quote in Modern</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{20F69636-7FD9-0F77-1647-12215AF3AB25}{153}{B0}" alignment="left" quickStyleIndex="9"><one:T><![CDATA[Code in Modern]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{20F69636-7FD9-0F77-1647-12215AF3AB25}{156}{B0}" alignment="left" spaceAfter="3.0" quickStyleIndex="10"><one:T><![CDATA[Normal in Modern]]></one:T></one:OE></one:OEChildren></one:Outline></one:Page> | |
| 2 | <one:Page xmlns:one="http://schemas.microsoft.com/office/onenote/2010/onenote" ID="{E57F4A9F-8DA8-0F1D-097C-FF0F69855409}{1}{B0}" name="Heading 1 in Manuscript" dateTime="2026-10-03T00:51:40.000Z" lastModifiedTime="2026-10-03T00:54:06.000Z" pageLevel="1" lang="en-US"><one:QuickStyleDef index="0" name="h1" fontColor="#3B2F2A" highlightColor="automatic" font="Georgia" fontSize="20.0" spaceBefore="0.333333343267441" spaceAfter="0.111111111938953"/><one:QuickStyleDef index="1" name="h2" fontColor="#3B2F2A" highlightColor="automatic" font="Georgia" fontSize="16.0" bold="true" spaceBefore="0.277777791023254" spaceAfter="0.0555555559694767"/><one:QuickStyleDef index="2" name="h3" fontColor="#3B2F2A" highlightColor="automatic" font="Georgia" fontSize="13.0" bold="true" spaceBefore="0.222222223877907" spaceAfter="0.0555555559694767"/><one:QuickStyleDef index="3" name="h4" fontColor="#3B2F2A" highlightColor="automatic" font="Georgia" fontSize="12.0" bold="true" italic="true" spaceBefore="0.16666667163372" spaceAfter="0.0"/><one:QuickStyleDef index="4" name="h5" fontColor="#3B2F2A" highlightColor="automatic" font="Georgia" fontSize="12.0" spaceBefore="0.16666667163372" spaceAfter="0.0"/><one:QuickStyleDef index="5" name="h6" fontColor="#3B2F2A" highlightColor="automatic" font="Georgia" fontSize="12.0" italic="true" spaceBefore="0.16666667163372" spaceAfter="0.0"/><one:QuickStyleDef index="6" name="PageTitle" fontColor="#1F1A17" highlightColor="automatic" font="Georgia" fontSize="26.0" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="7" name="cite" fontColor="#7A6E66" highlightColor="automatic" font="Georgia" fontSize="9.0" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="8" name="blockquote" fontColor="#6B5E55" highlightColor="automatic" font="Georgia" fontSize="12.0" italic="true" spaceBefore="0.0" spaceAfter="0.111111111938953"/><one:QuickStyleDef index="9" name="code" fontColor="#2B2B2B" highlightColor="automatic" font="Courier New" fontSize="10.5" spaceBefore="0.0" spaceAfter="0.0"/><one:QuickStyleDef index="10" name="p" fontColor="#2B2B2B" highlightColor="automatic" font="Georgia" fontSize="12.0" spaceBefore="0.0" spaceAfter="0.111111111938953"/><one:PageSettings RTL="false" color="automatic"><one:PageSize><one:Automatic/></one:PageSize><one:RuleLines visible="false"/></one:PageSettings><one:Outline author="Author" authorInitials="A" lastModifiedBy="Author" lastModifiedByInitials="A" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{765CE0D5-3EA3-0AA0-1312-312E53341753}{23}{B0}"><one:Position x="36.0" y="36.0" z="0"/><one:Size width="321.6620483398437" height="215.5119476318359"/><one:OEChildren><one:OE creationTime="2026-10-03T00:51:40.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{765CE0D5-3EA3-0AA0-1312-312E53341753}{24}{B0}" alignment="left" spaceBefore="12.0" spaceAfter="4.0" quickStyleIndex="0"><one:T><![CDATA[Heading 1 in Manuscript]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{19424699-5B4D-0758-2675-3F20B98C6123}{44}{B0}" alignment="left" spaceBefore="10.0" spaceAfter="2.0" quickStyleIndex="1"><one:T><![CDATA[<span | |
| 3 | style='font-weight:bold'>Heading 2 in Manuscript</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{19424699-5B4D-0758-2675-3F20B98C6123}{48}{B0}" alignment="left" spaceBefore="8.0" spaceAfter="2.0" quickStyleIndex="2"><one:T><![CDATA[<span | |
| 4 | style='font-weight:bold'>Heading 3 in Manuscript</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{19424699-5B4D-0758-2675-3F20B98C6123}{51}{B0}" alignment="left" spaceBefore="6.0" quickStyleIndex="3"><one:T><![CDATA[<span | |
| 5 | style='font-weight:bold;font-style:italic'>Heading 4 in Manuscript</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{19424699-5B4D-0758-2675-3F20B98C6123}{54}{B0}" alignment="left" spaceBefore="6.0" quickStyleIndex="4"><one:T><![CDATA[Heading 5 in Manuscript]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{19424699-5B4D-0758-2675-3F20B98C6123}{57}{B0}" alignment="left" spaceBefore="6.0" quickStyleIndex="5"><one:T><![CDATA[<span | |
| 6 | style='font-style:italic'>Heading 6 in Manuscript</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{19424699-5B4D-0758-2675-3F20B98C6123}{60}{B0}" alignment="left" quickStyleIndex="6"><one:T><![CDATA[Page Title in Manuscript]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{19424699-5B4D-0758-2675-3F20B98C6123}{63}{B0}" alignment="left" quickStyleIndex="7"><one:T><![CDATA[Citation in Manuscript]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{19424699-5B4D-0758-2675-3F20B98C6123}{66}{B0}" alignment="left" spaceAfter="4.0" quickStyleIndex="8"><one:T><![CDATA[<span | |
| 7 | style='font-style:italic'>Quote in Manuscript</span>]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{19424699-5B4D-0758-2675-3F20B98C6123}{69}{B0}" alignment="left" quickStyleIndex="9"><one:T><![CDATA[Code in Manuscript]]></one:T></one:OE><one:OE creationTime="2025-08-18T14:13:20.000Z" lastModifiedTime="2025-08-18T14:13:20.000Z" objectID="{19424699-5B4D-0758-2675-3F20B98C6123}{72}{B0}" alignment="left" spaceAfter="4.0" quickStyleIndex="10"><one:T><![CDATA[Normal in Manuscript]]></one:T></one:OE></one:OEChildren></one:Outline></one:Page> |
corpus/styles/cold/run.json+2-2| ... | ... | @@ -1,7 +1,7 @@ |
| 1 | 1 | { |
| 2 | "notebook": "/private/tmp/snowbound-styles/candidate", | |
| 2 | "notebook": "/private/var/folders/90/4f4rngds01j55ggdj_vglk_c0000gn/T/styles-export", | |
| 3 | 3 | "expected_pages": 4, |
| 4 | "author": "/Users/clo/dev/one/tools/native/styles.ps1", | |
| 4 | "author": "/Users/clo/dev/one-styles-review/tools/native/styles.ps1", | |
| 5 | 5 | "author_timeout_seconds": 600, |
| 6 | 6 | "inspect": false, |
| 7 | 7 | "collect_notebook": true, |
corpus/styles/cold/source.json+13-13| ... | ... | @@ -1,38 +1,38 @@ |
| 1 | 1 | [ |
| 2 | 2 | { |
| 3 | 3 | "path": ".snowbound/themes.json", |
| 4 | "bytes": 669, | |
| 5 | "sha256": "0ede06c023cbdfa06fe307225baeb461f5a70e6ce368ae69dec9d405ef5822ac", | |
| 6 | "mtime_ns": 1790821816933321351 | |
| 4 | "bytes": 671, | |
| 5 | "sha256": "d6b191076a9f833cb3e79a38121ed9d1fe29a405a79138969fb88b0b43066594", | |
| 6 | "mtime_ns": 1790988700942364730 | |
| 7 | 7 | }, |
| 8 | 8 | { |
| 9 | 9 | "path": "Editorial.one", |
| 10 | 10 | "bytes": 12096, |
| 11 | "sha256": "0f65b622cdbeee22b146a6259074aeb4fd2b398d2bf982c7d712db31d190b6d1", | |
| 12 | "mtime_ns": 1790821816932162894 | |
| 11 | "sha256": "79f3d171ad78db53de276119c81f2fe4b6e298a6554494f407cd74436d43ecec", | |
| 12 | "mtime_ns": 1790988700940784899 | |
| 13 | 13 | }, |
| 14 | 14 | { |
| 15 | 15 | "path": "Manuscript.one", |
| 16 | 16 | "bytes": 12120, |
| 17 | "sha256": "109d595430cf434fabcab11bfe233a34b5182a4b48f8cc5146885ee22936f636", | |
| 18 | "mtime_ns": 1790821816931895020 | |
| 17 | "sha256": "f4d25c78ed8537f486afa7e4e1853f9816895dc5d794c598248de649fac851ef", | |
| 18 | "mtime_ns": 1790988700940457857 | |
| 19 | 19 | }, |
| 20 | 20 | { |
| 21 | 21 | "path": "Modern.one", |
| 22 | 22 | "bytes": 12000, |
| 23 | "sha256": "9ea5680d90a9b44bd036d4d50f5bcaae5b8f8ac505af4623e0ac3d0488b09ce2", | |
| 24 | "mtime_ns": 1790821816932649894 | |
| 23 | "sha256": "a91513231304e0a27e6896cf374cff98ddc4528a479622f0cbfb7577da151986", | |
| 24 | "mtime_ns": 1790988700941597439 | |
| 25 | 25 | }, |
| 26 | 26 | { |
| 27 | 27 | "path": "OneNote.one", |
| 28 | 28 | "bytes": 12072, |
| 29 | "sha256": "5b019d8246db5a2728de5502d30b2a1bfe7a0a5d376c1a5d15ce98ac551ed210", | |
| 30 | "mtime_ns": 1790821816932870935 | |
| 29 | "sha256": "1f84914801b00eb77a201c148146afc5e2544c207528710d70937833750ab300", | |
| 30 | "mtime_ns": 1790988700941853856 | |
| 31 | 31 | }, |
| 32 | 32 | { |
| 33 | 33 | "path": "Open Notebook.onetoc2", |
| 34 | 34 | "bytes": 2036, |
| 35 | "sha256": "9f613cf0b5db95b8809fe7d325cae9c37e8b9ae57fa3fff3b7d669649f1b416c", | |
| 36 | "mtime_ns": 1790821816932392186 | |
| 35 | "sha256": "a89533b7656fd9f5db22dadec54550a520b1b77980aad8398a7f3126f82b9d00", | |
| 36 | "mtime_ns": 1790988700941091815 | |
| 37 | 37 | } |
| 38 | 38 | ] |
crates/mobile/src/library.rs+10-1| ... | ... | @@ -1567,8 +1567,17 @@ pub unsafe extern "C" fn sb_notebook_create( |
| 1567 | 1567 | time: *const c_char, |
| 1568 | 1568 | error: *mut *mut c_char, |
| 1569 | 1569 | ) -> bool { |
| 1570 | use notebook::sidecar::themes::{Assignment, DEFAULT, Scope, Themes}; | |
| 1570 | 1571 | let created = dated(&string(author), &string(date), &string(time)).and_then(|page| { |
| 1571 | Notebook::create(string(path), string(cache), Notebook::NEW_COLOR, &page)?; | |
| 1572 | let notebook = Notebook::create(string(path), string(cache), Notebook::NEW_COLOR, &page)?; | |
| 1573 | notebook.save_themes(Themes { | |
| 1574 | assignments: vec![Assignment { | |
| 1575 | scope: Scope::Notebook, | |
| 1576 | theme: Some(DEFAULT.into()), | |
| 1577 | assigned: filetime(), | |
| 1578 | }], | |
| 1579 | ..Default::default() | |
| 1580 | })?; | |
| 1572 | 1581 | Ok(()) |
| 1573 | 1582 | }); |
| 1574 | 1583 | created.map_err(|cause| failed(cause, error)).is_ok() |
crates/notebook/src/sidecar/themes.rs+71-8| ... | ... | @@ -112,8 +112,12 @@ impl Themes { |
| 112 | 112 | all |
| 113 | 113 | } |
| 114 | 114 | |
| 115 | /// The theme `id` names, retired built-ins too, which pages may still wear. | |
| 115 | 116 | pub fn theme(&self, id: &str) -> Option<Theme> { |
| 116 | self.all().into_iter().find(|theme| theme.id == id) | |
| 117 | shipped() | |
| 118 | .into_iter() | |
| 119 | .chain(self.themes.iter().filter(|theme| !theme.deleted).cloned()) | |
| 120 | .find(|theme| theme.id == id) | |
| 117 | 121 | } |
| 118 | 122 | |
| 119 | 123 | /// The theme `scope` names itself, if one it can find. |
| ... | ... | @@ -224,8 +228,9 @@ pub(crate) fn write(storage: &dyn Storage, change: Themes) -> Result<Themes> { |
| 224 | 228 | Err(io::Error::from(io::ErrorKind::ResourceBusy).into()) |
| 225 | 229 | } |
| 226 | 230 | |
| 227 | fn is_built_in(id: &str) -> bool { | |
| 228 | built_in().iter().any(|theme| theme.id == id) | |
| 231 | /// Whether `id` names a theme Snowbound ships, or once offered. | |
| 232 | pub fn is_built_in(id: &str) -> bool { | |
| 233 | shipped().iter().any(|theme| theme.id == id) | |
| 229 | 234 | } |
| 230 | 235 | |
| 231 | 236 | /// The accent of a section coloured `section` (a COLORREF; none for OneNote's None), as a |
| ... | ... | @@ -350,10 +355,22 @@ const ITALIC: [bool; 2] = [false, true]; |
| 350 | 355 | const BOTH: [bool; 2] = [true, true]; |
| 351 | 356 | const NONE: [f32; 2] = [0.0; 2]; |
| 352 | 357 | |
| 353 | /// The themes Snowbound ships. Once shipped a built-in never changes: two versions | |
| 354 | /// disagreeing would restyle a page back and forth as each opens it. A changed look ships | |
| 355 | /// under a new id. | |
| 358 | /// The theme new notebooks take unless the user chooses another. | |
| 359 | pub const DEFAULT: &str = "modern-2"; | |
| 360 | ||
| 361 | /// Built-ins a page wears still but no longer offered: a changed look ships under a new id. | |
| 362 | const RETIRED: [&str; 1] = ["modern"]; | |
| 363 | ||
| 364 | /// The themes Snowbound offers, OneNote 2010's first. | |
| 356 | 365 | pub fn built_in() -> Vec<Theme> { |
| 366 | let mut offered = shipped(); | |
| 367 | offered.retain(|theme| !RETIRED.contains(&theme.id.as_str())); | |
| 368 | offered | |
| 369 | } | |
| 370 | ||
| 371 | /// Every theme Snowbound ever shipped. Once shipped a built-in's look never changes: two | |
| 372 | /// versions disagreeing would restyle a page back and forth as each opens it. | |
| 373 | fn shipped() -> Vec<Theme> { | |
| 357 | 374 | let theme = |id: &str, name: &str, styles: [ThemeStyle; 11]| Theme { |
| 358 | 375 | id: id.into(), |
| 359 | 376 | name: name.into(), |
| ... | ... | @@ -366,6 +383,11 @@ pub fn built_in() -> Vec<Theme> { |
| 366 | 383 | deleted: false, |
| 367 | 384 | }; |
| 368 | 385 | let blue = Some("#366092"); |
| 386 | let tinted = |style: ThemeStyle| ThemeStyle { | |
| 387 | color: Some(color_hex(accent(None))), | |
| 388 | accent: true, | |
| 389 | ..style | |
| 390 | }; | |
| 369 | 391 | vec![ |
| 370 | 392 | // OneNote 2010's own (lab, 2026-09-30). |
| 371 | 393 | theme( |
| ... | ... | @@ -419,9 +441,27 @@ pub fn built_in() -> Vec<Theme> { |
| 419 | 441 | style("Calibri", 11.5, PLAIN, Some("#262626"), [0.0, 3.0]), |
| 420 | 442 | ], |
| 421 | 443 | ), |
| 444 | // OneNote's page title in Arial; its accent the section's. | |
| 422 | 445 | theme( |
| 423 | "modern", | |
| 446 | "modern-2", | |
| 424 | 447 | "Modern", |
| 448 | [ | |
| 449 | tinted(style("Arial", 16.0, BOLD, None, [10.0, 2.0])), | |
| 450 | style("Arial", 13.0, BOLD, Some("#1B2631"), [8.0, 2.0]), | |
| 451 | style("Arial", 11.0, BOLD, Some("#1B2631"), [6.0, 0.0]), | |
| 452 | style("Arial", 10.5, BOTH, Some("#1B2631"), [6.0, 0.0]), | |
| 453 | tinted(style("Arial", 10.5, BOLD, None, [6.0, 0.0])), | |
| 454 | tinted(style("Arial", 10.5, ITALIC, None, [6.0, 0.0])), | |
| 455 | style("Arial", 17.0, PLAIN, None, NONE), | |
| 456 | style("Arial", 8.0, PLAIN, Some("#7B868C"), NONE), | |
| 457 | style("Arial", 10.5, ITALIC, Some("#5F6B73"), [0.0, 3.0]), | |
| 458 | style("Courier New", 10.0, PLAIN, Some("#1B2631"), NONE), | |
| 459 | style("Arial", 10.5, PLAIN, Some("#2E2E2E"), [0.0, 3.0]), | |
| 460 | ], | |
| 461 | ), | |
| 462 | theme( | |
| 463 | "modern", | |
| 464 | "Modern (original)", | |
| 425 | 465 | [ |
| 426 | 466 | style("Arial", 16.0, BOLD, Some("#0E6E6E"), [10.0, 2.0]), |
| 427 | 467 | style("Arial", 13.0, BOLD, Some("#1B2631"), [8.0, 2.0]), |
| ... | ... | @@ -544,9 +584,32 @@ mod tests { |
| 544 | 584 | assert_eq!(json["accent"], true); |
| 545 | 585 | } |
| 546 | 586 | |
| 587 | /// Modern's title is OneNote's in Arial. The Modern first shipped, its title bold, is | |
| 588 | /// no longer offered, but pages given it keep it. | |
| 589 | #[test] | |
| 590 | fn modern_keeps_onenote_s_page_title_and_the_first_modern_stays() { | |
| 591 | let [onenote, modern] = ["onenote", "modern-2"] | |
| 592 | .map(|id| built_in().into_iter().find(|theme| theme.id == id).unwrap()); | |
| 593 | let title = |theme: &Theme| definition("PageTitle", &theme.styles["PageTitle"], None); | |
| 594 | let mut expected = title(&onenote); | |
| 595 | expected.format.font = Some("Arial".into()); | |
| 596 | assert_eq!(title(&modern), expected); | |
| 597 | assert!(built_in().iter().all(|theme| theme.id != "modern")); | |
| 598 | let themes = Themes { | |
| 599 | assignments: vec![Assignment { | |
| 600 | scope: Scope::Notebook, | |
| 601 | theme: Some("modern".into()), | |
| 602 | assigned: 1, | |
| 603 | }], | |
| 604 | ..Themes::default() | |
| 605 | }; | |
| 606 | assert!(themes.effective(None, None).unwrap().styles["PageTitle"].bold); | |
| 607 | assert!(themes.all().iter().all(|theme| theme.id != "modern")); | |
| 608 | } | |
| 609 | ||
| 547 | 610 | #[test] |
| 548 | 611 | fn every_built_in_theme_names_every_gallery_style() { |
| 549 | for theme in built_in() { | |
| 612 | for theme in shipped() { | |
| 550 | 613 | let sheet = theme.sheet(None); |
| 551 | 614 | for (name, _) in STYLES { |
| 552 | 615 | assert!(sheet.contains_key(name), "{} {name}", theme.id); |
crates/snowbound/src/main.rs+3| ... | ... | @@ -868,6 +868,8 @@ struct State { |
| 868 | 868 | password: Option<protection::Asking>, |
| 869 | 869 | /// Options' Passwords. |
| 870 | 870 | passwords: settings::Passwords, |
| 871 | /// The theme new notebooks take, by id. | |
| 872 | notebook_theme: Option<String>, | |
| 871 | 873 | /// What the pointer is dragging: a page's tab, a section tab or a sidebar row. |
| 872 | 874 | drag: Option<menus::Drag>, |
| 873 | 875 | /// Pages whose template strip was dismissed this run. |
| ... | ... | @@ -1248,6 +1250,7 @@ impl State { |
| 1248 | 1250 | locked, |
| 1249 | 1251 | password: None, |
| 1250 | 1252 | passwords: stored.passwords, |
| 1253 | notebook_theme: stored.notebook_theme.0, | |
| 1251 | 1254 | live_options: stored.live, |
| 1252 | 1255 | drag: None, |
| 1253 | 1256 | templates: templates::View::Strip, |
crates/snowbound/src/manage.rs+11| ... | ... | @@ -432,11 +432,22 @@ impl State { |
| 432 | 432 | ) -> Result<(), Box<dyn Error>> { |
| 433 | 433 | let page = self.dated_page(None)?; |
| 434 | 434 | let (cache, notify) = (self.cache.clone(), notify(self.proxy.clone())); |
| 435 | let theme = self.notebook_theme.clone(); | |
| 435 | 436 | self.load(move || { |
| 436 | 437 | let location = notebook::fs::absolute(&root)? |
| 437 | 438 | .to_string_lossy() |
| 438 | 439 | .into_owned(); |
| 439 | 440 | let notebook = Notebook::create(&location, &cache, Notebook::NEW_COLOR, &page)?; |
| 441 | if theme.is_some() { | |
| 442 | notebook.save_themes(notebook::sidecar::themes::Themes { | |
| 443 | assignments: vec![notebook::sidecar::themes::Assignment { | |
| 444 | scope: notebook::sidecar::themes::Scope::Notebook, | |
| 445 | theme, | |
| 446 | assigned: crate::filetime(), | |
| 447 | }], | |
| 448 | ..Default::default() | |
| 449 | })?; | |
| 450 | } | |
| 440 | 451 | let library = Arc::new(Library::created(&location, notebook, &cache)); |
| 441 | 452 | let path = library |
| 442 | 453 | .first_section() |
crates/snowbound/src/options.rs+48| ... | ... | @@ -109,6 +109,14 @@ const SECTIONS: &[Section] = &[ |
| 109 | 109 | }, |
| 110 | 110 | ], |
| 111 | 111 | }, |
| 112 | Group { | |
| 113 | heading: "Default style theme", | |
| 114 | rows: &[Row { | |
| 115 | label: "New notebooks:", | |
| 116 | keywords: "default for new notebooks styles headings modern", | |
| 117 | control: Control::Field(notebook_theme), | |
| 118 | }], | |
| 119 | }, | |
| 112 | 120 | Group { |
| 113 | 121 | heading: "Proofing", |
| 114 | 122 | rows: &[Row { |
| ... | ... | @@ -273,6 +281,7 @@ pub struct Options { |
| 273 | 281 | picture: bool, |
| 274 | 282 | /// Live Share's relay; empty uses Snowbound's. |
| 275 | 283 | relay: String, |
| 284 | notebook_theme: Option<String>, | |
| 276 | 285 | pub(crate) keyboard: crate::keys::Keyboard, |
| 277 | 286 | } |
| 278 | 287 | |
| ... | ... | @@ -312,6 +321,10 @@ fn font_colors() -> Id { |
| 312 | 321 | id().child("font-colors") |
| 313 | 322 | } |
| 314 | 323 | |
| 324 | fn notebook_themes() -> Id { | |
| 325 | id().child("notebook-themes") | |
| 326 | } | |
| 327 | ||
| 315 | 328 | /// Whether `word`, lowercase, starts a word of `text`: "pen" finds "Pen" and "pen-like", |
| 316 | 329 | /// not "Open". |
| 317 | 330 | fn starts_word(text: &str, word: &str) -> bool { |
| ... | ... | @@ -372,6 +385,7 @@ impl State { |
| 372 | 385 | presence: self.live_options.presence, |
| 373 | 386 | picture: self.live_options.picture, |
| 374 | 387 | relay: self.live_options.relay.clone().unwrap_or_default(), |
| 388 | notebook_theme: self.notebook_theme.clone(), | |
| 375 | 389 | keyboard: crate::keys::Keyboard::new(), |
| 376 | 390 | }); |
| 377 | 391 | self.ui.open_popup(id()); |
| ... | ... | @@ -679,6 +693,7 @@ impl State { |
| 679 | 693 | lock_after: options.lock_idle.then_some(options.lock_minutes), |
| 680 | 694 | lock_on_leave: options.lock_on_leave, |
| 681 | 695 | }; |
| 696 | self.notebook_theme = options.notebook_theme; | |
| 682 | 697 | self.updates.set_automatic(options.automatic_updates); |
| 683 | 698 | let relay = options.relay.trim(); |
| 684 | 699 | self.live_options = crate::settings::Live { |
| ... | ... | @@ -790,6 +805,39 @@ fn appearance(state: &mut State, options: &mut Options) { |
| 790 | 805 | } |
| 791 | 806 | } |
| 792 | 807 | |
| 808 | fn notebook_theme(state: &mut State, options: &mut Options) { | |
| 809 | let ui = &mut state.ui; | |
| 810 | let combo = ui.id("combo"); | |
| 811 | let themes = notebook::sidecar::themes::built_in(); | |
| 812 | let choices: Vec<(Option<&str>, &str)> = std::iter::once((None, "No Theme")) | |
| 813 | .chain( | |
| 814 | themes | |
| 815 | .iter() | |
| 816 | .map(|theme| (Some(theme.id.as_str()), theme.name.as_str())), | |
| 817 | ) | |
| 818 | .collect(); | |
| 819 | let chosen = options.notebook_theme.as_deref(); | |
| 820 | let current = choices | |
| 821 | .iter() | |
| 822 | .find(|(id, _)| *id == chosen) | |
| 823 | .map_or("", |(_, name)| name); | |
| 824 | let title = "Default for new notebooks"; | |
| 825 | ui::shell::combo(ui, "combo", title, current, 140.0, notebook_themes(), true); | |
| 826 | let items: Vec<Item> = choices | |
| 827 | .iter() | |
| 828 | .map(|(id, name)| Item { | |
| 829 | text: name, | |
| 830 | checked: Some(*id == chosen), | |
| 831 | current: *id == chosen, | |
| 832 | ..Item::default() | |
| 833 | }) | |
| 834 | .collect(); | |
| 835 | let anchor = Anchor::Below(ui.rect(combo).unwrap_or_default()); | |
| 836 | if let Some(index) = ui::popup::menu(ui, notebook_themes(), anchor, &items, None) { | |
| 837 | options.notebook_theme = choices[index].0.map(Into::into); | |
| 838 | } | |
| 839 | } | |
| 840 | ||
| 793 | 841 | fn lock_after(state: &mut State, options: &mut Options) { |
| 794 | 842 | let ui = &mut state.ui; |
| 795 | 843 | let combo = ui.id("combo"); |
crates/snowbound/src/settings.rs+18| ... | ... | @@ -52,6 +52,8 @@ pub struct Settings { |
| 52 | 52 | pub recent: Vec<crate::navigation::Place>, |
| 53 | 53 | pub passwords: Passwords, |
| 54 | 54 | pub live: Live, |
| 55 | /// Options' "Default for new notebooks": the built-in theme new notebooks take. | |
| 56 | pub notebook_theme: NotebookTheme, | |
| 55 | 57 | } |
| 56 | 58 | |
| 57 | 59 | /// Options' Live Share. |
| ... | ... | @@ -76,6 +78,17 @@ impl Default for Live { |
| 76 | 78 | } |
| 77 | 79 | } |
| 78 | 80 | |
| 81 | /// A built-in theme by id, Modern until chosen otherwise; none leaves notebooks OneNote's. | |
| 82 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] | |
| 83 | #[serde(transparent)] | |
| 84 | pub struct NotebookTheme(pub Option<String>); | |
| 85 | ||
| 86 | impl Default for NotebookTheme { | |
| 87 | fn default() -> Self { | |
| 88 | Self(Some(notebook::sidecar::themes::DEFAULT.into())) | |
| 89 | } | |
| 90 | } | |
| 91 | ||
| 79 | 92 | /// Options' Passwords, as OneNote 2010's Advanced page keeps them. |
| 80 | 93 | #[derive(Clone, Copy, Debug, PartialEq, Serialize, Deserialize)] |
| 81 | 94 | #[serde(default)] |
| ... | ... | @@ -217,6 +230,7 @@ impl crate::State { |
| 217 | 230 | keys: crate::commands::Keymap::current().saved(), |
| 218 | 231 | recent: self.trail.recent.clone(), |
| 219 | 232 | passwords: self.passwords, |
| 233 | notebook_theme: NotebookTheme(self.notebook_theme.clone()), | |
| 220 | 234 | live: self.live_options.clone(), |
| 221 | 235 | }; |
| 222 | 236 | if let Err(error) = settings.save(path) { |
| ... | ... | @@ -307,6 +321,7 @@ mod tests { |
| 307 | 321 | picture: false, |
| 308 | 322 | relay: Some("wss://relay.example.net".into()), |
| 309 | 323 | }, |
| 324 | notebook_theme: NotebookTheme(None), | |
| 310 | 325 | }; |
| 311 | 326 | settings.save(&path).unwrap(); |
| 312 | 327 | assert_eq!(Settings::load(&path), settings); |
| ... | ... | @@ -323,6 +338,9 @@ mod tests { |
| 323 | 338 | let toolbar = Settings::load(&path).toolbar; |
| 324 | 339 | assert_eq!(toolbar.highlight, None); |
| 325 | 340 | assert_eq!(toolbar.font_color, Toolbar::default().font_color); |
| 341 | // New notebooks take Modern until another theme, or none, is picked. | |
| 342 | let theme = Settings::load(&path).notebook_theme; | |
| 343 | assert_eq!(theme.0.as_deref(), Some(notebook::sidecar::themes::DEFAULT)); | |
| 326 | 344 | notebook::fs::remove_dir_all(&directory).unwrap(); |
| 327 | 345 | } |
| 328 | 346 | } |
crates/snowbound/src/themes.rs+13-8| ... | ... | @@ -183,10 +183,16 @@ impl State { |
| 183 | 183 | section: Option<u32>, |
| 184 | 184 | ) { |
| 185 | 185 | let themes = library.themes(); |
| 186 | let assigned = themes.assigned(&target).map(|theme| theme.id); | |
| 187 | let all = themes.all(); | |
| 186 | let assigned = themes.assigned(&target); | |
| 187 | let mut all = themes.all(); | |
| 188 | // A retired built-in the scope wears is listed while it does. | |
| 189 | if let Some(assigned) = &assigned | |
| 190 | && !all.contains(assigned) | |
| 191 | { | |
| 192 | all.push(assigned.clone()); | |
| 193 | } | |
| 188 | 194 | let selected = assigned |
| 189 | .and_then(|id| all.iter().position(|theme| theme.id == id)) | |
| 195 | .and_then(|assigned| all.iter().position(|theme| theme.id == assigned.id)) | |
| 190 | 196 | .unwrap_or(0); |
| 191 | 197 | self.themes = Some(Dialog { |
| 192 | 198 | scope, |
| ... | ... | @@ -315,9 +321,9 @@ impl State { |
| 315 | 321 | ..Spec::default() |
| 316 | 322 | }, |
| 317 | 323 | ); |
| 324 | let built = stored::is_built_in(&dialog.themes[dialog.selected].id); | |
| 318 | 325 | let duplicate = ui::button(ui, "duplicate", "Duplicate").clicked; |
| 319 | let delete = | |
| 320 | dialog.selected >= built_in().len() && ui::button(ui, "delete", "Delete").clicked; | |
| 326 | let delete = !built && ui::button(ui, "delete", "Delete").clicked; | |
| 321 | 327 | ui.close(); |
| 322 | 328 | ui.close(); |
| 323 | 329 | // The selected theme's styles. |
| ... | ... | @@ -330,7 +336,6 @@ impl State { |
| 330 | 336 | ..Spec::default() |
| 331 | 337 | }, |
| 332 | 338 | ); |
| 333 | let built = dialog.selected < built_in().len(); | |
| 334 | 339 | if built { |
| 335 | 340 | ui.leaf( |
| 336 | 341 | "locked", |
| ... | ... | @@ -591,7 +596,7 @@ impl State { |
| 591 | 596 | copy(dialog, name); |
| 592 | 597 | } |
| 593 | 598 | if let Some(change) = change { |
| 594 | if dialog.selected < built_in().len() { | |
| 599 | if built { | |
| 595 | 600 | let name = format!("My {}", dialog.themes[dialog.selected].name); |
| 596 | 601 | copy(dialog, name); |
| 597 | 602 | } |
| ... | ... | @@ -606,7 +611,7 @@ impl State { |
| 606 | 611 | dialog.changed.push(edited.id.clone()); |
| 607 | 612 | } |
| 608 | 613 | } |
| 609 | if delete && dialog.selected >= built_in().len() { | |
| 614 | if delete { | |
| 610 | 615 | let mut gone = dialog.themes.remove(dialog.selected); |
| 611 | 616 | gone.deleted = true; |
| 612 | 617 | dialog.deleted.push(gone); |
tools/test_styles.py+4-1| ... | ... | @@ -35,7 +35,7 @@ class StylesTest(unittest.TestCase): |
| 35 | 35 | 'OneNote': ('Calibri', 16.0, True, '#17365D'), |
| 36 | 36 | 'Manuscript': ('Georgia', 20.0, False, '#3B2F2A'), |
| 37 | 37 | 'Editorial': ('Georgia', 18.0, True, '#9A3B1F'), |
| 38 | 'Modern': ('Arial', 16.0, True, '#0E6E6E'), | |
| 38 | 'Modern': ('Arial', 16.0, True, '#2E5CB8'), | |
| 39 | 39 | } |
| 40 | 40 | seen = set() |
| 41 | 41 | for path in sorted((FIXTURE / 'cold/read').glob('page-*.xml')): |
| ... | ... | @@ -44,6 +44,9 @@ class StylesTest(unittest.TestCase): |
| 44 | 44 | seen.add(theme) |
| 45 | 45 | self.assertEqual(set(defined), GALLERY, theme) |
| 46 | 46 | self.assertEqual(defined['h1'], [heading[theme]], theme) |
| 47 | if theme == 'Modern': | |
| 48 | # OneNote's own page title, in Arial. | |
| 49 | self.assertEqual(defined['PageTitle'], [('Arial', 17.0, False, 'automatic')]) | |
| 47 | 50 | self.assertEqual(seen, set(heading)) |
| 48 | 51 | |
| 49 | 52 | def test_onenote_s_own_styles_read_under_the_same_names(self): |