_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c158300 | train | // NewDataValidation return data validation struct. | {
"resource": ""
} | ||
c158301 | train | // SetError set error notice. | {
"resource": ""
} | ||
c158302 | train | // SetInput set prompt notice. | {
"resource": ""
} | ||
c158303 | train | // SetDropList data validation list. | {
"resource": ""
} | ||
c158304 | train | // SetRange provides function to set data validation range in drop list. | {
"resource": ""
} | ||
c158305 | train | // SetSqref provides function to set data validation range in drop list. | {
"resource": ""
} | ||
c158306 | train | // convDataValidationType get excel data validation type. | {
"resource": ""
} | ||
c158307 | train | // convDataValidationOperatior get excel data validation operator. | {
"resource": ""
} | ||
c158308 | train | // ReadZipReader can be used to read an XLSX in memory without touching the
// filesystem. | {
"resource": ""
} | ||
c158309 | train | // readXML provides a function to read XML content as string. | {
"resource": ""
} | ||
c158310 | train | // saveFileList provides a function to update given file content in file list
// of XLSX. | {
"resource": ""
} | ||
c158311 | train | // Read file content as string in a archive file. | {
"resource": ""
} | ||
c158312 | train | // JoinCellName joins cell name from column name and row number. | {
"resource": ""
} | ||
c158313 | train | // namespaceStrictToTransitional provides a method to convert Strict and
// Transitional namespaces. | {
"resource": ""
} | ||
c158314 | train | // formatToInt provides a function to convert original string to integer
// format as string type by given built-in number formats code and cell
// string. | {
"resource": ""
} | ||
c158315 | train | // formatToA provides a function to convert original string to special format
// as string type by given built-in number formats code and cell string. | {
"resource": ""
} | ||
c158316 | train | // is12HourTime checks whether an Excel time format string is a 12 hours form. | {
"resource": ""
} | ||
c158317 | train | // parseFormatStyleSet provides a function to parse the format settings of the
// cells and conditional formats. | {
"resource": ""
} | ||
c158318 | train | // setFont provides a function to add font style by given cell format
// settings. | {
"resource": ""
} | ||
c158319 | train | // setNumFmt provides a function to check if number format code in the range
// of built-in values. | {
"resource": ""
} | ||
c158320 | train | // setCustomNumFmt provides a function to set custom number format code. | {
"resource": ""
} | ||
c158321 | train | // setLangNumFmt provides a function to set number format code with language. | {
"resource": ""
} | ||
c158322 | train | // setFills provides a function to add fill elements in the styles.xml by
// given cell format settings. | {
"resource": ""
} | ||
c158323 | train | // setAlignment provides a function to formatting information pertaining to
// text alignment in cells. There are a variety of choices for how text is
// aligned both horizontally and vertically, as well as indentation settings,
// and so on. | {
"resource": ""
} | ||
c158324 | train | // setProtection provides a function to set protection properties associated
// with the cell. | {
"resource": ""
} | ||
c158325 | train | // setBorders provides a function to add border elements in the styles.xml by
// given borders format settings. | {
"resource": ""
} | ||
c158326 | train | // setCellXfs provides a function to set describes all of the formatting for a
// cell. | {
"resource": ""
} | ||
c158327 | train | // GetCellStyle provides a function to get cell style index by given worksheet
// name and cell coordinates. | {
"resource": ""
} | ||
c158328 | train | // drawCondFmtAboveAverage provides a function to create conditional
// formatting rule for above average and below average by given priority,
// criteria type and format settings. | {
"resource": ""
} | ||
c158329 | train | // drawCondFmtDataBar provides a function to create conditional formatting
// rule for data bar by given priority, criteria type and format settings. | {
"resource": ""
} | ||
c158330 | train | // drawConfFmtExp provides a function to create conditional formatting rule
// for expression by given priority, criteria type and format settings. | {
"resource": ""
} | ||
c158331 | train | // ThemeColor applied the color with tint value. | {
"resource": ""
} | ||
c158332 | train | // parseFormatShapeSet provides a function to parse the format settings of the
// shape with default value. | {
"resource": ""
} | ||
c158333 | train | // setShapeRef provides a function to set color with hex model by given actual
// color value. | {
"resource": ""
} | ||
c158334 | train | // trimCell provides a function to trim blank cells which created by completeCol. | {
"resource": ""
} | ||
c158335 | train | // setContentTypes provides a function to read and update property of contents
// type of XLSX. | {
"resource": ""
} | ||
c158336 | train | // setSheet provides a function to update sheet property by given index. | {
"resource": ""
} | ||
c158337 | train | // setWorkbook update workbook property of XLSX. Maximum 31 characters are
// allowed in sheet title. | {
"resource": ""
} | ||
c158338 | train | // workbookRelsReader provides a function to read and unmarshal workbook
// relationships of XLSX file. | {
"resource": ""
} | ||
c158339 | train | // addXlsxWorkbookRels update workbook relationships property of XLSX. | {
"resource": ""
} | ||
c158340 | train | // replaceRelationshipsBytes; Some tools that read XLSX files have very strict
// requirements about the structure of the input XML. This function is a
// horrible hack to fix that after the XML marshalling is completed. | {
"resource": ""
} | ||
c158341 | train | // replaceRelationshipsNameSpaceBytes; Some tools that read XLSX files have
// very strict requirements about the structure of the input XML. In
// particular both Numbers on the Mac and SAS dislike inline XML namespace
// declarations, or namespace prefixes that don't match the ones that Excel
// itself uses. This is ... | {
"resource": ""
} | ||
c158342 | train | // GetActiveSheetIndex provides a function to get active sheet index of the
// XLSX. If not found the active sheet will be return integer 0. | {
"resource": ""
} | ||
c158343 | train | // SetSheetName provides a function to set the worksheet name be given old and
// new worksheet name. Maximum 31 characters are allowed in sheet title and
// this function only changes the name of the sheet and will not update the
// sheet name in the formula or reference associated with the cell. So there
// may be pr... | {
"resource": ""
} | ||
c158344 | train | // GetSheetName provides a function to get worksheet name of XLSX by given
// worksheet index. If given sheet index is invalid, will return an empty
// string. | {
"resource": ""
} | ||
c158345 | train | // getSheetMap provides a function to get worksheet name and XML file path map of
// XLSX. | {
"resource": ""
} | ||
c158346 | train | // SetSheetBackground provides a function to set background picture by given
// worksheet name and file path. | {
"resource": ""
} | ||
c158347 | train | // DeleteSheet provides a function to delete worksheet in a workbook by given
// worksheet name. Use this method with caution, which will affect changes in
// references such as formulas, charts, and so on. If there is any referenced
// value of the deleted worksheet, it will cause a file error when you open it.
// Thi... | {
"resource": ""
} | ||
c158348 | train | // copySheet provides a function to duplicate a worksheet by gave source and
// target worksheet name. | {
"resource": ""
} | ||
c158349 | train | // parseFormatPanesSet provides a function to parse the panes settings. | {
"resource": ""
} | ||
c158350 | train | // UnprotectSheet provides a function to unprotect an Excel worksheet. | {
"resource": ""
} | ||
c158351 | train | // trimSheetName provides a function to trim invaild characters by given worksheet
// name. | {
"resource": ""
} | ||
c158352 | train | // getPageLayout provides a method to get the orientation for the worksheet. | {
"resource": ""
} | ||
c158353 | train | // getPageLayout provides a method to get the paper size for the worksheet. | {
"resource": ""
} | ||
c158354 | train | // fillSheetData ensures there are enough rows, and columns in the chosen
// row to accept data. Missing rows are backfilled and given their row number | {
"resource": ""
} | ||
c158355 | train | // timeToExcelTime provides a function to convert time to Excel time. | {
"resource": ""
} | ||
c158356 | train | // shiftJulianToNoon provides a function to process julian date to noon. | {
"resource": ""
} | ||
c158357 | train | // fractionOfADay provides a function to return the integer values for hour,
// minutes, seconds and nanoseconds that comprised a given fraction of a day.
// values would round to 1 us. | {
"resource": ""
} | ||
c158358 | train | // Next will return true if find the next row element. | {
"resource": ""
} | ||
c158359 | train | // Columns return the current row's column values | {
"resource": ""
} | ||
c158360 | train | // getTotalRowsCols provides a function to get total columns and rows in a
// worksheet. | {
"resource": ""
} | ||
c158361 | train | // getRowHeight provides a function to get row height in pixels by given sheet
// name and row index. | {
"resource": ""
} | ||
c158362 | train | // convertRowHeightToPixels provides a function to convert the height of a
// cell from user's units to pixels. If the height hasn't been set by the user
// we use the default value. If the row is hidden it has a value of zero. | {
"resource": ""
} | ||
c158363 | train | // parseFormatChartSet provides a function to parse the format settings of the
// chart with default value. | {
"resource": ""
} | ||
c158364 | train | // prepareDrawing provides a function to prepare drawing ID and XML by given
// drawingID, worksheet name and default drawingXML. | {
"resource": ""
} | ||
c158365 | train | // addDrawingChart provides a function to add chart graphic frame by given
// sheet, drawingXML, cell, width, height, relationship index and format sets. | {
"resource": ""
} | ||
c158366 | train | // NewCachedEnforcer creates a cached enforcer via file or DB. | {
"resource": ""
} | ||
c158367 | train | // KeyMatchFunc is the wrapper for KeyMatch. | {
"resource": ""
} | ||
c158368 | train | // KeyMatch2Func is the wrapper for KeyMatch2. | {
"resource": ""
} | ||
c158369 | train | // KeyMatch3Func is the wrapper for KeyMatch3. | {
"resource": ""
} | ||
c158370 | train | // RegexMatch determines whether key1 matches the pattern of key2 in regular expression. | {
"resource": ""
} | ||
c158371 | train | // RegexMatchFunc is the wrapper for RegexMatch. | {
"resource": ""
} | ||
c158372 | train | // IPMatchFunc is the wrapper for IPMatch. | {
"resource": ""
} | ||
c158373 | train | // GetAllNamedSubjects gets the list of subjects that show up in the current named policy. | {
"resource": ""
} | ||
c158374 | train | // GetAllNamedObjects gets the list of objects that show up in the current named policy. | {
"resource": ""
} | ||
c158375 | train | // GetAllNamedActions gets the list of actions that show up in the current named policy. | {
"resource": ""
} | ||
c158376 | train | // GetAllNamedRoles gets the list of roles that show up in the current named policy. | {
"resource": ""
} | ||
c158377 | train | // GetNamedPolicy gets all the authorization rules in the named policy. | {
"resource": ""
} | ||
c158378 | train | // GetFilteredNamedPolicy gets all the authorization rules in the named policy, field filters can be specified. | {
"resource": ""
} | ||
c158379 | train | // GetFilteredGroupingPolicy gets all the role inheritance rules in the policy, field filters can be specified. | {
"resource": ""
} | ||
c158380 | train | // GetNamedGroupingPolicy gets all the role inheritance rules in the policy. | {
"resource": ""
} | ||
c158381 | train | // RemoveNamedPolicy removes an authorization rule from the current named policy. | {
"resource": ""
} | ||
c158382 | train | // RemoveFilteredNamedPolicy removes an authorization rule from the current named policy, field filters can be specified. | {
"resource": ""
} | ||
c158383 | train | // HasNamedGroupingPolicy determines whether a named role inheritance rule exists. | {
"resource": ""
} | ||
c158384 | train | // AddNamedGroupingPolicy adds a named role inheritance rule to the current policy.
// If the rule already exists, the function returns false and the rule will not be added.
// Otherwise the function returns true by adding the new rule. | {
"resource": ""
} | ||
c158385 | train | // RemoveFilteredGroupingPolicy removes a role inheritance rule from the current policy, field filters can be specified. | {
"resource": ""
} | ||
c158386 | train | // RemoveFilteredNamedGroupingPolicy removes a role inheritance rule from the current named policy, field filters can be specified. | {
"resource": ""
} | ||
c158387 | train | // AddFunction adds a customized function. | {
"resource": ""
} | ||
c158388 | train | // NewSyncedEnforcer creates a synchronized enforcer via file or DB. | {
"resource": ""
} | ||
c158389 | train | // StartAutoLoadPolicy starts a go routine that will every specified duration call LoadPolicy | {
"resource": ""
} | ||
c158390 | train | // SetWatcher sets the current watcher. | {
"resource": ""
} | ||
c158391 | train | // ClearPolicy clears all policy. | {
"resource": ""
} | ||
c158392 | train | // GetAllSubjects gets the list of subjects that show up in the current policy. | {
"resource": ""
} | ||
c158393 | train | // GetAllObjects gets the list of objects that show up in the current policy. | {
"resource": ""
} | ||
c158394 | train | // GetAllActions gets the list of actions that show up in the current policy. | {
"resource": ""
} | ||
c158395 | train | // GetAllRoles gets the list of roles that show up in the current policy. | {
"resource": ""
} | ||
c158396 | train | // GetPolicy gets all the authorization rules in the policy. | {
"resource": ""
} | ||
c158397 | train | // GetFilteredPolicy gets all the authorization rules in the policy, field filters can be specified. | {
"resource": ""
} | ||
c158398 | train | // GetGroupingPolicy gets all the role inheritance rules in the policy. | {
"resource": ""
} | ||
c158399 | train | // AddPolicy adds an authorization rule to the current policy.
// If the rule already exists, the function returns false and the rule will not be added.
// Otherwise the function returns true by adding the new rule. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.