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

Is it possible to check letters style within a cell one by one, at least part by part #1787

Open
fyy623 opened this issue Dec 27, 2024 · 0 comments

Comments

@fyy623
Copy link

fyy623 commented Dec 27, 2024

title.

I want to filter my cells by only keeping letters that do not have a strike through.

I see that there a cell.font attribute, but it does not go down to letter level.

I have also tried to traverse the content of a cell using cell.value, but it doesn't produce the font attribute either.

The confusion further grows as you may notice in the screenshot below, before the strike through, "Control " is parsed as a str, while after the strike through appear once, its following letters "s Record" is parsed as a rich_text. str does not have a font attribute and therefore this task seems impossible.

is this an expected behavior or a known issue?

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

No branches or pull requests

1 participant