Class Module 35 Members ★ 2 Top 20

Formats Justifies Class

Entisoft Tools 2.0 Object Library · FormatsJustifies · 22 Functions · 12 Properties · 0 Subroutines

Showing 35 of 35
Declarations
Declarations
The functions in this group format and justify strings containing text. Copyright 1998 Entisoft
Section
JustifyBiasLeft
Justify Bias Left
Property whose Constant value tells functions like JustifyText to bias alignment to the left whenever a choice must be made because of rounding.
Property
JustifyBiasRight
Justify Bias Right
Property whose Constant value tells functions like JustifyText to bias alignment to the right whenever a choice must be made because of rounding.
Property
JustifyBlank
Justify Blank
Property whose Constant value tells functions like JustifyText to blank oversized lines by replacing them completely with the fill string.
Property
JustifyCenter
Justify Center
Property whose Constant value tells functions like JustifyText to center-justify lines of text.
Property
JustifyFill
Justify Fill
Property whose Constant value tells functions like JustifyText to fill undersized lines so that they each have the same length.
Property
JustifyLeft
Justify Left
Property whose Constant value tells functions like JustifyText to left-justify lines of text.
Property
JustifyNoFill
Justify No Fill
Property whose Constant value tells functions like JustifyText to leave undersized lines as is.
Property
JustifyNone
Justify None
Property whose Constant value tells functions like JustifyText to leave text lines as is.
Property
JustifyNoTruncate
Justify No Truncate
Property whose Constant value tells functions like JustifyText to leave oversized lines as is. Lines are not truncated at the maximum width nor are they blanked.
Property
JustifyRight
Justify Right
Property whose Constant value tells functions like JustifyText to right-justify lines of text.
Property
JustifySpread
Justify Spread
Property whose Constant value tells functions like JustifyText to spread out the words within each line.
Property
JustifyTruncate
Justify Truncate
Property whose Constant value tells functions like JustifyText to truncate oversized lines so that they are no wider than the maximum width.
Property
AddCrLfEveryNCharacters
Add Cr Lf Every N Characters
"Add Carriage Return New Line Every N Characters" Add a carriage return and new line characters between every vEveryNChars characters.
Function
FillText
Fill Text
Spreads out the words of a string so that the string length is exactly vWidth.
★ Top 20 Function
FormatDMSH
Format DMSH
"Format Degrees Minutes Seconds Hemisphere" Formats a string representing degrees, minutes, seconds, and hemisphere. Converts something like "1234321W" into something like "123^ 43" 21' W"
Function
FormatLeftJustifyFast
Format Left Justify Fast
Apply the Visual Basic Format function then left justify the result. Undersized strings are right-padded with spaces to length vWidth. Oversized strings are left as is. "Fast" function has restrictive argument types to avoid argument fix-up code.
Function
FormatLeftJustifyTruncateFast
Format Left Justify Truncate Fast
Apply the Visual Basic Format function then left justify the result. Undersized strings are right-padded with spaces to length vWidth. Oversized strings right-truncated to length vWidth. "Fast" function has restrictive argument types to avoid argument fix-up code.
Function
FormatRightJustifyFast
Format Right Justify Fast
Apply the Visual Basic Format function then right justify the result. Undersized strings are left-padded with spaces to length vWidth. Oversized strings are left as is. "Fast" function has restrictive argument types to avoid argument fix-up code.
Function
FormatRightJustifyTruncateFast
Format Right Justify Truncate Fast
Apply the Visual Basic Format function then right justify the result. Undersized strings are left-padded with spaces to length vWidth. Oversized strings left-truncated to length vWidth. "Fast" function has restrictive argument types to avoid argument fix-up code.
Function
JustifyText
Justify Text
Justify a line of text according to the fjJustify formatting codes documented at the beginning of this module. Performs left, right, center, and fill justification on a string containing a line of text.
Function
LeftJustifyFast
Left Justify Fast
Left justify a string. Undersized strings are right-padded with spaces to length vWidth. Oversized strings are left as is. "Fast" function has restrictive argument types to avoid argument fix-up code.
Function
LeftJustifyFillFast
Left Justify Fill Fast
Left justify a string. Undersized strings are right-padded to length vWidth with fill character vFillChar. Oversized strings are left as is. Like the LeftJustifyFast function except this one uses a fill character other than the space. "Fast" function has restrictive argument types to avoid argument fix-up code.
Function
LeftJustifyTruncateFast
Left Justify Truncate Fast
Left justify a string. Undersized strings are right-padded with spaces. Oversized strings have their right side truncated so that the result string always has length vWidth. "Fast" function has restrictive argument types to avoid argument fix-up code.
Function
LeftJustifyTruncateFillFast
Left Justify Truncate Fill Fast
Left justify a string. Undersized strings are right-padded to length vWidth with fill character vFillChar. Oversized strings have their right side truncated to length vWidth. Like the LeftJustifyTruncateFast function except this one uses a fill character other than space. "Fast" function has restrictive argument types to avoid argument fix-up code.
Function
OffsetTextBlock
Offset Text Block
Offset the lines of text within a string. The string should consist of lines of text which are each separated by vSeparator strings.
Function
RightJustifyFast
Right Justify Fast
Right justify a string. Undersized strings are left-padded with spaces to length vWidth. Oversized strings are left as is. "Fast" function has restrictive argument types to avoid argument fix-up code.
Function
RightJustifyFillFast
Right Justify Fill Fast
Right justify a string. Undersized strings are left-padded to length vWidth with fill character vFillChar. Oversized strings are left as is. Like the RightJustifyFast function except this one uses a fill character other than space. "Fast" function has restrictive argument types to avoid argument fix-up code.
Function
RightJustifyTruncateFast
Right Justify Truncate Fast
Right justify a string. Undersized strings are left-padded with spaces. Oversized strings have their left side truncated so that the result string always has length vWidth. "Fast" function has restrictive argument types to avoid argument fix-up code.
Function
RightJustifyTruncateFillFast
Right Justify Truncate Fill Fast
Right justify a string. Undersized strings are left-padded to length vWidth with fill character vFillChar. Oversized strings have their left side truncated to length vWidth. Like the RightJustifyTruncateFast function except this one uses a fill character other than space. "Fast" function has restrictive argument types to avoid argument fix-up code.
Function
SqueezeTextBlockToUpperLeft
Squeeze Text Block To Upper Left
Squeezes all of the lines of text to the upper left of the string. Removes all leading blank lines from a string, and removes the leading spaces from all non-blank lines in the string.
Function
UnformatLine
Unformat Line
Selectively removes the line termination strings from a block of text. Opposite of the WrapText function which adds line separation strings to a block of text so that the lines are each less than or equal to some specified length. The line separator strings are replaced with one or two spaces, as appropriate.
Function
WrapBlocks
Wrap Blocks
Rearranges long lines of text so that a specific range of columns from all lines are first, then the next range of columns from all lines, etc. Used to view a very wide page of a text-based report the way that Excel separates the columns of very wide Worksheets onto separate printed pages.
Function
WrapEachCharacter
Wrap Each Character
Adds some string before and some string after each character in another string.
Function
WrapText
Wrap Text
Wrap the lines of text within each paragraph so that each line is no longer that the specified maximum width.
★ Top 20 Function