You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2022/03/08 19:15:15 UTC

[Bug 65942] New: Font Formatting setFontStyle not working as expected

https://bz.apache.org/bugzilla/show_bug.cgi?id=65942

            Bug ID: 65942
           Summary: Font Formatting setFontStyle not working as expected
           Product: POI
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: durgesh1997yadav@gmail.com
  Target Milestone: ---

Created attachment 38217
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=38217&action=edit
exported xlsx file using poi conditional formatting rule

Issue with font style is that when we have more than 2 rules that is true for a
cell and suppose first rule does not have normal fontstyle and second rule have
bold font style. Then, expectation is that cell should have normal font, but it
seems to be having bold font instead.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 65942] Font Formatting setFontStyle not working as expected

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65942

--- Comment #4 from durgesh1997yadav@gmail.com ---
Created attachment 38223
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=38223&action=edit
exported xlsx file using poi conditional formatting rule

Please check this attachement. May be I have shared incorrect one before.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 65942] Font Formatting setFontStyle not working as expected

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65942

--- Comment #3 from durgesh1997yadav@gmail.com ---
1. POI 5.2.1
3. Issue is in A7.

You can check conditional formatting is not as per rule.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 65942] Font Formatting setFontStyle not working as expected

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65942

--- Comment #5 from durgesh1997yadav@gmail.com ---
Check all cells with data "asia". Expectation is there should not be any font
style applied.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 65942] Font Formatting setFontStyle not working as expected

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65942

--- Comment #6 from PJ Fanning <fa...@yahoo.com> ---
Could you answer question 2 in Comment 2? I also think you might be better
trying stackoverflow.com - the POI team is not very active at the moment and
stackoverflow.com has a bigger reach.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 65942] Font Formatting setFontStyle not working as expected

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65942

--- Comment #2 from PJ Fanning <fa...@yahoo.com> ---
Can you provide more detail?

1. which POI version are you using?
2. you're description is vague but I'm guessing that you are generating an xlsx
as opposed to reading one - can you provide the code you use to generate the
xlsx?
3. which cell is the issue in?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 65942] Font Formatting setFontStyle not working as expected

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65942

PJ Fanning <fa...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from PJ Fanning <fa...@yahoo.com> ---
Can you provide more detail?

1. which POI version are you using?
2. you're description is vague but I'm guessing that you are generating an xlsx
as opposed to reading one - can you provide the code you use to generate the
xlsx?
3. which cell is the issue in?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org