Docs
ServoyCloudSupportSamplesOpen SourceCommunity
  • Home
  • GUIDES
    • Platform Overview
    • Get Servoy
    • Get Started
      • Chapter 0
      • Chapter 1
      • Chapter 2
      • Chapter 3
      • Chapter 4
      • Chapter 5
    • Get Help
      • SuLA Instructions
      • SuLA Terms
    • Develop
      • Application Design
        • Forms
          • Layout Management
            • Simple Layout
            • Fully Responsive
              • Bootstrap 12-Grid
              • Flexbox
              • Custom Div
              • Collapsible Container
              • Simple Collapsible
              • Center Container
              • Inline Group Container
            • Abstract Form
          • Form Containers
            • Form Container
            • Tab Panel
            • Split Pane
            • Collapse
            • Accordion Panel
            • Form Component
            • List Form Component
          • Form Inheritance
          • Form Components
        • UI Components
          • Buttons and Text
            • Badge
            • Button
            • Data Label
            • Dropdown
            • Image
            • Label
          • Grids
            • Data Grid
            • Power Grid
            • Table
          • Input Controls
            • Calendar
            • Calendar Inline
            • Checkbox
            • Choice Group
            • Combobox
            • Group Buttons
            • Html Area
            • Input Group
            • Rating
            • Slider
            • Switch
            • Spinner
            • TextArea
            • Textbox
            • TextBoxGroup
            • Type Ahead
            • select2tokenizer
          • Media
            • Carousel
            • Embedded YouTube
            • File upload
            • Image label
            • Lightbox Gallery
            • MultiFile Upload
            • PDF JS Viewer
            • PDF Viewer
          • Mobile
            • Native Data List
            • Native Select
          • Navigation
            • Breadcrumbs
            • Navbar
            • sidenav
          • Visualization
            • DBTreeview
            • Progress Bar
            • Treeview
            • ChartJS
              • Data Labels Plugin
              • Funnel Chart
              • OutLabels Plugin
              • TreeMap
          • Specialized Components
            • Smart Document Editor
            • Servoy PDF Viewer
            • Fullcalendar Component
              • Fullcalendar
              • Fullcalendar Events
              • Migrating calendar from Smart and Web client to NG client
            • Fullcalendar Component 2
            • Canvas
            • Google Charts
            • Google Maps
            • svySignature
            • svywebcam
        • Styling and Themes
          • Default Theme Properties
          • CSS / LESS
          • Component Variants
          • Font Icons
        • Data Modeling
          • Databases
            • Tables
              • Columns
              • Calculations
              • Aggregations
              • Methods
              • Events / Triggers
              • Table security
            • Views
            • Procedures
          • Relations
          • Value Lists
          • Menus
          • In-Memory Databases
          • View Datasource
        • Modular Design
      • Programming Guide
        • Scripting the UI
          • Scripting Forms
          • Interacting with Components
          • Navigation
          • Windows, Dialogs and Popups
          • Events Manager
        • Working with Data
          • Concepts
          • Loading
          • Sorting
          • Iterating
          • Searching
            • Find mode
            • Query Builder
            • SQL String
          • Filtering
          • Editing
          • Validation
        • Automation and Scheduling
          • Batch Processor
          • Headless API
          • Scheduler API
        • Creating REST APIs
        • Consuming Webservices
        • Working with Files
          • File Plugin Basics
          • Images
          • Excel
          • PDF
          • JSON
        • Browser Utilities
          • Notifications
            • Web Notifications (Toastr)
            • Web Notifications (Native)
            • Block UI
          • Session Management
          • Keyboard Utilities
          • NG Utils
        • Sending and Receiving Email
        • Servoy Jasper Reports
          • Input Type
          • Display Mode
          • Output format
          • Jaspe Reports Viewer
        • Extensions
          • Modules
            • svyPhonegap
              • First Use Guide
              • Barcode Scanner
              • Browser
              • Camera
              • File
              • Fingerprint
              • Location
              • Network Interface
              • Phonegap
              • Printer
              • Push Notifications
            • svyAPI
              • Getting Started
            • svyLookup
              • Custom Templates
              • API Documentation
              • svyLookup v1
                • API Documentation v1.0.0
                • Base Form svyLookupTable v1.0.0
                • Base Form AbstractLookup v1.0.0
            • svyNavigation
              • API Documentation
                • API svyNavigation
                • API svyNavigationHistory
                • API svyNavigationUX
            • svyPopupFilter
              • Simple Filter Pickers
              • Custom Templates
              • API Documentation
                • API svyToolbarFilter
                • API svyPopupFilter
              • API Documentation v1
                • API svyToolbarFilter v1
                • API svyPopupFilter v1
            • svySearch
            • svySecurity
              • Overview
              • Token-based Auth and SSO (NEW!)
              • API Documentation
              • Getting Started
              • Tenant replication
              • Security Management Console
                • Classic Security Management Console
              • svySecurityUX
              • svyProperties
              • API Doc svyProperties
            • svyUtils
              • Log Manager
              • Log Manager Appenders
              • Smart Doc Editor Utils
              • Custom Dialogs
              • Excel Utils
                • Full API Reference
              • Crypto Utils
      • Security
        • Authentication
        • Permissions
          • UI Permissions
          • Data Permissions
          • Runtime Permissions
        • Audit Logging
        • OAuth
        • JWT
      • Multi-Language Support
      • Mobile Development
        • Getting Started
        • Mobile Design
        • Native Mobile Integrations
        • Building a Native Binary for the App Store
      • Native Desktop Development
        • NGDesktop UI plugin
        • NGDesktop Utils
        • NGDesktop File Plugin
    • Deploy
      • WAR Deployment
      • Docker Deployment
      • Server Configuration
        • Server Settings
        • Server Plugins
        • Database Servers
          • Locks
          • Transactions
          • Oracle
          • SQLServer
        • Client Sessions
        • Batch Processors
        • License Management
        • Monitoring
          • Server Log
          • Browser Console Log
          • Websocket Log
          • Query Performance
          • Client Performance
          • Client Event Tracing
          • Monitoring Servoy with JMX
      • NGClient deployment
      • Troubleshooting
      • Other Topics
        • Security: Cross-site Scripting
        • Running in an iFrame
    • Extend
    • Contribute
  • Reference
    • Servoy Core
      • Object Model
        • Database Server
          • Table
            • Column
            • Calculation
            • Method
            • Aggregation
          • View
          • Procedure
        • Solution
          • Form
          • Form Component
          • Relation
          • Relation Item
          • Table Node
          • Value List
          • Menu
          • Menu item
          • In-Memory Data Source
          • View Foundset Data Source
          • Variable
          • Column Info
          • Media
          • Layout Container
          • Method
        • i18n Message Key
      • Developer API
        • Globals
        • Forms
          • RuntimeForm
            • controller
            • containers
              • RuntimeContainer
            • elements
              • Component
              • RuntimeAccordionPanel
              • RuntimeBean
              • RuntimeButton
              • RuntimeCalendar
              • RuntimeCheck
              • RuntimeCombobox
              • RuntimeComponent
              • RuntimeDataButton
              • RuntimeDataLabel
              • RuntimeGroup
              • RuntimeHtmlArea
              • RuntimeImageMedia
              • RuntimeInsetList
              • RuntimeLabel
              • RuntimeListBox
              • RuntimePassword
              • RuntimePortal
              • RuntimeRadio
              • RuntimeChecks
              • RuntimeRadios
              • RuntimeRectangle
              • RuntimeRtfArea
              • RuntimeSpinner
              • RuntimeSplitPane
              • RuntimeTabPanel
              • RuntimeTextArea
              • RuntimeTextField
              • RuntimeWebComponent
        • JS Lib
          • Array
          • BigInt
          • Boolean
          • Date
          • Function
          • IterableValue
          • Iterator
          • JSON
          • Map
          • Set
          • Math
          • Namespace
          • Number
          • Object
          • Promise
          • QName
          • RegExp
          • Special Operators
          • Statements
          • String
          • XML
          • XMLList
        • Application
          • APPLICATION_TYPES
          • CLIENTDESIGN
          • DRAGNDROP
          • ELEMENT_TYPES
          • LOGGINGLEVEL
          • NGCONSTANTS
          • UICONSTANTS
          • CSSPosition
          • JSDimension
          • JSDNDEvent
          • JSEvent
          • JSLogger
          • JSLogBuilder
          • JSPoint
          • JSUpload
          • JSWindow
          • JSBounds
          • Renderable
          • UUID
        • SolutionModel
          • ALIGNMENT
          • ANCHOR
          • BEVELTYPE
          • CURSOR
          • DEFAULTS
          • FONTSTYLE
          • MEDIAOPTION
          • PAGEORIENTATION
          • PRINTSLIDING
          • SCROLLBAR
          • TITLEJUSTIFICATION
          • TITLEPOSITION
          • UNITS
          • JSBean
          • JSButton
          • JSCalculation
          • JSComponent
          • JSDataSourceNode
          • JSField
          • JSForm
          • JSLabel
          • JSMedia
          • JSMethod
          • JSPart
          • JSPortal
          • JSRelation
          • JSRelationItem
          • JSStyle
          • JSTab
          • JSTabPanel
          • JSValueList
          • JSVariable
          • JSTitle
          • JSChecks
          • JSCombobox
          • JSHeader
          • JSInsetList
          • JSList
          • JSPassword
          • JSRadios
          • JSText
          • JSTextArea
          • JSWebComponent
          • JSLayoutContainer
        • Database Manager
          • QUERY_COLUMN_TYPES
          • SQL_ACTION_TYPES
          • JSColumn
          • JSDataSet
          • JSBaseRecord
          • JSBaseSqlRecord
          • JSBaseFoundset
          • JSBaseSQLFoundset
          • JSFoundSet
          • JSFoundSetUpdater
          • JSRecord
          • JSRecordMarker
          • JSRecordMarkers
          • JSTable
          • JSTableFilter
          • MenuFoundSet
          • MenuItemRecord
          • QBAggregate
          • QBAggregates
          • QBCase
          • QBCaseWhen
          • QBColumn
          • QBColumns
          • QBCondition
          • QBFunction
          • QBFunctions
          • QBGroupBy
          • QBJoin
          • QBJoins
          • QBLogicalCondition
          • QBParameter
          • QBParameters
          • QBPart
          • QBResult
          • QBSearchedCaseExpression
          • QBSelect
          • QBSort
          • QBSorts
          • QBTableClause
          • QBWhereCondition
          • ViewFoundSet
          • ViewRecord
        • Events Manager
          • EVENTS_AGGREGATION_TYPES
          • EventType
        • Menus
          • JSMenu
          • JSMenuItem
        • JSMenuDatasource
        • Utils
        • Client Utils
          • JSBlobLoaderBuilder
        • History
        • Security
        • i18n
        • ServoyException
          • DataException
        • JSUnit
        • Datasources
          • DBDataSource
          • DBDataSourceServer
          • JSConnectionDefinition
          • JSDataSource
          • MemDataSource
          • MenuDataSource
          • SPDataSource
          • SPDataSourceServer
          • ViewDataSource
        • JSViewDatasource
        • servoyDeveloper
        • enum
    • Extensions
      • UI Components
        • Buttons and Text
          • Badge
          • Button
          • Data Label
          • Drop Down
          • Image
          • Label
        • Form Containers
          • Accordion Panel
          • Collapse
          • Form Container
          • Form Component Container
          • List Form Component
          • Default Loading Indicator
          • Error Bean
          • Portal
          • Responsive Container
          • Servoy Default Navigator
          • Slider
          • Split Pane
          • TabPanel
        • Grids
          • Data Grid
          • Power Grid
          • Table
        • Input Controls
          • Calendar
          • Calendar Inline
          • Checkbox
          • Choice Group
          • Combobox
          • Floatinglabel Calendar
          • Floatinglabel Combobox
          • Floatinglabel Textarea
          • Floatinglabel Textbox
          • Floatinglabel Type Ahead
          • Group Buttons
          • Html Area
          • Input Group
          • Rating
          • Select2tokenizer
          • Slider
          • Spinner
          • Switch
          • TextArea
          • TextBox
          • TextBox Group
          • Type Ahead
        • Media
          • Carousel
          • Embedded YouTube
          • File upload
          • Image label
          • Lightbox Gallery
          • MultiFile Upload
          • PDF JS Viewer
          • PDF Viewer
        • Mobile
          • Native Data List
          • Native Select
        • Navigation
          • Breadcrumbs
          • Navbar
          • sidenav
        • SmartDocEditor
          • Smart Document Editor
        • Visualization
          • Canvas
          • Chart
          • Custom List
          • DBTreeview
          • Foundset List
          • Fullcalendar
          • Gauge
          • Google Maps
          • Kanban
          • Progress Bar
          • Treeview
      • Server Plugins
        • amortization
          • AmortizationCalculation
          • Polynomial
        • clientmanager
          • Broadcaster
          • JSClientInformation (cm)
        • excelxport
        • file
          • JSFile
          • JSProgressMonitor
        • headlessclient
          • JSClient
        • http
          • HTTP_STATUS
          • Cookie
          • DeleteRequest
          • GetRequest
          • HeadRequest
          • HttpClient
          • HttpClientConfig
          • OptionsRequest
          • PostRequest
          • PutRequest
          • Response
          • TraceRequest
          • PatchRequest
          • JSFileUpload
        • images
          • JSImage
        • jwt
          • Algorithm
          • Builder
          • JWTClaims
        • mail
          • Attachment
          • MailMessage
        • maintenance
          • JSClientInformation
          • JSColumnObject
          • JSServer
          • JSTableObject
        • mobileservice
          • OfflineDataDescription
        • oauth
          • ClientAuthentication
          • CustomApiBuilder
          • OAuthProviders
          • OAuthRequest
          • OAuthResponse
          • OAuthResponseBinary
          • OAuthResponseJSON
          • OAuthResponseText
          • OAuthService
          • OAuthServiceBuilder
          • OAuthTokenExtractors
          • RequestType
        • pdf_output
        • rawSQL
        • RestWs plugin
        • rest_ws
          • WsContents
          • WsCookie
          • WsRequest
          • WsResponse
        • scheduler
        • serialize
        • textxport
          • DataProviderExport
          • TabExporter
        • udp
          • JSPacket
        • XmlReader
          • XmlNode
      • Browser Plugins
        • Block UI
        • Block UI (ref)
        • Dialogs Plugin
        • Idle
        • Idle (ref)
        • Key Listener
        • Key Listener (ref)
        • NGDesktop File
        • NGDesktop File (ref)
        • NGDesktop UI (ref)
        • NGDesktop Utils (ref)
        • NG Utils (ref)
        • Office Javascript API for Servoy
        • Phonegap
        • Web Notifications (Native)
        • Web Notifications (Toastr)
        • Window Plugin
        • Font Awesome
      • Modules
        • Smart Doc Editor Utils
        • svyAPI
          • Getting Started
        • svyLookup
          • Custom Templates
          • API Documentation
          • svyLookup v1
            • API Documentation v1.0.0
            • Base Form svyLookupTable v1.0.0
            • Base Form AbstractLookup v1.0.0
        • svyLookupExample
        • svyNavigation
          • API Documentation
            • API svyNavigation
            • API svyNavigationHistory
            • API svyNavigationUX
        • svyNavigationUX
        • svyNavigationUXSample
        • svyPopupFilter
          • Simple Filter Pickers
          • Custom Templates
          • API Documentation
            • API svyToolbarFilter
            • API svyPopupFilter
          • API Documentation v1
            • API svyToolbarFilter v1
            • API svyPopupFilter v1
        • svyProperties
        • svySearch
        • svySecurity
          • Overview
          • Token-based Auth and SSO (NEW!)
          • API Documentation
          • Getting Started
          • Tenant replication
          • Security Management Console
            • Classic Security Management Console
          • svySecurityUX
          • svyProperties
          • API Doc svyProperties
        • svySecurityConsole
        • svySecurityUX
        • svyUtils
          • Log Manager
          • Log Manager Appenders
          • Smart Doc Editor Utils
          • Custom Dialogs
          • Excel Utils
          • Full API Reference
          • Crypto Utils
        • svyUtils$Excel
        • svyUtils$NGClient
        • svyUtils$customDialogs
        • svyUtils$logManagerAppenders
        • svyUtils$tableGrid
      • Layout
        • Boostrap 12grid layout
          • Collapsible Container
          • Simple Collapsible
          • Center Container
          • Inline Group Container
          • Flexbox Layout
      • Solutions
        • Sample Application
          • Tutorial Part 1
          • Tutorial Part 2
      • Packages
        • UI Component Packages
          • Advanced Renderers
          • Bootstrap Components
          • Bootstrap Extra Components
          • Canvas
          • Chart JS
          • Fullcalendar Component
          • googlemaps
          • kanban
          • Servoy Core
          • Servoy Extra Components
          • Servoy NG-Grids
          • Servoy PDF Viewer
          • smartDocumentEditor
        • Browser Plugin Packages
          • Block UI
          • Core NG only Services
          • Key Listener
          • NGDesktop File
          • NGDesktop UI
          • NGDesktop Utils
          • Web Notifications
          • Idle Web Service
    • Servoy Developer
      • Menu
        • File
        • Edit
        • Source
        • Refactor
        • Navigate
        • Search
        • Project
        • Actions
        • Run
        • Window
        • Help
      • Toolbar
      • Solution Explorer
        • Resources
          • Database Servers
            • Database Server
              • Procedures
              • Tables
              • Views
          • Security
          • i18n
        • All Solutions
          • Solution
          • Active Solution
            • Scopes
              • Scope
                • Variables
            • Forms
              • Working Set
              • Form
                • Controller
                • Variables
                • Elements
                • Relations
            • Form Components
              • Form Component
            • Relations
              • Relation
            • ValueLists
              • ValueList
            • Menus
              • Menu
                • MenuItem
            • Media
              • Folder
              • File
            • DataSources
              • In Memory DataSources
                • In Memory DataSource
              • View Foundsets DataSources
                • View Foundset DataSources
            • Servoy Packages
              • Package
            • Modules
              • Module
        • Solution Explorer Contextual List
      • Views
        • Command Console
        • Console
        • Problems
        • Tasks
        • Bookmarks
        • Search
        • Form Hierarchy
        • Help
        • JUnit
        • Outline
        • Profiler
        • Properties
        • Project Explorer
        • Call Hierarchy
      • Editors and Wizards
        • Property configurator for columns
        • Relation Editor
        • Text Format Editor
        • Date Format Editor
        • Number Format Editor
        • Database Synchronization Wizard
        • Security Editor
        • SQL Editor
        • i18n Editor
        • File Import Wizard
        • File Export Wizard
        • WAR Export Wizard
        • NGDesktop Export Wizard
        • Table Editor
        • Metadata Synchronization Wizard
        • Database Server Connection Editor
        • Text Property Editor
        • Valuelist Editor
        • Form Editor
          • Parts of the Form Editor
          • Designing a Form
          • Layout Tools
          • Using Containers
          • Creating and Using Forms
          • Using Servoy Beans
          • Using Shapes
          • Form Editor Subtabs
          • [Tips and Shortcuts][reference/servoy-developer/object-editors/form-editor-tips_and_shortcuts.md]
          • Editong a Responsive LayoutForm
          • CSS Positioning
        • Form Hierarchy
        • Component Properties Editor
        • Variable Editor
        • Method Selection Wizard
        • New Solution Wizard
        • Application Event Types Editor
        • New Form Wizard
        • Form Dataproviders Configurator
        • Servoy Resource Locator
        • Datasource Selection Wizard
        • Sorting Fields Wizard
        • Scripting Editor
          • Getting Started-Overview of Script Editor
          • Code Writing Features
          • Code Navigation
          • Code Rewriting Tools
          • Refactoring
          • Code Formatting
          • Script Editor Tips and Shortcuts
          • Unit Tests
        • Theme Editor
          • General Properties
          • Sidenav Properties
          • Navbar Properties
          • Tabs Properties
          • Windows Properties
          • Dialogs Properties
          • Tables Properties
          • Breadcrumb specific style Properties
          • Brand colors Properties
          • Validations Properties
          • Margins and Padding Properties
        • Editor Selection
        • Run Configurations
        • Debug Configurations
        • Externalize Strings Wizard
        • Font Chooser Wizard
        • Color Chooser Wizard
        • Project Properties Configurator
        • Move Wizard
        • External Tools Configurations
        • About Servoy Developer
        • Servoy Developer Installation Details
        • Eclipse Marketplace Wizard
        • Install Available Software Wizard
        • Cheat Sheet Selection Wizard
        • Servoy Developer Help Wizard
        • Switch to Editor Wizard
        • Find Actions Wizard
        • Customize Perspective Configurator
        • Quick Search Wizard
        • Search Wizard
        • Encoding Wizard
        • Task Wizard
        • Find - Replace Wizard
        • Properties Editor
        • New Project Wizard
        • New Method Wizard
        • New Menu Wizard
          • New MenuItem Wizard
        • Menu Editor
        • ServoyMenu Selection Wizard
        • JSMenu compatible component selector
        • Permissions Configuration Dialog
      • Project File Structure
        • Servoy Installation Directory
          • servoy.properties
        • Workspace Folder
          • Resources Directory
            • Database Information (.dbi) Files
          • Solution Folder
      • Package Manager
      • Preferences
      • Property Types for components / services
      • Debugger
        • Debug Explorer
        • Breakpoints
          • Breakpoint Properties
        • Variables
        • Expressions
        • Interactive Console
    • Application Server
    • Servoy Cloud
      • Cloud Control Center
        • Home
          • Setup Namespace
          • User profile
            • My Profile
            • Support
        • Download IDE
        • Application Overview
          • Applications
            • Pipelines
              • Jobs
                • Packages
                  • Commits
                  • Artifacts
                  • Configuration
                  • Quality reports
                  • Build markers
                • Job Configuration
                  • Build and Deploy or Build
                  • Mobile
                  • Desktop
            • Environments
              • Metrics
                • Users
                • Databases
                  • Metrics
                • System Health
                • Log Activity
                • App performance
                • Query performance
              • Cloud reporting
            • Security
              • Permissions
              • Tenants
            • Reports
            • Security Login Designer
              • Single Sign-On
                • Sign in with Google
                • Sign in with Microsoft
          • Code Repositories
        • Project Management
          • Tickets
          • Backlog
          • Active Sprints
        • User Management
          • Users
          • Roles
        • Administration
          • Security
            • ServoyCloud Roles
          • Credentials
          • Settings
        • Add-Ons
      • Database Backup
      • E2E Cypress Testing
        • Using Cypress
      • On-Premise Deployment
      • Privacy policy (ServoyAI)
      • FAQ
      • Migrate to Servoy Cloud
    • Extensions Developement
      • Component and Services
        • Component Development
        • Service Development
        • Tools and Dev Tips to use for Component/Service developement
        • Manifest (.mf file)
        • Specification (.spec file)
          • Property Types
            • Array property types
            • Custom object property types
            • Findmode property type
            • Foundset property type
            • Tags
        • Directives And Filters
          • Sablotabsequence
        • Console (serverside)
        • ServoyApi (serverside)
      • Serverside Plugins
        • Data Convertors and Validators
        • UI Convertors
  • Release notes
    • Release notes
      • 2025.03
      • 2024.03 (LTS)
      • 2023.03 (LTS)
      • 2025.03 (Servoy Cloud)
      • 2024.12
      • 2024.12 (Servoy Cloud)
      • 2024.09
      • 2024.09 (Servoy Cloud)
      • 2024.06
      • 2024.06 (Servoy Cloud)
      • 2024.03 (Servoy Cloud)
      • 2023.12
      • 2023.12 (Servoy Cloud)
      • 2023.09
      • 2023.09 (Servoy Cloud)
      • 2023.06
      • 2022.03 (LTS)
      • 2022.12 What's new
      • 2022.12
      • 2022.09 What's new
      • 2022.09
      • 2022.06 What's new
      • 2022.06
      • 2021.03.3 (LTS)
Powered by GitBook
On this page
  • Classes
  • Members
  • Functions
  • DataSetExcelWorkbook ⇐ ServoyExcelWorkbook
  • ExcelWorkbook
  • FoundSetExcelWorkbook ⇐ ServoyExcelWorkbook
  • ALIGNMENT : enum
  • BORDER : enum
  • CELL_TYPE
  • FILE_FORMAT
  • FILL_PATTERN : enum
  • FONT_UNDERLINE
  • INDEXED_COLOR : enum
  • PAPER_SIZE
  • SHEET_PANE : enum
  • VERTICAL_ALIGNMENT : enum
  • createPrintSetup() ⇒ PrintSetup
  • createWorkbook([templateOrFileType]) ⇒ ExcelWorkbook
  • createWorkbookFromDataSet(dataset, [columns], [headers], [templateOrFileType], [sheetNameToUse]) ⇒ DataSetExcelWorkbook
  • createWorkbookFromFoundSet(foundset, dataproviders, [headers], [templateOrFileType], [sheetNameToUse]) ⇒ FoundSetExcelWorkbook
  • getCellReferenceFromRange(firstRow, lastRow, firstColumn, lastColumn) ⇒ String
  • getRangeFromCellReference(cellReference) ⇒ Object
  • getWorkbook(original) ⇒ ExcelWorkbook
  • isLoaded() ⇒ Boolean
  • set()
  • setDefaultPrintSetup(setup)
  • copies : Number
  • draft : Boolean
  • fitHeight : Number
  • fitWidth : Number
  • landscape : Boolean
  • mergedRegionType : Object
  • noColor : Boolean
  • paperSize : Number

Was this helpful?

  1. Reference
  2. Extensions
  3. Modules
  4. svyUtils

Full API Reference

PreviousExcel UtilsNextCrypto Utils

Last updated 1 year ago

Was this helpful?

Classes

⇐

⇐

Members

: Number

The number of copies

: Boolean

Whether it is in draft mode

: Number

The number of pages high to fit the sheet in

: Number

The number of pages high to fit the sheet in

: Boolean

Whether to print in landscape

: Object

Whether it is black and white

The paper size

Functions

Creates a PrintSetup object that can be used in ExcelSheet.setPrintSetup() or to set the default print setup used when workbooks are created from FoundSet or DataSet

Returns an empty ExcelWorkbook

Creates an ExcelWorkbook from the given dataset

If a template is provided, the dataset will be inserted in the given sheet

Creates an ExcelWorkbook from the given foundset

If a templateOrFileType is provided, the foundset will be inserted in the given sheet

Creates a cell reference (e.g. "A4:C92") from the given range

Converts a cell reference (e.g. "B4:AK234" or "C6") to an object holding first and last row and column

Returns an ExcelWorkbook from the given file or media URL

If true, all required libraries are present and the scope can be used

Sets the default print setup used when workbooks are created from FoundSet or DataSet

    • inner

    • instance

DataSetExcelWorkbook~dataFilled : Boolean

Clones the given ExcelCellStyle

Param
Type

cellStyle

Clones the given font and returns a new ExcelFont

Param
Type

font

Creates an ExcelSheet from an existing sheet in the Workbook

Param
Type
Description

indexToClone

Number

one based

dataSetExcelWorkbook.close()

Closes this workbook

Creates an empty ExcelCellStyle

Creates and returns an ExcelCellStyle used for a specific column

Param
Type

columnIndex

Number

Creates a font

Creates and returns an ExcelCellStyle used for the header row

Creates and returns an ExcelCellStyle used for a data row

Creates a sheet with the given name

This method makes sure that no illegal names are provided and might change the name if needed

Param
Type

sheetName

String

dataSetExcelWorkbook.fillData()

Fills the sheet with the data of the foundset

This is automatically done when writeToFile() or getBytes() is called

dataSetExcelWorkbook.getBytes() ⇒ [ 'Array' ].<byte>

Returns the data of this workbook as a byte[]

Returns: [ 'Array' ].<byte> - bytes

dataSetExcelWorkbook.getDataSet() ⇒ JSDataSet

Returns the dataset used to create this workbook

dataSetExcelWorkbook.getNumberOfSheets() ⇒ Number

Returns the number of spreadsheets in the workbook

Returns the sheet with the given name (case insensitive match)

Param
Type

sheetName

String

Returns the ExcelSheet object at the given index

Param
Type

index

Number

dataSetExcelWorkbook.getSheetNameAt(index) ⇒ String

Returns the name of the sheet at the given index

Returns: String - sheetName

Param
Type

index

Number

dataSetExcelWorkbook.getSheetNames() ⇒ [ 'Array' ].<String>

Returns all sheet names

dataSetExcelWorkbook.removeSheetAt(index)

Removes the sheet at the given index

Param
Type

index

Number

dataSetExcelWorkbook.setFormatForColumn(columnIndex, format)

Sets a date or number format used for the given column

Param
Type

columnIndex

Number

format

String

dataSetExcelWorkbook.setSheetNameAt(index, name)

Sets the sheet name

Param
Type

index

Number

name

String

dataSetExcelWorkbook.writeToFile(targetFile) ⇒ Boolean

Writes this workbook to the given file

Returns: Boolean - success

Param
Type

targetFile

String | plugins.file.JSFile

dataSetExcelWorkbook.autoSizeColumns : Boolean

Whether or not all data columns should be auto sized

dataSetExcelWorkbook.columnFormats : [ 'Array' ].<String>

dataSetExcelWorkbook.dataset : JSDataSet

The dataset used to create this workbook

dataSetExcelWorkbook.defaultDateFormat : String

The default format used to format date values

This can be overriden for specific columns by calling setFormatForColumn()

dataSetExcelWorkbook.defaultNumberFormat : String

The default format used to format number values

This can be overriden for specific columns by calling setFormatForColumn()

dataSetExcelWorkbook.freezeFirstRow : Boolean

Whether the header row is frozen or not

The style used for the header of the data

The style used for a data cell

dataSetExcelWorkbook.setAutoFilter : Boolean

Whether or not the data columns should be auto filtered or not

The ExcelSheet used or created

dataSetExcelWorkbook.sheetName : String

The name of the sheet to be used

When a template is used, data will be inserted in the sheet with this name or the first best if not found

dataSetExcelWorkbook.startColumn : Number

The first column where data will be inserted (one based)

dataSetExcelWorkbook.startRow : Number

The first row where data will be inserted (one based)

dataSetExcelWorkbook.wb : Packages.org.apache.poi.ss.usermodel.Workbook

The internal workbook object

The ExcelWorkbook created

new DataSetExcelWorkbook(dataset, [columns], [headers], [templateOrFileType], [sheetNameToUse])

A DataSet based Excel workbook

Param
Type
Description

dataset

JSDataSet

the dataset

[columns]

[ 'Array' ].<Number>

the column numbers to be included in the sheet

[headers]

[ 'Array' ].<String>

the text to be used as column headers

[templateOrFileType]

String | plugins.file.JSFile | Number

either file or media URL pointing to an existing Excel to be used as template or one of the FILE_FORMAT constants when creating empty workbooks

[sheetNameToUse]

String

when a template is used, this is the name of the sheet to be filled

Example

var query = datasources.db.example_data.orders.createSelect();
query.result.add(query.columns.customerid);	
query.result.add(query.columns.shipname);
query.result.add(query.columns.shipaddress);
query.result.add(query.columns.shipcity);
query.result.add(query.columns.shipcountry);
query.result.add(query.columns.shippeddate);
query.result.add(query.columns.freight);	
var dataset = databaseManager.getDataSetByQuery(query, -1);

var wb = scopes.svyExcelUtils.createWorkbookFromDataSet(dataset, [2,3,4,5,6,7], ["Company", "Address", "City", "Country", "Order date", "Freight"]);

wb.setFormatForColumn(5, "yyyy-MM-dd");
wb.setFormatForColumn(6, "#,##0.00");
wb.sheetName = "Dataset export";
wb.autoSizeColumns = true;
wb.freezeFirstRow = true;
wb.setAutoFilter = true;

var headerStyle = wb.createHeaderStyle();
headerStyle.setFont("Calibri,1,12");
headerStyle.setFillForegroundColor(scopes.svyExcelUtils.INDEXED_COLOR.LIGHT_CORNFLOWER_BLUE);
headerStyle.setFillPattern(scopes.svyExcelUtils.FILL_PATTERN.SOLID_FOREGROUND);

wb.writeToFile("d:\\dataset.xls");

ExcelWorkbook

Suppresswarnings(deprecated): needs to be added to prevent warnings from deprecated WorkbookFactory.create(Object)

Clones the given ExcelCellStyle

Param
Type

cellStyle

Clones the given font and returns a new ExcelFont

Param
Type

font

Creates an ExcelSheet from an existing sheet in the Workbook

Param
Type
Description

indexToClone

Number

one based

excelWorkbook.close()

Closes this workbook

Creates an empty ExcelCellStyle

Creates a font

Creates a sheet with the given name

This method makes sure that no illegal names are provided and might change the name if needed

Param
Type

sheetName

String

excelWorkbook.getBytes() ⇒ [ 'Array' ].<byte>

Returns this workbook as a byte[] array

excelWorkbook.getNumberOfSheets() ⇒ Number

Returns the number of spreadsheets in the workbook

Returns the sheet with the given name (case insensitive match)

Param
Type

sheetName

String

Returns the ExcelSheet object at the given index

Param
Type

index

Number

excelWorkbook.getSheetNameAt(index) ⇒ String

Returns the name of the sheet at the given index

Returns: String - sheetName

Param
Type

index

Number

excelWorkbook.getSheetNames() ⇒ [ 'Array' ].<String>

Returns all sheet names

excelWorkbook.removeSheetAt(index)

Removes the sheet at the given index

Param
Type

index

Number


excelWorkbook.setSheetNameAt(index, name)

Sets the sheet name

Param
Type

index

Number

name

String


excelWorkbook.writeToFile(targetFile) ⇒ Boolean

Writes this workbook to the given targetFile

Returns: Boolean - success

Param
Type

targetFile

plugins.file.JSFile | String


excelWorkbook.wb : Packages.org.apache.poi.ss.usermodel.Workbook

The internal workbook object


new ExcelWorkbook([templateOrFileType])

Creates an empty Excel workbook or reads the one provided

Param
Type
Description

[templateOrFileType]

String | plugins.file.JSFile | Number | Array.<byte>

either a path, mediaUrl, JSFile or byte[] when reading an existing workbook or one of the FILE_FORMAT constants when creating empty workbooks

Example

// Create workbook and sheet
var workbook = new scopes.svyExcelUtils.Workbook(scopes.svyExcelUtils.FILE_FORMAT.XLSX);
var sheet = workbook.createSheet("Test");

// Create style for the header
var headerStyle = workbook.createCellStyle();
headerStyle
   .setFont("Arial,1,12")
   .setFillPattern(scopes.svyExcelUtils.FILL_PATTERN.SOLID_FOREGROUND)
   .setFillForegroundColor(scopes.svyExcelUtils.INDEXED_COLOR.LIGHT_ORANGE)
   .setAlignment(scopes.svyExcelUtils.ALIGNMENT.CENTER);

var rowNum = 1;

// Create header row and cells
var row = sheet.createRow(rowNum ++);
var cell = row.createCell(1);
cell.setCellValue("Test 1", headerStyle);

cell = row.createCell(2);
cell.setCellValue("Test 2", headerStyle);

// Create some data and write to the sheet
var data = [[10, 35], [15, 47], [9, 22], [10, 33]];
for (var i = 0; i < data.length; i++) {
   row = sheet.createRow(rowNum ++);
   row.createCell(1).setCellValue(data[i][0]);
   row.createCell(2).setCellValue(data[i][1]);
}

// Create a style for the sum
var sumStyle = workbook.createCellStyle();
// Clone the default font, so we won't be changing the default
var font = sumStyle.cloneFont();
font.underline = scopes.svyExcelUtils.FONT_UNDERLINE.DOUBLE_ACCOUNTING;
font.isBold = true;

// Create formula cells at the bottom
row = sheet.createRow(rowNum ++);
cell = row.createCell(1);
cell.setCellStyle(sumStyle);
cell.setCellFormula("SUM(" + scopes.svyExcelUtils.getCellReferenceFromRange(2, 1 + data.length, 1, 1) + ")");

cell = row.createCell(2);
cell.setCellStyle(sumStyle);
cell.setCellFormula("SUM(" + scopes.svyExcelUtils.getCellReferenceFromRange(2, 1 + data.length, 2, 2) + ")");

// Write to file
var success = workbook.writeToFile("d:\\test.xls");

    • inner

    • instance

FoundSetExcelWorkbook~dataFilled : Boolean

Clones the given ExcelCellStyle

Param
Type

cellStyle

Clones the given font and returns a new ExcelFont

Param
Type

font

Creates an ExcelSheet from an existing sheet in the Workbook

Param
Type
Description

indexToClone

Number

one based

foundSetExcelWorkbook.close()

Closes this workbook

Creates an empty ExcelCellStyle

Creates and returns an ExcelCellStyle used for a specific column

Param
Type

columnIndex

Number

Creates a font

Creates and returns an ExcelCellStyle used for the header row

Creates and returns an ExcelCellStyle used for a data row

Creates a sheet with the given name

This method makes sure that no illegal names are provided and might change the name if needed

Param
Type

sheetName

String

foundSetExcelWorkbook.fillData()

Fills the sheet with the data of the foundset

This is automatically done when writeToFile() or getBytes() is called

foundSetExcelWorkbook.getBytes() ⇒ [ 'Array' ].<byte>

Returns the data of this workbook as a byte[]

Returns: [ 'Array' ].<byte> - bytes

foundSetExcelWorkbook.getFoundSet() ⇒ JSFoundSet

Returns the foundset used to create this workbook

foundSetExcelWorkbook.getNumberOfSheets() ⇒ Number

Returns the number of spreadsheets in the workbook

Returns the sheet with the given name (case insensitive match)

Param
Type

sheetName

String

Returns the ExcelSheet object at the given index

Param
Type

index

Number

foundSetExcelWorkbook.getSheetNameAt(index) ⇒ String

Returns the name of the sheet at the given index

Returns: String - sheetName

Param
Type

index

Number

foundSetExcelWorkbook.getSheetNames() ⇒ [ 'Array' ].<String>

Returns all sheet names

foundSetExcelWorkbook.removeSheetAt(index)

Removes the sheet at the given index

Param
Type

index

Number

foundSetExcelWorkbook.setFormatForColumn(columnIndex, format)

Sets a date or number format used for the given column

Param
Type

columnIndex

Number

format

String

foundSetExcelWorkbook.setSheetNameAt(index, name)

Sets the sheet name

Param
Type

index

Number

name

String

foundSetExcelWorkbook.writeToFile(targetFile) ⇒ Boolean

Writes this workbook to the given file

Returns: Boolean - success

Param
Type

targetFile

String | plugins.file.JSFile

foundSetExcelWorkbook.autoSizeColumns : Boolean

Whether or not all data columns should be auto sized

foundSetExcelWorkbook.columnFormats : [ 'Array' ].<String>

foundSetExcelWorkbook.defaultDateFormat : String

The default format used to format date values

This can be overriden for specific columns by calling setFormatForColumn()

foundSetExcelWorkbook.defaultNumberFormat : String

The default format used to format number values

This can be overriden for specific columns by calling setFormatForColumn()

foundSetExcelWorkbook.foundset : JSFoundSet

The foundset used to create this workbook

foundSetExcelWorkbook.freezeFirstRow : Boolean

Whether the header row is frozen or not

The style used for the header of the data

The style used for a data cell

foundSetExcelWorkbook.setAutoFilter : Boolean

Whether or not the data columns should be auto filtered or not

The ExcelSheet used or created

foundSetExcelWorkbook.sheetName : String

The name of the sheet to be used

When a template is used, data will be inserted in the sheet with this name or the first best if not found

foundSetExcelWorkbook.startColumn : Number

The first column where data will be inserted (one based)

foundSetExcelWorkbook.startRow : Number

The first row where data will be inserted (one based)

foundSetExcelWorkbook.wb : Packages.org.apache.poi.ss.usermodel.Workbook

The internal workbook object

The ExcelWorkbook created

new FoundSetExcelWorkbook(foundset, dataproviders, [headers], [templateOrFileType], [sheetNameToUse])

A FoundSet based Excel workbook

Param
Type
Description

foundset

JSFoundSet

the foundset

dataproviders

[ 'Array' ].<String>

the dataproviders to be used for the excel sheet

[headers]

[ 'Array' ].<String>

the text to be used as column headers

[templateOrFileType]

String | plugins.file.JSFile | Number

either file or media URL pointing to an existing Excel to be used as template or one of the FILE_FORMAT constants when creating empty workbooks

[sheetNameToUse]

String

when a template is used, this is the name of the sheet to be filled


ALIGNMENT : enum

Horizontal alignments used in ExcelCellStyle

Properties

Name
Type
Default

CENTER

Packages.org.apache.poi.ss.usermodel.HorizontalAlignment

Packages.org.apache.poi.ss.usermodel.HorizontalAlignment.CENTER

CENTER_SELECTION

Packages.org.apache.poi.ss.usermodel.HorizontalAlignment

Packages.org.apache.poi.ss.usermodel.HorizontalAlignment.CENTER_SELECTION

FILL

Packages.org.apache.poi.ss.usermodel.HorizontalAlignment

Packages.org.apache.poi.ss.usermodel.HorizontalAlignment.FILL

GENERAL

Packages.org.apache.poi.ss.usermodel.HorizontalAlignment

Packages.org.apache.poi.ss.usermodel.HorizontalAlignment.GENERAL

JUSTIFY

Packages.org.apache.poi.ss.usermodel.HorizontalAlignment

Packages.org.apache.poi.ss.usermodel.HorizontalAlignment.JUSTIFY

LEFT

Packages.org.apache.poi.ss.usermodel.HorizontalAlignment

Packages.org.apache.poi.ss.usermodel.HorizontalAlignment.LEFT

RIGHT

Packages.org.apache.poi.ss.usermodel.HorizontalAlignment

Packages.org.apache.poi.ss.usermodel.HorizontalAlignment.RIGHT

DISTRIBUTED

Packages.org.apache.poi.ss.usermodel.HorizontalAlignment

Packages.org.apache.poi.ss.usermodel.HorizontalAlignment.DISTRIBUTED


BORDER : enum

Borders used in ExcelCellStyle

Properties

Name
Type
Default

DASH_DOT

Packages.org.apache.poi.ss.usermodel.BorderStyle

Packages.org.apache.poi.ss.usermodel.BorderStyle.DASH_DOT

DASH_DOT_DOT

Packages.org.apache.poi.ss.usermodel.BorderStyle

Packages.org.apache.poi.ss.usermodel.BorderStyle.DASH_DOT_DOT

DASHED

Packages.org.apache.poi.ss.usermodel.BorderStyle

Packages.org.apache.poi.ss.usermodel.BorderStyle.DASHED

DOTTED

Packages.org.apache.poi.ss.usermodel.BorderStyle

Packages.org.apache.poi.ss.usermodel.BorderStyle.DOTTED

DOUBLE

Packages.org.apache.poi.ss.usermodel.BorderStyle

Packages.org.apache.poi.ss.usermodel.BorderStyle.DOUBLE

HAIR

Packages.org.apache.poi.ss.usermodel.BorderStyle

Packages.org.apache.poi.ss.usermodel.BorderStyle.HAIR

MEDIUM

Packages.org.apache.poi.ss.usermodel.BorderStyle

Packages.org.apache.poi.ss.usermodel.BorderStyle.MEDIUM

MEDIUM_DASH_DOT

Packages.org.apache.poi.ss.usermodel.BorderStyle

Packages.org.apache.poi.ss.usermodel.BorderStyle.MEDIUM_DASH_DOT

MEDIUM_DASH_DOT_DOT

Packages.org.apache.poi.ss.usermodel.BorderStyle

Packages.org.apache.poi.ss.usermodel.BorderStyle.MEDIUM_DASH_DOT_DOT

MEDIUM_DASHED

Packages.org.apache.poi.ss.usermodel.BorderStyle

Packages.org.apache.poi.ss.usermodel.BorderStyle.MEDIUM_DASHED

NONE

Packages.org.apache.poi.ss.usermodel.BorderStyle

Packages.org.apache.poi.ss.usermodel.BorderStyle.NONE

SLANTED_DASH_DOT

Packages.org.apache.poi.ss.usermodel.BorderStyle

Packages.org.apache.poi.ss.usermodel.BorderStyle.SLANTED_DASH_DOT

THICK

Packages.org.apache.poi.ss.usermodel.BorderStyle

Packages.org.apache.poi.ss.usermodel.BorderStyle.THICK

THIN

Packages.org.apache.poi.ss.usermodel.BorderStyle

Packages.org.apache.poi.ss.usermodel.BorderStyle.THIN


CELL_TYPE

Possible cell types

Properties

Name
Default

BLANK

Packages.org.apache.poi.ss.usermodel.CellType.BLANK

BOOLEAN

Packages.org.apache.poi.ss.usermodel.CellType.BOOLEAN

ERROR

Packages.org.apache.poi.ss.usermodel.CellType.ERROR

FORMULA

Packages.org.apache.poi.ss.usermodel.CellType.FORMULA

NUMERIC

Packages.org.apache.poi.ss.usermodel.CellType.NUMERIC

STRING

Packages.org.apache.poi.ss.usermodel.CellType.STRING


FILE_FORMAT

Possible file formats used instead of templates when creating empty workbooks

Properties

Name
Default
Description

XLS

1

XLS format

XLSX

2

SXLSX

4

Streaming version of the XLSX format to avoid out of memory errors


FILL_PATTERN : enum

Fill patterns used in ExcelCellStyle

Properties

Name
Type
Default

NO_FILL

Packages.org.apache.poi.ss.usermodel.FillPatternType

Packages.org.apache.poi.ss.usermodel.FillPatternType.NO_FILL

SOLID_FOREGROUND

Packages.org.apache.poi.ss.usermodel.FillPatternType

Packages.org.apache.poi.ss.usermodel.FillPatternType.SOLID_FOREGROUND

FINE_DOTS

Packages.org.apache.poi.ss.usermodel.FillPatternType

Packages.org.apache.poi.ss.usermodel.FillPatternType.FINE_DOTS

ALT_BARS

Packages.org.apache.poi.ss.usermodel.FillPatternType

Packages.org.apache.poi.ss.usermodel.FillPatternType.ALT_BARS

SPARSE_DOTS

Packages.org.apache.poi.ss.usermodel.FillPatternType

Packages.org.apache.poi.ss.usermodel.FillPatternType.SPARSE_DOTS

THICK_HORZ_BANDS

Packages.org.apache.poi.ss.usermodel.FillPatternType

Packages.org.apache.poi.ss.usermodel.FillPatternType.THICK_HORZ_BANDS

THICK_VERT_BANDS

Packages.org.apache.poi.ss.usermodel.FillPatternType

Packages.org.apache.poi.ss.usermodel.FillPatternType.THICK_VERT_BANDS

THICK_BACKWARD_DIAG

Packages.org.apache.poi.ss.usermodel.FillPatternType

Packages.org.apache.poi.ss.usermodel.FillPatternType.THICK_BACKWARD_DIAG

THICK_FORWARD_DIAG

Packages.org.apache.poi.ss.usermodel.FillPatternType

Packages.org.apache.poi.ss.usermodel.FillPatternType.THICK_FORWARD_DIAG

BIG_SPOTS

Packages.org.apache.poi.ss.usermodel.FillPatternType

Packages.org.apache.poi.ss.usermodel.FillPatternType.BIG_SPOTS

BRICKS

Packages.org.apache.poi.ss.usermodel.FillPatternType

Packages.org.apache.poi.ss.usermodel.FillPatternType.BRICKS

THIN_HORZ_BANDS

Packages.org.apache.poi.ss.usermodel.FillPatternType

Packages.org.apache.poi.ss.usermodel.FillPatternType.THICK_HORZ_BANDS

THIN_VERT_BANDS

Packages.org.apache.poi.ss.usermodel.FillPatternType

Packages.org.apache.poi.ss.usermodel.FillPatternType.THICK_VERT_BANDS

THIN_BACKWARD_DIAG

Packages.org.apache.poi.ss.usermodel.FillPatternType

Packages.org.apache.poi.ss.usermodel.FillPatternType.THICK_FORWARD_DIAG

THIN_FORWARD_DIAG

Packages.org.apache.poi.ss.usermodel.FillPatternType

Packages.org.apache.poi.ss.usermodel.FillPatternType.THICK_FORWARD_DIAG

SQUARES

Packages.org.apache.poi.ss.usermodel.FillPatternType

Packages.org.apache.poi.ss.usermodel.FillPatternType.SQUARES

DIAMONDS

Packages.org.apache.poi.ss.usermodel.FillPatternType

Packages.org.apache.poi.ss.usermodel.FillPatternType.DIAMONDS


FONT_UNDERLINE

Underline patterns used in ExcelFont

Properties

Name
Default

DOUBLE

Packages.org.apache.poi.hssf.usermodel.HSSFFont.U_DOUBLE

DOUBLE_ACCOUNTING

Packages.org.apache.poi.hssf.usermodel.HSSFFont.U_DOUBLE_ACCOUNTING

NONE

Packages.org.apache.poi.hssf.usermodel.HSSFFont.U_NONE

SINGLE

Packages.org.apache.poi.hssf.usermodel.HSSFFont.U_SINGLE

SINGLE_ACCOUNTING

Packages.org.apache.poi.hssf.usermodel.HSSFFont.U_SINGLE_ACCOUNTING


INDEXED_COLOR : enum

Colors from the Excel color palette

Properties

Name
Type
Default

AQUA

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.AQUA

BLACK

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.BLACK

BLUE

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.BLUE

BLUE_GREY

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.BLUE_GREY

BRIGHT_GREEN

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.BRIGHT_GREEN

BROWN

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.BROWN

CORAL

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.CORAL

CORNFLOWER_BLUE

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.CORNFLOWER_BLUE

DARK_BLUE

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.DARK_BLUE

DARK_GREEN

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.DARK_GREEN

DARK_RED

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.DARK_RED

DARK_TEAL

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.DARK_TEAL

DARK_YELLOW

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.DARK_YELLOW

GOLD

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.GOLD

GREEN

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.GREEN

GREY_25_PERCENT

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.GREY_25_PERCENT

GREY_40_PERCENT

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.GREY_40_PERCENT

GREY_50_PERCENT

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.GREY_50_PERCENT

GREY_80_PERCENT

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.GREY_80_PERCENT

INDIGO

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.INDIGO

LAVENDER

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.LAVENDER

LEMON_CHIFFON

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.LEMON_CHIFFON

LIGHT_BLUE

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.LIGHT_BLUE

LIGHT_CORNFLOWER_BLUE

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.LIGHT_CORNFLOWER_BLUE

LIGHT_GREEN

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.LIGHT_GREEN

LIGHT_ORANGE

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.LIGHT_ORANGE

LIGHT_TURQUOISE

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.LIGHT_TURQUOISE

LIGHT_YELLOW

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.LIGHT_YELLOW

LIME

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.LIME

MAROON

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.MAROON

OLIVE_GREEN

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.OLIVE_GREEN

ORANGE

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.ORANGE

ORCHID

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.ORCHID

PALE_BLUE

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.PALE_BLUE

PINK

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.PINK

PLUM

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.PLUM

RED

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.RED

ROSE

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.ROSE

ROYAL_BLUE

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.ROYAL_BLUE

SEA_GREEN

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.SEA_GREEN

SKY_BLUE

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.SKY_BLUE

TAN

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.TAN

TEAL

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.TEAL

TURQUOISE

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.TURQUOISE

VIOLET

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.VIOLET

WHITE

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.WHITE

YELLOW

Packages.org.apache.poi.ss.usermodel.IndexedColors

Packages.org.apache.poi.ss.usermodel.IndexedColors.YELLOW


PAPER_SIZE

Possible paper sizes for a PrintSetup

Properties

Name
Default

A3_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.A3_PAPERSIZE

A4_EXTRA_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.A4_EXTRA_PAPERSIZE

A4_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.A4_PAPERSIZE

A4_PLUS_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.A4_PLUS_PAPERSIZE

A4_ROTATED_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.A4_ROTATED_PAPERSIZE

A4_SMALL_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.A4_SMALL_PAPERSIZE

A4_TRANSVERSE_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.A4_TRANSVERSE_PAPERSIZE

A5_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.A5_PAPERSIZE

B4_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.B4_PAPERSIZE

B5_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.B5_PAPERSIZE

ELEVEN_BY_SEVENTEEN_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.ELEVEN_BY_SEVENTEEN_PAPERSIZE

ENVELOPE_10_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.ENVELOPE_10_PAPERSIZE

ENVELOPE_9_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.ENVELOPE_9_PAPERSIZE

ENVELOPE_C3_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.ENVELOPE_C3_PAPERSIZE

ENVELOPE_C4_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.ENVELOPE_C4_PAPERSIZE

ENVELOPE_C5_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.ENVELOPE_C5_PAPERSIZE

ENVELOPE_C6_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.ENVELOPE_C6_PAPERSIZE

ENVELOPE_CS_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.ENVELOPE_CS_PAPERSIZE

ENVELOPE_DL_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.ENVELOPE_DL_PAPERSIZE

ENVELOPE_MONARCH_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.ENVELOPE_MONARCH_PAPERSIZE

EXECUTIVE_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.EXECUTIVE_PAPERSIZE

FOLIO8_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.FOLIO8_PAPERSIZE

LEDGER_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.LEDGER_PAPERSIZE

LEGAL_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.LEGAL_PAPERSIZE

LETTER_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.LETTER_PAPERSIZE

LETTER_ROTATED_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.LETTER_ROTATED_PAPERSIZE

LETTER_SMALL_PAGESIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.LETTER_SMALL_PAGESIZE

NOTE8_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.NOTE8_PAPERSIZE

PRINTER_DEFAULT_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.PRINTER_DEFAULT_PAPERSIZE

QUARTO_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.QUARTO_PAPERSIZE

STATEMENT_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.STATEMENT_PAPERSIZE

TABLOID_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.TABLOID_PAPERSIZE

TEN_BY_FOURTEEN_PAPERSIZE

Packages.org.apache.poi.ss.usermodel.PrintSetup.TEN_BY_FOURTEEN_PAPERSIZE


SHEET_PANE : enum

Panes of a sheet used in split panes

Properties

Name
Type
Default

LOWER_RIGHT

byte

Packages.org.apache.poi.ss.usermodel.Sheet.PANE_LOWER_RIGHT

LOWER_LEFT

byte

Packages.org.apache.poi.ss.usermodel.Sheet.PANE_LOWER_LEFT

UPPER_LEFT

byte

Packages.org.apache.poi.ss.usermodel.Sheet.PANE_UPPER_LEFT

UPPER_RIGHT

byte

Packages.org.apache.poi.ss.usermodel.Sheet.PANE_UPPER_RIGHT


VERTICAL_ALIGNMENT : enum

Vertical alignments used in ExcelCellStyle

Properties

Name
Type
Default

BOTTOM

Packages.org.apache.poi.ss.usermodel.VerticalAlignment

Packages.org.apache.poi.ss.usermodel.VerticalAlignment.BOTTOM

CENTER

Packages.org.apache.poi.ss.usermodel.VerticalAlignment

Packages.org.apache.poi.ss.usermodel.VerticalAlignment.CENTER

JUSTIFY

Packages.org.apache.poi.ss.usermodel.VerticalAlignment

Packages.org.apache.poi.ss.usermodel.VerticalAlignment.JUSTIFY

TOP

Packages.org.apache.poi.ss.usermodel.VerticalAlignment

Packages.org.apache.poi.ss.usermodel.VerticalAlignment.TOP

DISTRIBUTED

Packages.org.apache.poi.ss.usermodel.VerticalAlignment

Packages.org.apache.poi.ss.usermodel.VerticalAlignment.DISTRIBUTED

createPrintSetup() ⇒ PrintSetup

Creates a PrintSetup object that can be used in ExcelSheet.setPrintSetup() or to set the default print setup used when workbooks are created from FoundSet or DataSet

Returns an empty ExcelWorkbook

Param
Type
Description

[templateOrFileType]

String | plugins.file.JSFile | Number | Array.<byte>

either an existing Excel file as template or one of the FILE_FORMAT constants when creating empty workbooks

Example

// Create workbook and sheet
var workbook = scopes.svyExcelUtils.createWorkbook(scopes.svyExcelUtils.FILE_FORMAT.XLSX);
var sheet = workbook.createSheet("Test");

// Create style for the header
var headerStyle = workbook.createCellStyle();
headerStyle
   .setFont("Arial,1,12")
   .setFillPattern(scopes.svyExcelUtils.FILL_PATTERN.SOLID_FOREGROUND)
   .setFillForegroundColor(scopes.svyExcelUtils.INDEXED_COLOR.LIGHT_ORANGE)
   .setAlignment(scopes.svyExcelUtils.ALIGNMENT.CENTER);

var rowNum = 1;

// Create header row and cells
var row = sheet.createRow(rowNum ++);
var cell = row.createCell(1);
cell.setCellValue("Test 1", headerStyle);

cell = row.createCell(2);
cell.setCellValue("Test 2", headerStyle);

// Create some data and write to the sheet
var data = [[10, 35], [15, 47], [9, 22], [10, 33]];
for (var i = 0; i < data.length; i++) {
   row = sheet.createRow(rowNum ++);
   row.createCell(1).setCellValue(data[i][0]);
   row.createCell(2).setCellValue(data[i][1]);
}

// Create a style for the sum
var sumStyle = workbook.createCellStyle();
// Clone the default font, so we won't be changing the default
var font = sumStyle.cloneFont();
font.underline = scopes.svyExcelUtils.FONT_UNDERLINE.DOUBLE_ACCOUNTING;
font.isBold = true;

// Create formula cells at the bottom
row = sheet.createRow(rowNum ++);
cell = row.createCell(1);
cell.setCellStyle(sumStyle);
cell.setCellFormula("SUM(" + scopes.svyExcelUtils.getCellReferenceFromRange(2, 1 + data.length, 1, 1) + ")");

cell = row.createCell(2);
cell.setCellStyle(sumStyle);
cell.setCellFormula("SUM(" + scopes.svyExcelUtils.getCellReferenceFromRange(2, 1 + data.length, 2, 2) + ")");

// Write to file
var success = workbook.writeToFile("d:\\test.xls");

Creates an ExcelWorkbook from the given dataset

If a template is provided, the dataset will be inserted in the given sheet

Param
Type
Description

dataset

JSDataSet

the dataset

[columns]

[ 'Array' ].<Number>

the column numbers to be included in the sheet

[headers]

[ 'Array' ].<String>

the text to be used as column headers

[templateOrFileType]

String | plugins.file.JSFile | Number

either file or media URL pointing to an existing Excel to be used as template or one of the FILE_FORMAT constants when creating empty workbooks

[sheetNameToUse]

String

when a template is used, this is the name of the sheet to be filled

Creates an ExcelWorkbook from the given foundset

If a templateOrFileType is provided, the foundset will be inserted in the given sheet

Param
Type
Description

foundset

JSFoundSet

the foundset

dataproviders

[ 'Array' ].<String>

the dataproviders to be used for the excel sheet

[headers]

[ 'Array' ].<String>

the text to be used as column headers

[templateOrFileType]

String | plugins.file.JSFile | Number

either file or media URL pointing to an existing Excel to be used as templateOrFileType or one of the FILE_FORMAT constants when creating empty workbooks

[sheetNameToUse]

String

when a template is used, this is the name of the sheet to be filled

getCellReferenceFromRange(firstRow, lastRow, firstColumn, lastColumn) ⇒ String

Creates a cell reference (e.g. "A4:C92") from the given range

Returns: String - cellReference

Param
Type

firstRow

Number

lastRow

Number

firstColumn

Number

lastColumn

Number

getRangeFromCellReference(cellReference) ⇒ Object

Converts a cell reference (e.g. "B4:AK234" or "C6") to an object holding first and last row and column

Param
Type

cellReference

String

Returns an ExcelWorkbook from the given file or media URL

Param
Type
Description

original

String | plugins.file.JSFile | Array.<byte>

path to the file, file or media URL

isLoaded() ⇒ Boolean

If true, all required libraries are present and the scope can be used

set()

setDefaultPrintSetup(setup)

Sets the default print setup used when workbooks are created from FoundSet or DataSet

Param
Type

setup

PrintSetup

copies : Number

The number of copies

draft : Boolean

Whether it is in draft mode

fitHeight : Number

The number of pages high to fit the sheet in

fitWidth : Number

The number of pages high to fit the sheet in

landscape : Boolean

Whether to print in landscape

mergedRegionType : Object

noColor : Boolean

Whether it is black and white

paperSize : Number

The paper size


: Boolean

: Number

⇒ PrintSetup

⇒

⇒

⇒

⇒ String

⇒ Object

⇒

⇒ Boolean

DataSetExcelWorkbook ⇐

Extends:

⇐

: Boolean

⇒

⇒

⇒

⇒

⇒

⇒

⇒

⇒

⇒

⇒ [ 'Array' ].<byte>

⇒ JSDataSet

⇒ Number

⇒

⇒

⇒ String

⇒ [ 'Array' ].<String>

⇒ Boolean

: Boolean

: [ 'Array' ].<String>

:

: JSDataSet

: String

: String

: Boolean

:

:

: Boolean

:

: String

: Number

: Number

: Packages.org.apache.poi.ss.usermodel.Workbook

:

dataSetExcelWorkbook.cloneCellStyle(cellStyle) ⇒

dataSetExcelWorkbook.cloneFont(font) ⇒

dataSetExcelWorkbook.cloneSheet(indexToClone) ⇒

Returns: - clone

dataSetExcelWorkbook.createCellStyle() ⇒

dataSetExcelWorkbook.createColumnStyle(columnIndex) ⇒

dataSetExcelWorkbook.createFont() ⇒

dataSetExcelWorkbook.createHeaderStyle() ⇒

dataSetExcelWorkbook.createRowStyle() ⇒

dataSetExcelWorkbook.createSheet(sheetName) ⇒

Overrides:

dataSetExcelWorkbook.getSheet(sheetName) ⇒

dataSetExcelWorkbook.getSheetAt(index) ⇒

dataSetExcelWorkbook.columnStyles :

Overrides:

dataSetExcelWorkbook.headerStyle :

Overrides:

dataSetExcelWorkbook.rowStyle :

Overrides:

Overrides:

dataSetExcelWorkbook.sheet :

dataSetExcelWorkbook.workbook :

⇒

⇒

⇒

⇒

⇒

⇒

⇒ [ 'Array' ].<byte>

⇒ Number

⇒

⇒

⇒ String

⇒ [ 'Array' ].<String>

⇒ Boolean

: Packages.org.apache.poi.ss.usermodel.Workbook

excelWorkbook.cloneCellStyle(cellStyle) ⇒

excelWorkbook.cloneFont(font) ⇒

excelWorkbook.cloneSheet(indexToClone) ⇒

Returns: - clone

excelWorkbook.createCellStyle() ⇒

excelWorkbook.createFont() ⇒

excelWorkbook.createSheet(sheetName) ⇒

excelWorkbook.getSheet(sheetName) ⇒

excelWorkbook.getSheetAt(index) ⇒

FoundSetExcelWorkbook ⇐

Extends:

⇐

: Boolean

⇒

⇒

⇒

⇒

⇒

⇒

⇒

⇒

⇒

⇒ [ 'Array' ].<byte>

⇒ JSFoundSet

⇒ Number

⇒

⇒

⇒ String

⇒ [ 'Array' ].<String>

⇒ Boolean

: Boolean

: [ 'Array' ].<String>

:

: String

: String

: JSFoundSet

: Boolean

:

:

: Boolean

:

: String

: Number

: Number

: Packages.org.apache.poi.ss.usermodel.Workbook

:

foundSetExcelWorkbook.cloneCellStyle(cellStyle) ⇒

foundSetExcelWorkbook.cloneFont(font) ⇒

foundSetExcelWorkbook.cloneSheet(indexToClone) ⇒

Returns: - clone

foundSetExcelWorkbook.createCellStyle() ⇒

foundSetExcelWorkbook.createColumnStyle(columnIndex) ⇒

foundSetExcelWorkbook.createFont() ⇒

foundSetExcelWorkbook.createHeaderStyle() ⇒

foundSetExcelWorkbook.createRowStyle() ⇒

foundSetExcelWorkbook.createSheet(sheetName) ⇒

Overrides:

foundSetExcelWorkbook.getSheet(sheetName) ⇒

foundSetExcelWorkbook.getSheetAt(index) ⇒

foundSetExcelWorkbook.columnStyles :

Overrides:

foundSetExcelWorkbook.headerStyle :

Overrides:

foundSetExcelWorkbook.rowStyle :

Overrides:

Overrides:

foundSetExcelWorkbook.sheet :

foundSetExcelWorkbook.workbook :

XLSX format, requires additional libraries @see

createWorkbook([templateOrFileType]) ⇒

createWorkbookFromDataSet(dataset, [columns], [headers], [templateOrFileType], [sheetNameToUse]) ⇒

createWorkbookFromFoundSet(foundset, dataproviders, [headers], [templateOrFileType], [sheetNameToUse]) ⇒

getWorkbook(original) ⇒

DataSetExcelWorkbook
ServoyExcelWorkbook
ExcelWorkbook
FoundSetExcelWorkbook
ServoyExcelWorkbook
copies
draft
fitHeight
fitWidth
landscape
mergedRegionType
noColor
paperSize
createPrintSetup()
createWorkbook([templateOrFileType])
ExcelWorkbook
createWorkbookFromDataSet(dataset, [columns], [headers], [templateOrFileType], [sheetNameToUse])
DataSetExcelWorkbook
createWorkbookFromFoundSet(foundset, dataproviders, [headers], [templateOrFileType], [sheetNameToUse])
FoundSetExcelWorkbook
getCellReferenceFromRange(firstRow, lastRow, firstColumn, lastColumn)
getRangeFromCellReference(cellReference)
getWorkbook(original)
ExcelWorkbook
isLoaded()
set()
setDefaultPrintSetup(setup)
ServoyExcelWorkbook
ServoyExcelWorkbook
DataSetExcelWorkbook
ServoyExcelWorkbook
~dataFilled
.cloneCellStyle(cellStyle)
ExcelCellStyle
.cloneFont(font)
ExcelFont
.cloneSheet(indexToClone)
ExcelSheet
.close()
.createCellStyle()
ExcelCellStyle
.createColumnStyle(columnIndex)
ExcelCellStyle
.createFont()
ExcelFont
.createHeaderStyle()
ExcelCellStyle
.createRowStyle()
ExcelCellStyle
.createSheet(sheetName)
ExcelSheet
.fillData()
.getBytes()
.getDataSet()
.getNumberOfSheets()
.getSheet(sheetName)
ExcelSheet
.getSheetAt(index)
ExcelSheet
.getSheetNameAt(index)
.getSheetNames()
.removeSheetAt(index)
.setFormatForColumn(columnIndex, format)
.setSheetNameAt(index, name)
.writeToFile(targetFile)
.autoSizeColumns
.columnFormats
.columnStyles
[ 'Array' ].<ExcelCellStyle>
.dataset
.defaultDateFormat
.defaultNumberFormat
.freezeFirstRow
.headerStyle
ExcelCellStyle
.rowStyle
ExcelCellStyle
.setAutoFilter
.sheet
ExcelSheet
.sheetName
.startColumn
.startRow
.wb
.workbook
ExcelWorkbook
new DataSetExcelWorkbook(dataset, [columns], [headers], [templateOrFileType], [sheetNameToUse])
ExcelCellStyle
ExcelFont
ExcelSheet
ExcelSheet
ExcelCellStyle
ExcelCellStyle
ExcelFont
ExcelCellStyle
ExcelCellStyle
ExcelSheet
fillData
ExcelSheet
ExcelSheet
[ 'Array' ].<ExcelCellStyle>
freezeFirstRow
ExcelCellStyle
headerStyle
ExcelCellStyle
rowStyle
setAutoFilter
ExcelSheet
ExcelWorkbook
ExcelWorkbook
.cloneCellStyle(cellStyle)
ExcelCellStyle
.cloneFont(font)
ExcelFont
.cloneSheet(indexToClone)
ExcelSheet
.close()
.createCellStyle()
ExcelCellStyle
.createFont()
ExcelFont
.createSheet(sheetName)
ExcelSheet
.getBytes()
.getNumberOfSheets()
.getSheet(sheetName)
ExcelSheet
.getSheetAt(index)
ExcelSheet
.getSheetNameAt(index)
.getSheetNames()
.removeSheetAt(index)
.setSheetNameAt(index, name)
.writeToFile(targetFile)
.wb
new ExcelWorkbook([templateOrFileType])
ExcelCellStyle
ExcelFont
ExcelSheet
ExcelSheet
ExcelCellStyle
ExcelFont
ExcelSheet
ExcelSheet
ExcelSheet
ServoyExcelWorkbook
ServoyExcelWorkbook
FoundSetExcelWorkbook
ServoyExcelWorkbook
~dataFilled
.cloneCellStyle(cellStyle)
ExcelCellStyle
.cloneFont(font)
ExcelFont
.cloneSheet(indexToClone)
ExcelSheet
.close()
.createCellStyle()
ExcelCellStyle
.createColumnStyle(columnIndex)
ExcelCellStyle
.createFont()
ExcelFont
.createHeaderStyle()
ExcelCellStyle
.createRowStyle()
ExcelCellStyle
.createSheet(sheetName)
ExcelSheet
.fillData()
.getBytes()
.getFoundSet()
.getNumberOfSheets()
.getSheet(sheetName)
ExcelSheet
.getSheetAt(index)
ExcelSheet
.getSheetNameAt(index)
.getSheetNames()
.removeSheetAt(index)
.setFormatForColumn(columnIndex, format)
.setSheetNameAt(index, name)
.writeToFile(targetFile)
.autoSizeColumns
.columnFormats
.columnStyles
[ 'Array' ].<ExcelCellStyle>
.defaultDateFormat
.defaultNumberFormat
.foundset
.freezeFirstRow
.headerStyle
ExcelCellStyle
.rowStyle
ExcelCellStyle
.setAutoFilter
.sheet
ExcelSheet
.sheetName
.startColumn
.startRow
.wb
.workbook
ExcelWorkbook
new FoundSetExcelWorkbook(foundset, dataproviders, [headers], [templateOrFileType], [sheetNameToUse]
ExcelCellStyle
ExcelFont
ExcelSheet
ExcelSheet
ExcelCellStyle
ExcelCellStyle
ExcelFont
ExcelCellStyle
ExcelCellStyle
ExcelSheet
fillData
ExcelSheet
ExcelSheet
[ 'Array' ].<ExcelCellStyle>
freezeFirstRow
ExcelCellStyle
headerStyle
ExcelCellStyle
rowStyle
setAutoFilter
ExcelSheet
ExcelWorkbook
ExcelWorkbook
DataSetExcelWorkbook
FoundSetExcelWorkbook
ExcelWorkbook
Excel Utils
ExcelCellStyle
ExcelFont
ExcelCellStyle
ExcelFont
ExcelCellStyle
ExcelFont