KMemo: adding the string ")" after the paragraph letter #60
Replies: 2 comments
-
There is support for custom numbering formats which work the same as RTF numbering formats. Please create another discussions or issues for your other questions. |
Beta Was this translation helpful? Give feedback.
-
Use TKMemoListLevel.LastNumberSeparator as shown in #61 and the corresponding commit. |
Beta Was this translation helpful? Give feedback.
-
Hello, I would like to ask for advice. I need to add the line ")" after the paragraph letter. a) b) c)
I have for now
TB:=Protokol_ZKP.Blocks.AddTextBlock('Non-metallic materials for line conductors are preferred over metallic ones with insulating contacts.');
TB.TextStyle.Font.Name:='Times New Roman';
TB.TextStyle.Font.Color:=clRed;
TB.TextStyle.Font.Style:=[fsBold];
TB.TextStyle.Font.Size:=10;
PA:=Protokol_ZKP.Blocks.AddParagraph;
PA.ParaStyle.NumberingListLevel := 0;
PA.Numbering := pnuLetterLo;
PA.ParaStyle.HAlign:=halJustify;
PA.NumberingListLevel.FirstIndent:=10;
PA.NumberingListLevel.LeftIndent :=30;
PA.ParaStyle.NumberStartAt := 1;
If I save it in protokol.rtf, it doesn't appear in the file from the letter "a" but from "f" even though I used
PA.ParaStyle.NumberStartAt := 1;
But on the screen the paragraph appears from "a".
Thank you
Beta Was this translation helpful? Give feedback.
All reactions