mirror of
https://github.com/apache/poi.git
synced 2025-03-06 17:09:08 +00:00
#45124 - inserting text or images wipes out boldness and makes everything italic
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711705 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c8a440849e
commit
f42904f162
@ -116,7 +116,7 @@ public final class HSLFTextRun implements TextRun {
|
||||
|
||||
BitMaskTextProp prop = (BitMaskTextProp)characterStyle.findByName(CharFlagsTextProp.NAME);
|
||||
|
||||
if (prop == null){
|
||||
if (prop == null || !prop.getSubPropMatches()[index]) {
|
||||
int txtype = parentParagraph.getRunType();
|
||||
HSLFSheet sheet = parentParagraph.getSheet();
|
||||
if (sheet != null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user