Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Tue Apr 23, 2024 8:31 am

Hello.
I have problem with code
Code: Select all
bulletedList.getLevels().get(0).setBulletCharacter("\u2010");
        bulletedList.getLevels().get(1).setBulletCharacter("\u2010");
        bulletedList.getLevels().get(2).setBulletCharacter("\u2010");
        bulletedList.getLevels().get(3).setBulletCharacter("\u2010");


After apply such style to list - have broken charters

sleepstream
 
Posts: 4
Joined: Tue Nov 08, 2016 12:39 pm

Tue Apr 23, 2024 9:45 am

Hi,

Thanks for your inquiry.
The result of converting the unicode “\u2010” to string is “”, so is your issue that the bulleted turn into “little box” from “”?

Sincerely
Abel
E-iceblue support team
User avatar

Abel.He
 
Posts: 1010
Joined: Tue Mar 08, 2022 2:02 am

Thu Apr 25, 2024 6:54 am

Yes, little box is my problem.

sleepstream
 
Posts: 4
Joined: Tue Nov 08, 2016 12:39 pm

Thu Apr 25, 2024 7:26 am

Hi,

Thanks for your feedback.
After checking, the ASCLL code “\u2010” represents the character is the little box, you can check it through online Web site for converting ascll to characters. Sorry for the error in my last reply.

Sincerely
Abel
E-iceblue support team
User avatar

Abel.He
 
Posts: 1010
Joined: Tue Mar 08, 2022 2:02 am

Return to Spire.Doc