Skip to content
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

FindAndReplace allowed for specific paragraphs #171

Merged
merged 4 commits into from
Nov 26, 2023

Conversation

startewho
Copy link
Contributor

we have the full doc replace ,and sometimes ,we will want just replace from a list paras(indeed it was a real paragraph).so I pulic the FindAndReplace method

public static  int  FindAndReplace(List<WordParagraph> paragraphs, string textToFind, string textToReplace, StringComparison stringComparison = StringComparison.OrdinalIgnoreCase)

@PrzemyslawKlys
Copy link
Member

Great, can you add tests/example?

@startewho
Copy link
Contributor Author

startewho commented Nov 22, 2023

add tests/exampl

add table cell test

@PrzemyslawKlys
Copy link
Member

I've improved test a bit, thank you for this

@PrzemyslawKlys PrzemyslawKlys merged commit 6c8abe1 into EvotecIT:master Nov 26, 2023
0 of 2 checks passed
@PrzemyslawKlys PrzemyslawKlys changed the title pullic FindAndReplace FindAndReplace allowed for specific paragraphs Nov 26, 2023
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