Skip to content

LT-22476: Add Classified Dictionary word export#914

Open
aror92 wants to merge 2 commits into
mainfrom
LT-22476
Open

LT-22476: Add Classified Dictionary word export#914
aror92 wants to merge 2 commits into
mainfrom
LT-22476

Conversation

@aror92
Copy link
Copy Markdown
Contributor

@aror92 aror92 commented May 26, 2026

  • Add classified dictionary word export option.

  • Extend guideword handling to allow for multiple run styles included in a single guideword.

  • Add test for guideword styles for classified dictionary

  • Update test for guideword styles for configured dictionary


This change is Reviewable

aror92 added 2 commits May 26, 2026 13:06
* Add classified dictionary word export option.

* Extend guideword handling to allow for multiple
run styles included in a single guideword.

Change-Id: I4b1a4305f66e5bea49ff52183dfbd41f25ac02b6
* Add test for guideword styles for classified dictionary
* Update test for guideword styles for configured dictionary
* Fix GetFirstGuidewordStylesList in WordGenerator to get
at most one primary style and one beforeafterbetween style

Change-Id: Ia270e5e2a5199ba3f7c64dc8771b6bac9d70f778
@aror92 aror92 enabled auto-merge (squash) May 27, 2026 14:41
@github-actions
Copy link
Copy Markdown

NUnit Tests

    1 files  ±0      1 suites  ±0   11m 19s ⏱️ -18s
4 207 tests +1  4 137 ✅ +1  70 💤 ±0  0 ❌ ±0 
4 216 runs  +1  4 146 ✅ +1  70 💤 ±0  0 ❌ ±0 

Results for commit 4cb2bf9. ± Comparison against base commit 3114dfe.

This pull request removes 1 and adds 2 tests. Note that renamed tests count towards both.
SIL.FieldWorks.XWorks.LcmWordGeneratorTests ‑ GetFirstHeadwordStyle
SIL.FieldWorks.XWorks.LcmWordGeneratorTests ‑ GetGuidewordStyleForClassifiedDictionary
SIL.FieldWorks.XWorks.LcmWordGeneratorTests ‑ GetGuidewordStyleForConfiguredDictionary

Copy link
Copy Markdown
Contributor

@mark-sil mark-sil left a comment

Choose a reason for hiding this comment

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

@mark-sil reviewed 5 files and all commit messages, and made 1 comment.
Reviewable status: 5 of 6 files reviewed, 1 unresolved discussion (waiting on aror92).


Src/xWorks/DictionaryExportService.cs line 116 at r1 (raw file):

		}

		public void ExportWordClassifiedDictionary(string filePath, int[] entriesToSave, RecordClerk clerk,

When you call this method, you pass in "domainsToSave", which I think makes more sense than "entriesToSave". To avoid confusion should you change it here to "domainsToSave"?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants