<?xml version="1.0" encoding="utf-8"?>
<Application>
	<AppTitle>neoExcel Sample App</AppTitle>
	<AppShortName>neoExcel</AppShortName>
	<Author>SinLios</Author>
	<Version>1.0</Version>
	<Description>neoExcel Sample App</Description>
	<DesignDeviceName>HTC Evo 3D</DesignDeviceName>
	<VariablesScanned>False</VariablesScanned>
	<PageWidth>960</PageWidth>
	<PageHeight>540</PageHeight>
	<AutoSizeWidth>False</AutoSizeWidth>
	<AutoSizeHeight>False</AutoSizeHeight>
	<HideScrollbars>False</HideScrollbars>
	<ResponsiveSize>False</ResponsiveSize>
	<PublishPlatform>WebApp</PublishPlatform>
	<EmptyBuildFolder>False</EmptyBuildFolder>
	<AppIcon>C:\Users\User\Documents\VisualNeoWeb\Libraries\img\default-icon.png</AppIcon>
	<LanguageCode>en</LanguageCode>
	<DisplayMode>standalone</DisplayMode>
	<ServiceWorker>Offline page</ServiceWorker>
	<ThemeColor>#000000</ThemeColor>
	<PwaScope>/</PwaScope>
	<MobileOSTypes>[AndroidOS,iOS,WindowsPhoneOS]</MobileOSTypes>
	<WindowState>normal</WindowState>
	<TitleBar>True</TitleBar>
	<Sizeable>True</Sizeable>
	<MaximizeBtn>False</MaximizeBtn>
	<MinimizeBtn>True</MinimizeBtn>
	<SystemMenu>True</SystemMenu>
	<ContextMenu>False</ContextMenu>
	<AlwaysOnTop>False</AlwaysOnTop>
	<ShowInTaskbar>True</ShowInTaskbar>
	<SingleInstance>False</SingleInstance>
	<ChromeKioskMode>False</ChromeKioskMode>
	<Components>
		<FunctionList name="Subroutines"/>
		<LibraryList name="Libraries"/>
		<PageList name="Main">
			<Components>
				<Page id="home">
					<pageenter>SetFocusGlowColor &quot;#df7326&quot;</pageenter>
					<Components>
						<SVGicon id="SVGicon3">
							<left>0px</left>
							<top>110px</top>
							<width>400px</width>
							<height>370px</height>
							<style>fill:rgba(222,114,38,0.74)</style>
							<icon>svgBlob2</icon>
							<preserveAspectRatio>deform</preserveAspectRatio>
						</SVGicon>
						<TextInput id="TextInput1">
							<left>400px</left>
							<top>210px</top>
							<width>435px</width>
							<height>45px</height>
							<style>background-color:rgba(222,114,38,0.07)</style>
							<variable>[weights]</variable>
							<init_value>56.3,78.3,112.4,87.6,59.7</init_value>
						</TextInput>
						<TextInput id="TextInput2">
							<left>400px</left>
							<top>310px</top>
							<width>435px</width>
							<height>45px</height>
							<style>background-color:rgba(222,114,38,0.07)</style>
							<variable>[heights]</variable>
							<init_value>1.58,1.73,1.80,1.65,1.64</init_value>
						</TextInput>
						<PushButton id="PushButton1">
							<left>670px</left>
							<top>385px</top>
							<width>165px</width>
							<height>50px</height>
							<style>color:#FFFFFF;background-color:#df7326</style>
							<caption>Generate Excel File</caption>
							<click>.Separate each value in a different Array element
StrParse &quot;[weights]&quot; &quot;,&quot; [weightArray]
StrParse &quot;[heights]&quot; &quot;,&quot; [heightArray]

.Total number of elements
SetVar [totalData] [weightArray.length]
SetVar [totalData] [totalData]-1

.Strings to numbers
Loop 0 [totalData] [n]
   ToNumber [weightArray([n])] [weightArray([n])]
   ToNumber [heightArray([n])] [heightArray([n])]
EndLoop

.New document
neoExcelCreate &quot;doc1&quot;
neoExcelAddSheet &quot;doc1&quot; &quot;sheet1&quot; &quot;BMI Calculator&quot;

.Title
neoExcelSetCellText &quot;doc1&quot; &quot;sheet1&quot; 2 2 &quot;BMI Calculator&quot;
neoExcelSetCellStyle &quot;doc1&quot; &quot;sheet1&quot; 2 2 true false false &quot;center&quot; 0 &quot;&quot; &quot;&quot;
..........................................
neoExcelMergeCells &quot;doc1&quot; &quot;sheet1&quot; &quot;B2&quot; &quot;J2&quot;
..........problem.................
neoExcelMergeCells &quot;doc1&quot; &quot;sheet1&quot; &quot;L2&quot; &quot;O2&quot;



.Headers
neoExcelSetCellText &quot;doc1&quot; &quot;sheet1&quot; 4 2 &quot;Weight&quot;
neoExcelSetCellText &quot;doc1&quot; &quot;sheet1&quot; 4 3 &quot;Height&quot;
neoExcelSetCellText &quot;doc1&quot; &quot;sheet1&quot; 4 4 &quot;BMI&quot;
neoExcelSetCellStyle &quot;doc1&quot; &quot;sheet1&quot; 4 2 false false false &quot;&quot; 0 &quot;&quot; &quot;#d9e1f2&quot;
neoExcelSetCellStyle &quot;doc1&quot; &quot;sheet1&quot; 4 3 false false false &quot;&quot; 0 &quot;&quot; &quot;#d9e1f2&quot;
neoExcelSetCellStyle &quot;doc1&quot; &quot;sheet1&quot; 4 4 false false false &quot;&quot; 0 &quot;&quot; &quot;#e2efda&quot;

.Data to sheet
neoExcelArrayToCol &quot;doc1&quot; &quot;sheet1&quot; 5 2 [weightArray]
neoExcelArrayToCol &quot;doc1&quot; &quot;sheet1&quot; 5 3 [heightArray]

.BMI calc
SetVar [finalPosition] [totalData]+5
neoExcelSharedFormula &quot;doc1&quot; &quot;sheet1&quot; &quot;D5&quot; &quot;D[finalPosition]&quot; &quot;ROUND(B5/(C5^2),2)&quot;

neoExcelSave &quot;doc1&quot; &quot;bmi.xlsx&quot;</click>
						</PushButton>
						<Paragraph id="Paragraph1">
							<left>400px</left>
							<top>180px</top>
							<width>435px</width>
							<height>30px</height>
							<style>color:#df7326;font-weight:bold</style>
							<text>Enter comma separated weights (Kg.)</text>
						</Paragraph>
						<Paragraph id="Paragraph2">
							<left>400px</left>
							<top>280px</top>
							<width>435px</width>
							<height>30px</height>
							<style>color:#df7326;font-weight:bold</style>
							<text>Enter comma separated heights (m.)</text>
						</Paragraph>
						<Container id="Container1">
							<left>0px</left>
							<top>0px</top>
							<width>960px</width>
							<height>80px</height>
							<style>background-color:#df7326</style>
						</Container>
						<Headline id="Headline1">
							<left>25px</left>
							<top>25px</top>
							<width>910px</width>
							<height>75px</height>
							<style>color:#FFFFFF;font-weight:bolder;text-align:center</style>
							<text>neoExcel Sample App</text>
						</Headline>
						<SVGicon id="SVGicon1">
							<left>26px</left>
							<top>75px</top>
							<width>890px</width>
							<height>75px</height>
							<style>fill:#df7326</style>
							<icon>svgDivider2</icon>
							<preserveAspectRatio>deform</preserveAspectRatio>
						</SVGicon>
						<SVGicon id="SVGicon2">
							<left>44px</left>
							<top>464px</top>
							<width>890px</width>
							<height>75px</height>
							<style>fill:#df7326;transform:rotateZ(180deg)</style>
							<icon>svgDivider2</icon>
							<preserveAspectRatio>deform</preserveAspectRatio>
						</SVGicon>
						<Paragraph id="Paragraph3">
							<left>107px</left>
							<top>215px</top>
							<width>210px</width>
							<height>130px</height>
							<style>color:#FFFFFF;font-size:12pt</style>
							<text>This sample app will generate a &lt;strong&gt;Microsoft Excel &lt;/strong&gt;file from the entered data.&lt;br&gt;&lt;br&gt;It will add a column to&amp;nbsp;calculate &lt;strong&gt;BMI&lt;/strong&gt; (&lt;em&gt;Body Mass Index&lt;/em&gt;)&lt;br&gt;&lt;br&gt;</text>
						</Paragraph>
					</Components>
				</Page>
			</Components>
		</PageList>
		<PageList name="Master">
			<Components>
				<Page id="MasterPage"/>
			</Components>
		</PageList>
		<PageList name="Dialog">
			<Components>
				<Page id="NewDialog">
					<Components>
						<DialogContainer id="DialogContainer1">
							<left>0px</left>
							<top>0px</top>
							<width>960px</width>
							<height>540px</height>
							<close_button>False</close_button>
							<kind>custom</kind>
						</DialogContainer>
					</Components>
				</Page>
			</Components>
		</PageList>
	</Components>
</Application>
