Skip to main content
Version: 2025

XSal

Namespace: PPJ.Runtime.XSal

Assembly: PPJ.Web.XSal.49 (4.9.0.0)

XSal functions.

public class XSal

Fields

NameTypeDescription
SAM_HotSpotClickInt32The form, dialog or MDI receive this message when the user clicks the left mouse button on the hotspot. wParam = HotSpot ID lParam = Mouse position
SAM_HotSpotMouseMoveInt32The form, dialog or MDI receive this message when the user moves the mouse on the hotspot. wParam = HotSpot ID if the mouse is entering the hotspot or NULL if the mouse is leaving the hotspot. lParam = Mouse position
SAM_ToolboxSetPositionInt32The toolbox receives this message when it's orientation and position are being changed. This allows the program to change some visual aspect of the toolbox. wParam = The new orientation flag lParam = not used
SAM_ToolboxUpdateMenuInt32Send to the form that owns the toolbars. The app can modify the popup menu before it's displayed by processing this event. The menu object can be accessed using the form's ContextMenu property or VT menu functions using wParam for the menu handle. wParam = Handle for the menu lParam = not used.
SAM_TooltipCloseInt32Sent to the control with the tooltip when the tooltip is destroyed.
SAM_TooltipSetTextInt32Sent to the control under the mouse to show the tooltip.

Methods

Static memberGetClientWindow(form)

Returns the client area of a form with the accessories enabled.

ParameterTypeDescription
formControl

Returns: SalWindowHandle.

Static memberGetWindowHotSpot(ctrl, id, x, y, width, height)

ParameterTypeDescription
ctrlControl
idSalNumber
xSalNumber&
ySalNumber&
widthSalNumber&
heightSalNumber&

Returns: SalBoolean.

Static memberGZipClose(Param1)

ParameterTypeDescription
Param1SalNumber&

Returns: SalBoolean.

Static memberGZipEof(Param1)

BOOL XSalGZipEof( gzFile p_File )

ParameterTypeDescription
Param1SalNumber

Returns: SalBoolean.

Static memberGZipFlush(Param1)

BOOL XSalGZipFlush( gzFile p_File )

ParameterTypeDescription
Param1SalNumber

Returns: SalBoolean.

Static memberGZipGetChar(Param1)

CHAR XSalGZipGetStr( gzFile p_File )

ParameterTypeDescription
Param1SalNumber

Returns: SalNumber.

Static memberGZipGetError(Param1, Param2)

ParameterTypeDescription
Param1SalNumber
Param2SalNumber&

Returns: SalString.

Static memberGZipGetStr(Param1, Param2, Param3)

ParameterTypeDescription
Param1SalNumber
Param2SalString&
Param3SalNumber

Returns: SalNumber.

Static memberGZipOpen(Param1, Param2, Param3)

ParameterTypeDescription
Param1SalNumber&
Param2SalString
Param3SalString

Returns: SalBoolean.

Static memberGZipPutChar(Param1, Param2)

BOOL XSalGZipPutChar( gzFile p_File, CHAR p_cChar )

ParameterTypeDescription
Param1SalFileHandle
Param2SalNumber

Returns: SalBoolean.

Static memberGZipPutStr(Param1, Param2)

INT XSalGZipPutStr( gzFile p_File, LPSTR p_lpBufferOut )

ParameterTypeDescription
Param1SalNumber
Param2SalString

Returns: SalNumber.

Static memberGZipRead(Param1, Param2, Param3)

ParameterTypeDescription
Param1SalNumber
Param2SalString&
Param3SalNumber

Returns: SalNumber.

Static memberGZipRewind(Param1)

BOOL XSalGZipRewind( gzFile p_File )

ParameterTypeDescription
Param1SalNumber

Returns: SalBoolean.

Static memberGZipSeek(Param1, Param2, Param3)

LONG XSalGZipSeek( gzFile p_File, LONG p_lOffset, INT p_iWhence )

ParameterTypeDescription
Param1SalNumber
Param2SalNumber
Param3SalNumber

Returns: SalNumber.

Static memberGZipTell(Param1)

LONG XSalGZipTell( gzFile p_File )

ParameterTypeDescription
Param1SalNumber

Returns: SalNumber.

Static memberGZipWrite(Param1, Param2, Param3)

LONG XSalGZipWrite( gzFile p_File, LPVOID p_lpBufferOut, LONG p_lSize )

ParameterTypeDescription
Param1SalNumber
Param2SalString
Param3SalNumber

Returns: SalNumber.

Static memberScriptAddLine(handle, line)

Adds a line to the script and recompiles.

ParameterTypeDescription
handleSalNumber
lineSalString

Returns: SalBoolean.

Static memberScriptCreate(source)

Creates and compiles the script.

ParameterTypeDescription
sourceSalString

Returns: SalNumber.

Static memberScriptFree(handle)

Frees the script.

ParameterTypeDescription
handleSalNumber

Returns: SalBoolean.

Static memberScriptGetErrors(handle, errorsList)

ParameterTypeDescription
handleSalNumber
errorsListSalString&

Returns: SalNumber.

Static memberScriptGetLocalName(handle, localName, varName)

Deprecated memberDeprecated: Not supported.

ParameterTypeDescription
handleSalNumber
localNameSalString
varNameSalString&

Returns: SalBoolean.

Static memberScriptRun(handle, result)

ParameterTypeDescription
handleSalNumber
resultSalString&

Returns: SalBoolean.

Static memberScriptSetContext(handle, context)

Changes the execution context for the script object.

ParameterTypeDescription
handleSalNumber
contextObject

Returns: SalBoolean.

Static memberScriptSetDebugMode(handle, debugOn)

Enables/Disables debug mode. When the debug mode is on, the exceptions generated by the interpreter are unhandled.

ParameterTypeDescription
handleSalNumber
debugOnSalBoolean

Returns: SalBoolean.

Static memberScriptSetTimeout(handle, timeout)

Deprecated memberDeprecated: Not supported. Not supported.

ParameterTypeDescription
handleSalNumber
timeoutSalNumber

Returns: SalBoolean.

Static memberSetWindowHotSpot(ctrl, id, x, y, width, height)

Creates a new hotspot are on the windows background. If the hotspot dimensions are 0,0,0,0 the specified hotspot ID is removed.

ParameterTypeDescription
ctrlControlTarget control on which to execute the call.
idSalNumber
xSalNumber
ySalNumber
widthSalNumber
heightSalNumber

Returns: SalBoolean.

Static memberSetWindowImageFile(ctrl, fileName, flags)

Sets the image to show as the background of the specified window.

ParameterTypeDescription
ctrlControlTarget control on which to execute the call.
fileNameSalString
flagsBackgroundImageFlags

Returns: SalBoolean.

Static memberSplitGetBarPosition(split)

Returns the position of the splitter. If the splitter is proportional, the position is expressed as a percentage integer: 500 = 50%.

ParameterTypeDescription
splitSalWindowHandle

Returns: SalNumber.

Static memberSplitGetFrameChild(split, frame)

Returns the child control associated to the splitter's frames.

ParameterTypeDescription
splitSalWindowHandle
frameSalNumber

Returns: SalWindowHandle.

Static memberSplitGetStyle(split)

Returns the styles of the splitter.

ParameterTypeDescription
splitSalWindowHandle

Returns: SplitterStyles.

Static memberSplitSetBarPosition(split, pos)

Sets the position of the splitter. If the splitter is proportional, the position is expressed as a percentage integer: 500 = 50%.

ParameterTypeDescription
splitSalWindowHandle
posSalNumber

Returns: SalBoolean.

Static memberSplitSetBarSize(split, size)

Sets the size of the splitter.

ParameterTypeDescription
splitSalWindowHandle
sizeSalNumber

Returns: SalBoolean.

Static memberSplitSetFrameChild(split, child, frame)

Associates the child control to the splitter's frames.

ParameterTypeDescription
splitSalWindowHandle
childSalWindowHandle
frameSalNumber

Returns: SalBoolean.

Static memberSplitSetMinMax(split, min, max)

Sets the minimum and maximum positions for the splitter.

ParameterTypeDescription
splitSalWindowHandle
minSalNumber
maxSalNumber

Returns: SalBoolean.

Static memberSplitSetStyle(split, Style, on)

Sets the style of the splitter.

ParameterTypeDescription
splitSalWindowHandle
StyleSplitterStyles
onSalBoolean

Returns: SalBoolean.

Static memberStrAny(text, chars)

Finds the first character in the string that appears in a given character set.

ParameterTypeDescription
textSalString
charsSalString

Returns: SalNumber.

Static memberStrCompare(source, compare, start, size, caseSensitive)

Compares a substring in a string.

ParameterTypeDescription
sourceSalString
compareSalString
startSalNumber
sizeSalNumber
caseSensitiveSalBoolean

Returns: SalBoolean.

Static memberStrCompress(sIn, nLevel, sOut)

ParameterTypeDescription
sInSalString
nLevelSalNumber
sOutSalString&

Returns: SalBoolean.

Static memberStrCount(sText, sSearch, nStart, nLength, bLeft)

Counts the number of times a substring appears in a string.

ParameterTypeDescription
sTextSalString
sSearchSalString
nStartSalNumber
nLengthSalNumber
bLeftSalBoolean

Returns: SalNumber.

Static memberStrFormat(text, mask)

Formats a string using a string mask.

ParameterTypeDescription
textSalString
maskSalString

Returns: SalString.

Static memberStrFormatDateTime(date, format, language)

ParameterTypeDescription
dateSalDateTime
formatSalString
languageSalString

Returns: SalString.

Static memberStrFormatDateTimeX(date, format, days, shortDays, months, shortMonths)

ParameterTypeDescription
dateSalDateTime
formatSalString
daysSalString
shortDaysSalString
monthsSalString
shortMonthsSalString

Returns: SalString.

Static memberStrFromHex(hex)

Converts an hexadecimal text into a string.

ParameterTypeDescription
hexSalString

Returns: SalString.

Static memberStrGetCharAt(text, index)

Returns the character at the indicated position.

ParameterTypeDescription
textSalString
indexSalNumber

Returns: SalNumber.

Static memberStrGetFirstToken(list, separators)

ParameterTypeDescription
listSalString
separatorsSalString

Returns: SalString.

Static memberStrGetNextToken()

Returns the next token string in a list.

Returns: SalString.

Static memberStrMetaphone(text)

ParameterTypeDescription
textSalString

Returns: SalString.

Static memberStrNAny(text, chars)

Finds the first character in the string that does not appear in a given character set.

ParameterTypeDescription
textSalString
charsSalString

Returns: SalNumber.

Static memberStrScan(sText, search, nIndex)

Searches for a substring in the source string starting from the specified index.

ParameterTypeDescription
sTextSalString
searchSalString
nIndexSalNumber

Returns: SalNumber.

Static memberStrScanR(sText, search, nIndex)

Searches for a substring in the source string starting from the specified index.

ParameterTypeDescription
sTextSalString
searchSalString
nIndexSalNumber

Returns: SalNumber.

Static memberStrSetCharAt(text, index, character)

ParameterTypeDescription
textSalString&
indexSalNumber
characterSalNumber

Returns: SalNumber.

Static memberStrToHex(text)

Converts a string to an hexadecimal text.

ParameterTypeDescription
textSalString

Returns: SalString.

Static memberStrToNumber(text)

Converts a string to a number, regardless of the decimal point.

ParameterTypeDescription
textSalString

Returns: SalNumber.

Static memberStrUncompress(sIn, sOut)

ParameterTypeDescription
sInSalString
sOutSalString&

Returns: SalBoolean.

Static memberTblCopyRows(table, flagsOn, flagsOff, copyFlags)

Copies the matching rows to the clipboard.

ParameterTypeDescription
tableControl
flagsOnSalNumber
flagsOffSalNumber
copyFlagsTableWindowClipboardFlags

Returns: SalBoolean.

Static memberTblCopyRowsToString(table, flagsOn, flagsOff, copyFlags, csvText)

ParameterTypeDescription
tableControl
flagsOnSalNumber
flagsOffSalNumber
copyFlagsTableWindowClipboardFlags
csvTextSalString&

Returns: SalBoolean.

Static memberTblGetCellBackColor(column, color)

ParameterTypeDescription
columnControl
colorSalNumber&

Returns: SalBoolean.

Static memberTblGetCellBackColor(column)

Returns the background color set for a single cell.

ParameterTypeDescription
columnControl

Returns: Color.

Static memberTblGetCellFont(column)

Returns the font associated with the specified table cell.

ParameterTypeDescription
columnControl

Returns: Font.

Static memberTblGetCellImage(column, position)

ParameterTypeDescription
columnControl
positionTableWindowImageFlags&

Returns: Image.

Static memberTblGetColHeaderFont(column)

Returns the font associated to the column header.

ParameterTypeDescription
columnControl

Returns: Font.

Static memberTblGetColHeaderImage(column, image, position)

ParameterTypeDescription
columnControl
imageSalNumber&
positionTableWindowImageFlags&

Returns: SalBoolean.

Static memberTblGetColumnBackColor(column, color)

ParameterTypeDescription
columnControl
colorSalNumber&

Returns: SalBoolean.

Static memberTblGetColumnBackColor(column)

Returns the background color set for a table column.

ParameterTypeDescription
columnControl

Returns: Color.

Static memberTblGetColumnFont(column)

Returns the font associated with the specified table column.

ParameterTypeDescription
columnControl

Returns: Font.

Static memberTblGetRowBackColor(table, row, color)

ParameterTypeDescription
tableControl
rowSalNumber
colorSalNumber&

Returns: SalBoolean.

Static memberTblGetRowBackColor(table, row)

Returns the background color of the specified row.

ParameterTypeDescription
tableControl
rowSalNumber

Returns: Color.

Static memberTblGetRowFont(table, nRow)

Returns the font used for the specified row.

ParameterTypeDescription
tableControl
nRowSalNumber

Returns: Font.

Static memberTblGetRowHeaderBackColor(table, row, color)

ParameterTypeDescription
tableControl
rowSalNumber
colorSalNumber&

Returns: SalBoolean.

Static memberTblGetRowHeaderBackColor(table, row)

Returns the background color of the specified row.

ParameterTypeDescription
tableControl
rowSalNumber

Returns: Color.

Static memberTblPasteRows(table, copyFlags)

Pastes the CSV text from the clipboard.

ParameterTypeDescription
tableControl
copyFlagsTableWindowClipboardFlags

Returns: SalBoolean.

Static memberTblPasteRowsFromString(table, flags, csvText)

Pastes the specified CSV string into the table window control.

ParameterTypeDescription
tableControl
flagsTableWindowClipboardFlags
csvTextSalString

Returns: SalBoolean.

Static memberTblSetCellBackColor(column, color)

Sets the background color of an individual cell.

ParameterTypeDescription
columnControlTarget control on which to execute the call.
colorSalNumber

Returns: SalBoolean.

Static memberTblSetCellBackColor(column, color)

Sets the background color of an individual cell.

ParameterTypeDescription
columnControlTarget control on which to execute the call.
colorColor

Returns: SalBoolean.

Static memberTblSetCellFont(column, font)

Sets the font for a single cell.

ParameterTypeDescription
columnControl
fontFont

Returns: SalBoolean.

Static memberTblSetCellImage(column, image, flags)

Assigns an image to a table cell.

ParameterTypeDescription
columnControl
imageImage
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetCellImageFile(column, fileName, flags)

Assigns an image to a table cell.

ParameterTypeDescription
columnControl
fileNameSalString
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetCellImageResource(column, name, flags)

Assigns an image to a table cell.

ParameterTypeDescription
columnControl
nameSalString
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetCellImageString(column, imageBlob, flags)

Assigns an image to a table cell.

ParameterTypeDescription
columnControl
imageBlobSalString
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetColHeaderFont(column, font)

Assigns the specified font to the column header.

ParameterTypeDescription
columnControl
fontFont

Returns: SalBoolean.

Static memberTblSetColHeaderFontName(column, fontName, fontSize, fontStyle)

Creates the specified font and assigns it to the column header.

ParameterTypeDescription
columnControl
fontNameSalString
fontSizeSalNumber
fontStyleSalNumber

Returns: SalBoolean.

Static memberTblSetColHeaderImage(column, image, flags)

Assigns the image from the handle to the specified column header.

ParameterTypeDescription
columnControl
imageImage
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetColHeaderImage(column, hImage, flags)

Assigns the image from the handle to the specified column header.

ParameterTypeDescription
columnControl
hImageSalNumber
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetColHeaderImageFile(column, fileName, flags)

Assigns the image file to the specified column header.

ParameterTypeDescription
columnControl
fileNameSalString
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetColHeaderImageResource(column, resName, flags)

Assigns the image from the specified resource object to the column header.

ParameterTypeDescription
columnControl
resNameSalString
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetColHeaderImageString(column, imageBlob, flags)

Assigns the image from the blob string to the specified column header.

ParameterTypeDescription
columnControl
imageBlobSalString
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetColumnBackColor(column, color)

Sets the background color for a table column.

ParameterTypeDescription
columnControl
colorSalNumber

Returns: SalBoolean.

Static memberTblSetColumnBackColor(column, color)

Sets the background color for a table column.

ParameterTypeDescription
columnControl
colorColor

Returns: SalBoolean.

Static memberTblSetColumnFont(column, font)

Sets the font for a table column.

ParameterTypeDescription
columnControl
fontFont

Returns: SalBoolean.

Static memberTblSetColumnFontName(column, fontName, fontSize, fontStyle)

Sets the font for the table column. The font is created using the specified arguments.

ParameterTypeDescription
columnControl
fontNameSalString
fontSizeSalNumber
fontStyleSalNumber

Returns: SalBoolean.

Static memberTblSetColumnImage(column, image, flags)

Assigns an image to a table column.

ParameterTypeDescription
columnControl
imageImage
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetColumnImageFile(column, fileName, flags)

Assigns an image to the column.

ParameterTypeDescription
columnControl
fileNameSalString
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetColumnImageResource(column, name, flags)

Assigns an image to the column.

ParameterTypeDescription
columnControl
nameSalString
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetColumnImageString(column, sImage, flags)

Assigns an image to the column.

ParameterTypeDescription
columnControl
sImageSalString
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetDelimiters(colDelimiter, rowDelimiter)

Changes the standard column and row delimiters for the copy/paste operations.

ParameterTypeDescription
colDelimiterSalString
rowDelimiterSalString

Returns: SalBoolean.

Static memberTblSetRowBackColor(table, row, color)

Sets the background color of a row.

ParameterTypeDescription
tableControl
rowSalNumber
colorSalNumber

Returns: SalBoolean.

Static memberTblSetRowBackColor(table, row, color)

Sets the background color of a row.

ParameterTypeDescription
tableControl
rowSalNumber
colorColor

Returns: SalBoolean.

Static memberTblSetRowFont(table, row, font)

Sets the font for the entire row.

ParameterTypeDescription
tableControl
rowSalNumber
fontFont

Returns: SalBoolean.

Static memberTblSetRowFontName(table, row, fontName, fontSize, fontStyle)

Sets the font for the entire row.

ParameterTypeDescription
tableControl
rowSalNumber
fontNameSalString
fontSizeSalNumber
fontStyleSalNumber

Returns: SalBoolean.

Static memberTblSetRowHeaderBackColor(table, row, color)

Sets the background color of the row header.

ParameterTypeDescription
tableControl
rowSalNumber
colorSalNumber

Returns: SalBoolean.

Static memberTblSetRowHeaderBackColor(table, row, color)

Sets the background color of the row header.

ParameterTypeDescription
tableControl
rowSalNumber
colorColor

Returns: SalBoolean.

Static memberTblSetRowImage(table, row, image, flags)

Assigns an image to all the cells in the specified row,

ParameterTypeDescription
tableControl
rowSalNumber
imageImage
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetRowImageFile(table, row, fileName, flags)

Assigns an image to all the cells in the specified row.

ParameterTypeDescription
tableControl
rowSalNumber
fileNameSalString
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetRowImageResource(table, row, resName, flags)

Assigns the image from the resource object to all the cells in the table row.

ParameterTypeDescription
tableControl
rowSalNumber
resNameSalString
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetRowImageString(table, row, imageBlob, flags)

Assigns an image to all the cells in the specified row.

ParameterTypeDescription
tableControl
rowSalNumber
imageBlobSalString
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberToolboxCreate(parent, name, position, flags)

Creates the specified toolbox dialog.

ParameterTypeDescription
parentControl
nameSalString
positionToolboxPositions
flagsToolboxFlags

Returns: SalWindowHandle.

Static memberToolboxDestroy(parent, name)

Closes the specified toolbox.

ParameterTypeDescription
parentControl
nameSalString

Returns: SalBoolean.

Static memberToolboxGetPosition(parent, name)

Returns the position of the specified toolbox.

ParameterTypeDescription
parentControl
nameSalString

Returns: ToolboxPositions.

Static memberToolboxHide(parent, name)

Hides the specified toolbox.

ParameterTypeDescription
parentControl
nameSalString

Returns: SalBoolean.

Static memberToolboxHideAll(parent)

Hides all the toolboxes.

ParameterTypeDescription
parentControl

Returns: SalBoolean.

Static memberToolboxIsVisible(parent, name)

Tests the visibility of the specified toolbox.

ParameterTypeDescription
parentControl
nameSalString

Returns: SalBoolean.

Static memberToolboxSetMetrics(value, type)

Sets metric values for the toolbars.

ParameterTypeDescription
valueSalNumberValue to set.
typeToolbarMetricsToolbarMetrics to change.

Returns: SalBoolean.

Static memberToolboxSetMetrics(type)

Returns metric values for the toolbars.

ParameterTypeDescription
typeToolbarMetricsToolbarMetrics to return.

Returns: SalNumber.

Static memberToolboxSetPosition(parent, name, position)

Changes the position of the specified toolbox.

ParameterTypeDescription
parentControl
nameSalString
positionToolboxPositions

Returns: SalBoolean.

Static memberToolboxShow(parent, name)

Shows the specified toolbox.

ParameterTypeDescription
parentControl
nameSalString

Returns: SalBoolean.

Static memberToolboxShowAll(parent)

Shows all the toolboxes.

ParameterTypeDescription
parentControl

Returns: SalBoolean.

Static memberUdvArrayDelete(Array, index)

Removes an element from the array.

ParameterTypeDescription
ArraySalArray
indexSalNumber

Returns: SalBoolean.

Static memberUdvArrayInsert(Array, index)

Inserts a new element in the array.

ParameterTypeDescription
ArraySalArray
indexSalNumber

Returns: SalBoolean.

Static memberUdvArrayMove(Array, sourceIndex, targetIndex)

Moves the element to the target index in the array.

ParameterTypeDescription
ArraySalArray
sourceIndexSalNumber
targetIndexSalNumber

Returns: SalBoolean.

Static memberUdvArraySort(Array, fieldName, dataType, sortOrder)

Sorts the objects in the array using the value in the variable specified in sFieldName.

ParameterTypeDescription
ArraySalArray
fieldNameSalString
dataTypeSalNumber
sortOrderSalNumber

Returns: SalBoolean.

Static memberUdvArraySwap(Array, index1, index2)

Swaps two object items in an array.

ParameterTypeDescription
ArraySalArray
index1SalNumber
index2SalNumber

Returns: SalBoolean.

Static memberUdvClone(source, target)

ParameterTypeDescription
sourceSalFunctionalClass
targetSalFunctionalClass&

Returns: SalBoolean.

Static memberUdvFromString(obj, source)

ParameterTypeDescription
objSalFunctionalClass&
sourceSalString

Returns: SalBoolean.

Static memberUdvToString(obj, target)

ParameterTypeDescription
objSalFunctionalClass
targetSalString&

Returns: SalBoolean.

Static memberZipCloseArchive(zipFile)

ParameterTypeDescription
zipFileSalNumber&

Returns: SalBoolean.

Static memberZipCloseFile(zipFile)

Closes the currently open zip entry. It doesn't close the Zip archive, to close the archive you have to use XSalZipCloseArchive.

ParameterTypeDescription
zipFileSalNumber

Returns: SalBoolean.

Static memberZipCreateFile(zipFile, fileName, date, comment, compressionLevel)

Creates a file in the Zip archive and sets the newly created file as the currently open file.

ParameterTypeDescription
zipFileSalNumber
fileNameSalString
dateSalDateTime
commentSalString
compressionLevelSalNumber

Returns: SalBoolean.

Static memberZipFindFile(zipFile, fileName)

Returms the zip entry that matches the specified name.

ParameterTypeDescription
zipFileSalNumber
fileNameSalString

Returns: SalBoolean.

Static memberZipFindFirstFile(zipFile)

Positions the current zip entry to the first file in the archive.

ParameterTypeDescription
zipFileSalNumber

Returns: SalBoolean.

Static memberZipFindNextFile(zipFile)

Positions the current zip entry to the next file in the archive.

ParameterTypeDescription
zipFileSalNumber

Returns: SalBoolean.

Static memberZipGetFileInfo(zipFile, fileName, comment, date, compressedSize, uncompressedSize)

ParameterTypeDescription
zipFileSalNumber
fileNameSalString&
commentSalString&
dateSalDateTime&
compressedSizeSalNumber&
uncompressedSizeSalNumber&

Returns: SalBoolean.

Static memberZipOpenArchive(zipFile, fileName, mode)

ParameterTypeDescription
zipFileSalNumber&
fileNameSalString
modeSalNumber

Returns: SalBoolean.

Static memberZipOpenFile(zipFile)

Opens the current zip entry for reading in the Zip archive. It must be used after XSalZipFindFile or XSalZipFindFirstFile, or XSalZipFindNextFile.

ParameterTypeDescription
zipFileSalNumber

Returns: SalBoolean.

Static memberZipRead(zipFile, content, count)

ParameterTypeDescription
zipFileSalNumber
contentSalString&
countSalNumber

Returns: SalNumber.

Static memberZipWrite(zipFile, buffer, length)

Writes the buffer to the currently open zip entry in the zip file.

ParameterTypeDescription
zipFileSalNumber
bufferSalString
lengthSalNumber

Returns: SalBoolean.

Static memberZipWrite(zipFile, buffer, length)

Writes the buffer to the currently open zip entry in the zip file.

ParameterTypeDescription
zipFileSalNumber
bufferByte[]
lengthSalNumber

Returns: SalBoolean.