Formats Justifies Class

Entisoft Tools 2.0 Object Library
Version 2.1 Build 208
<-- Previous || Index || Main || Topics || Next -->

Declarations Section, AddCrLfEveryNCharacters Function, FillText Function, FormatDMSH Function, FormatLeftJustifyFast Function, FormatLeftJustifyTruncateFast Function, FormatRightJustifyFast Function, FormatRightJustifyTruncateFast Function, JustifyText Function, JustifyBiasLeft Property, JustifyBiasRight Property, JustifyBlank Property, JustifyCenter Property, JustifyFill Property, JustifyLeft Property, JustifyNoFill Property, JustifyNone Property, JustifyNoTruncate Property, JustifyRight Property, JustifySpread Property, JustifyTruncate Property, LeftJustifyFast Function, LeftJustifyFillFast Function, LeftJustifyTruncateFast Function, LeftJustifyTruncateFillFast Function, OffsetTextBlock Function, RightJustifyFast Function, RightJustifyFillFast Function, RightJustifyTruncateFast Function, RightJustifyTruncateFillFast Function, SqueezeTextBlockToUpperLeft Function, UnformatLine Function, WrapBlocks Function, WrapText Function, WrapEachCharacter Function

Declarations Section
Add Cr Lf Every N Characters Function
"Add Carriage Return New Line Every N Characters" Add a carriage return and new line characters between every vEveryNChars characters.
Fill Text Function
Spreads out the words of a string so that the string length is exactly vWidth.
Format DMSH Function
"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"
Format Left Justify Fast Function
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.
Format Left Justify Truncate Fast Function
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.
Format Right Justify Fast Function
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.
Format Right Justify Truncate Fast Function
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.
Justify Text Function
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.
Justify Bias Left Property
Property whose Constant value tells functions like JustifyText to bias alignment to the left whenever a choice must be made because of rounding.
Justify Bias Right Property
Property whose Constant value tells functions like JustifyText to bias alignment to the right whenever a choice must be made because of rounding.
Justify Blank Property
Property whose Constant value tells functions like JustifyText to blank oversized lines by replacing them completely with the fill string.
Justify Center Property
Property whose Constant value tells functions like JustifyText to center-justify lines of text.
Justify Fill Property
Property whose Constant value tells functions like JustifyText to fill undersized lines so that they each have the same length.
Justify Left Property
Property whose Constant value tells functions like JustifyText to left-justify lines of text.
Justify No Fill Property
Property whose Constant value tells functions like JustifyText to leave undersized lines as is.
Justify None Property
Property whose Constant value tells functions like JustifyText to leave text lines as is.
Justify No Truncate Property
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.
Justify Right Property
Property whose Constant value tells functions like JustifyText to right-justify lines of text.
Justify Spread Property
Property whose Constant value tells functions like JustifyText to spread out the words within each line.
Justify Truncate Property
Property whose Constant value tells functions like JustifyText to truncate oversized lines so that they are no wider than the maximum width.
Left Justify Fast Function
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.
Left Justify Fill Fast Function
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.
Left Justify Truncate Fast Function
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.
Left Justify Truncate Fill Fast Function
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.
Offset Text Block Function
Offset the lines of text within a string. The string should consist of lines of text which are each separated by vSeparator strings.
Right Justify Fast Function
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.
Right Justify Fill Fast Function
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.
Right Justify Truncate Fast Function
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.
Right Justify Truncate Fill Fast Function
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.
Squeeze Text Block To Upper Left Function
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.
Unformat Line Function
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.
Wrap Blocks Function
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.
Wrap Text Function
Wrap the lines of text within each paragraph so that each line is no longer that the specified maximum width.
Wrap Each Character Function
Adds some string before and some string after each character in another string.

This Windows-based ActiveX DLL provides many useful routines through its function-bearing and data structure classes. Consult the Help file for more information, or call us at 1-310-472-3736. For the latest news and files, visit our home page on the World Wide Web: http://www.entisoft.com

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.