Codeunit 1439 Headlines

System Application, System.Visualization

Source AL, 106 lines

src/System Application/App/Headlines/src/Headlines.Codeunit.allines 15 to 30 of 106, Copyright (c) Microsoft Corporation. MIT

codeunit 1439 Headlines{    Access = Public;    InherentEntitlements = X;    InherentPermissions = X;    var        HeadlinesImpl: Codeunit "Headlines Impl.";    /// <summary>    /// Truncate the text from the end for its length to be no more than MaxLength.    /// If the text has to be shortened, "..." is be added at the end.    /// </summary>    /// <param name="TextToTruncate">Text that be shortened in order to fit on the headline.</param>    /// <param name="MaxLength">The maximal length of the string. Usually obtained through    /// <see cref="GetMaxQualifierLength"/> or <see cref="GetMaxPayloadLength"/> function.</param>

All 106 lines

Public procedures 7 in 29

Truncate(TextToTruncate: Text; MaxLength: Integer): Text17-29
Emphasize(TextToEmphasize: Text): Text17-29
GetHeadlineText(Qualifier: Text; Payload: Text; var ResultText: Text): Boolean17-29
GetUserGreetingText(): Text17-29
ShouldUserGreetingBeVisible(): Boolean17-29
GetMaxQualifierLength(): Integer17-29

All 7 procedures