You are here: Features
Move to: TextDynamic .NET
Common:
Create bulleted lists, multi level outlines or simple numbering. The property dialog makes it easy to change every aspect of the bullet text, even the color can be customized.
The editor can display a dialog with and without the outline (multi level) feature.
TextDynamic supports simple numbering (such as 1. 2. 3.),
Outline numbering A) 1. a),
Bullets (suports font name, size and color)
and also legal numbering.
Using a powerful interface you can customize the numbering styles easily.
IWPMemo memo = wpdllInt1.CurrMemo;
IWPParInterface par = memo.CurrPar;
IWPTextCursor cursor = memo.TextCursor;
IWPNumberStyle style;
// Create legal numbering outline
for (int i = 1; i < 10; i++)
{
style = memo.GetNumberStyle(-1,0,i);
if(style!=null)
{
style.Mode = 3; // arabic
style.TextA= "."; // after text = "."
style.TextB= ""; // before text = ""
style.Indent = 720; // 1/2 inch indent
style.LegalNumbering = true; //1.1.1 mode
}
}
// Create numbered text
cursor.InputParagraph(0,"");
par.SetText("Level A",0);
// Optional
// par.IndentLeft = 720;
// par.IndentFirst= -720;
par.NumberLevel = 1;
cursor.InputParagraph(0,"");
par.SetText("Level B",0);
par.NumberLevel = 2;
cursor.InputParagraph(0,"");
par.SetText("Level C",0);
par.NumberLevel = 3;
cursor.InputParagraph(0,"");
par.SetText("continued C",0);
par.NumberLevel = 3;
cursor.InputParagraph(0,"");
par.SetText("not numbered",0);
par.NumberLevel = 0;
cursor.InputParagraph(0,"");
par.SetText("Level B",0);
par.NumberLevel = 2;
cursor.InputParagraph(0,"");
par.SetText("not numbered",0);
par.NumberLevel = 0;
par.SetText("Level A",0);
par.NumberLevel = 1;
// Reformat an paint
memo.ReformatAll(false,true); Go to: Customizable User Interface Header and Footer are edited WYSIWYG