Spire.Presentation is a professional PowerPoint® compatible library that enables developers to create, read, write, modify, convert and Print PowerPoint documents. Get free and professional technical support for Spire.Presentation for .NET, Java, Android, C++, Python.

Fri Feb 28, 2025 5:21 am

Hi Team,

Need help regarding displaying Israel(Herbew) Text using IAutoShape.

Problem is when I try to display the text in a textbox using IAutoShape, text is getting reversed as this text is not normal English language and is Israel text(Herbew characters).

But the same text works properly when I bind it to Chart Legends.

Can you please help us to resolve the issue, I have added two screen shots in which one screenshot shows reversed text and the other one shows correct text(Chart Legends).

Thanks in Advance !!!

praveenbabuk
 
Posts: 10
Joined: Thu Feb 27, 2025 2:06 pm

Fri Feb 28, 2025 9:22 am

Hi,

Thanks for your feedback.
I simulated your scenario to fill the Hebrew text in IAutoShape, but didn't reproduce your issue. If you are not using the latest version 10.1.1, we recommend that you try updating to this version first. If the problem still persists, please provide your input PPTX file as well as your code that can help us reproduce your issue.
Code: Select all
// Create PPT document
Presentation presentation = new Presentation();

// Append new shape
IAutoShape shape = presentation.Slides[0].Shapes.AppendShape(Spire.Presentation.ShapeType.Rectangle, new RectangleF(300, 130, 300, 100));
shape.Fill.FillType = FillFormatType.None;

// Hebrew text
string[] listItems = new string[] {
    "זהו מבחן מסמך",
    " אבל לא יכולת",
    " ממשיכה",
};

// Add the text in IAutoShape
foreach (string item in listItems)
{
    TextParagraph textParagraph = new TextParagraph();
    textParagraph.Text = item;
    textParagraph.Alignment = TextAlignmentType.Left;
    // Create a symbol bulleted list
    textParagraph.TextRanges[0].Fill.FillType = FillFormatType.Solid;
    textParagraph.TextRanges[0].Fill.SolidColor.Color = Color.Black;
    textParagraph.BulletType = TextBulletType.Symbol;
    shape.TextFrame.Paragraphs.Append(textParagraph);
}

presentation.SaveToFile("result.pptx", FileFormat.Pptx2019);

Sincerely,
Nina
E-iceblue support team
User avatar

Nina.Tang
 
Posts: 1379
Joined: Tue Sep 27, 2016 1:06 am

Tue Mar 04, 2025 6:02 am

Hi Nina,

Thanks for the reply.

We’ve tested the above example, and it works fine in the local environment with version 9.7.4:

"גיליונות מתוך 4"
"ך3@ גיליונות מתוך 4"
"כל גיליון - 4 גיליונות מתוך 4"
"אין ילדים מגיל 18 ומטה"
"תיכונית חלקית 9-11 שנל,"
"גר עם בן/בת זוג-לא נשוי"
"כלל האוכלוסיה"


when we tried with the above example still the text is jumbled with version 10.1.1 and 10.3.0

When we tried display above text with Right-to-Left alignment for Hebrew, the Hebrew text itself appears properly. However, we’ve noticed that the special characters (like "@","_","-","+") and numbers are getting jumbled. Specifically, when numbers and special characters are mixed with the Hebrew text, their order is incorrect and does not display as expected.

Can you please provide the solution for this issue. Thanks in advance

praveenbabuk
 
Posts: 10
Joined: Thu Feb 27, 2025 2:06 pm

Tue Mar 04, 2025 7:44 am

Hi,

Thanks for your detailed information.
I have reproduced this issue and logged it into our bug tracking system with the issue ID: SPIREPPT-2748. Our dev team will investigate and fix it, once it is resolved or there is any update, I will notify you. Apologize for the inconvenience caused.

Sincerely,
Nina
E-iceblue support team
User avatar

Nina.Tang
 
Posts: 1379
Joined: Tue Sep 27, 2016 1:06 am

Fri Mar 07, 2025 1:33 am

Hi,

Thanks for your patient waiting.
After further investigation, I found that setting the language of the text can solve your problem. Please refer to the code below.
Code: Select all
textParagraph.TextRanges[0].Language = "he-IL";

If you have any other questions or need further assistance, please feel free to let me know.

Sincerely,
Nina
E-iceblue support team
User avatar

Nina.Tang
 
Posts: 1379
Joined: Tue Sep 27, 2016 1:06 am

Fri Mar 07, 2025 1:10 pm

Hi Nina,

Thanks for the Text Language settings. This helped and Solved our issue.

praveenbabuk
 
Posts: 10
Joined: Thu Feb 27, 2025 2:06 pm

Mon Mar 10, 2025 1:43 pm

Hi Nina,

we observed another issue in displaying Hebrew text.

below is the original test
6-10 פעמים
(3-5 פעמים) OR (6-10 פעמים)
(6-10 פעמים) AND ((3-5 פעמים) OR (6-10 פעמים))

numbers and words are jumbled in the above text for paragraph as well as in graph,attaching the screen shot for reference.

praveenbabuk
 
Posts: 10
Joined: Thu Feb 27, 2025 2:06 pm

Tue Mar 11, 2025 1:49 am

Hello,

Thanks for your message.
I did reproduce your problem when I drew the new text you provided into the PowerPoint file. I have logged this issue to our tracking system with the ticket SPIREPPT-2753. Our development team will investigate further and fix it. I will inform you as soon as there is any progress.

Sincerely,
William
E-iceblue support team
User avatar

William.Zhang
 
Posts: 732
Joined: Mon Dec 27, 2021 2:23 am

Wed Mar 12, 2025 6:10 am

Hi William,

Adding more examples on this issue. below is the original text

(מוקד טלפוני) OR (המלון עצמו)

(מאזין למוזיקה באינטרנט) OR (קורא חדשות באינטרנט)

(לפני כשבועיים) AND (בשבוע האחרון) AND (היום או אתמול) AND (לפחות פעם אחת בשבוע האחרון) AND (Time Out טיים אאוט) AND ((10.00 יום שבת) AND (11.00 יום שבת) AND (12.00 יום שבת))

(מבקר ברשתות חברתיות) AND (ב-3 גליונות מתוך 4)

praveenbabuk
 
Posts: 10
Joined: Thu Feb 27, 2025 2:06 pm

Wed Mar 12, 2025 10:14 am

Hello,

Thanks for your message.
I have added your new content to the previous ticket number. Our development team will investigate and handle them together. Once there is any progress, I will inform you as soon as possible.

Sincerely,
William
E-iceblue support team
User avatar

William.Zhang
 
Posts: 732
Joined: Mon Dec 27, 2021 2:23 am

Thu Mar 20, 2025 6:18 am

Hi William,

Is there any update on this ticket?

praveenbabuk
 
Posts: 10
Joined: Thu Feb 27, 2025 2:06 pm

Thu Mar 20, 2025 8:24 am

Hello,

Thank you for your follow-up.
Your issue is still being addressed, but it has not been fixed yet. I will urge the development team to speed up the processing speed, and if there is any good news, I will notify you as soon as possible. Thank you for your understanding.

Sincerely,
William
E-iceblue support team
User avatar

William.Zhang
 
Posts: 732
Joined: Mon Dec 27, 2021 2:23 am

Fri Mar 28, 2025 5:05 am

Hi william,

Any update? Thanks!

praveenbabuk
 
Posts: 10
Joined: Thu Feb 27, 2025 2:06 pm

Fri Mar 28, 2025 8:57 am

Hello,

Thanks for your following up.
Sorry, there is no breakthrough in this case yet. We will further investigate the solution and notify you as soon as there is any good news. Thanks for your understanding.

Sincerely,
William
E-iceblue support team
User avatar

William.Zhang
 
Posts: 732
Joined: Mon Dec 27, 2021 2:23 am

Mon Apr 14, 2025 7:57 am

Hi William,

Any update on this??


Thanks,
Sukanya

praveenbabuk
 
Posts: 10
Joined: Thu Feb 27, 2025 2:06 pm

Return to Spire.Presentation

cron