Hallo,
ich suche nach einem passenden Menü-Begriff für Funktionen:
// Seitenumbruch
procedure TEditor.XA_InsPageBreakExecute(Sender: TObject);
begin
WP_Editor.InputString(#12);
WP_Editor.ChangeApplied;
end;
//Zeilenumbruch nach Paragrafen
procedure TEditor.XA_InsColumnBreakExecute(Sender: TObject);
begin
WP_Editor.UndoBufferSaveTo(WP_Editor.ActiveParagraph, wpuReplaceParTotal);
include(WP_Editor.ActiveParagraph.prop, paprNewColumn);
WP_Editor.ChangeApplied;
WP_Editor.ReformatAll(false,True);
end;
//Auswahl umbrechen
procedure TEditor.XA_InsSectionBreakExecute(Sender: TObject);
var
FNewSectionID: Integer;
begin
WP_Editor.InputString(#12);
FNewSectionID := WP_Editor.HeaderFooter.LastSectionID + 1;
WP_Editor.HeaderFooter.LastSectionID := FNewSectionID;
include(WP_Editor.ActiveParagraph.prop, paprNewSection);
WP_Editor.ActiveParagraph.SectionID := FNewSectionID;
WP_Editor.ChangeApplied;
end;
//Absatz einfügen
procedure TEditor.BT_InsertParagraphClick(Sender: TObject);
var
par : TParagraph;
begin
par := nil;
WP_Editor.Memo.RTFData.UndoStoreComplete;
WP_Editor.Memo.RTFData.UndoDisable;
try
par := WP_Editor.ActiveText.InsertPar(WP_Editor.ActiveParagraph, wpIsSTDPar)
finally
WP_Editor.Memo.RTFData.UndoEnable;
end;
if par <> nil then begin
WP_Editor.ChangeApplied;
WP_Editor.ReformatAll(false,true);
end;
end;
Was sind bessere/geläufige Begriffe dafür?
Bin für jeden Vorschlag Dankbar.
Mit freundlichen Grüßen
Neumann