diff --git a/Documentation/Examples/Calculations/DateTime/DATE.php b/Documentation/Examples/Calculations/DateTime/DATE.php deleted file mode 100644 index 979d1f5e..00000000 --- a/Documentation/Examples/Calculations/DateTime/DATE.php +++ /dev/null @@ -1,83 +0,0 @@ - - - - - -PHPExcel Calculation Examples - - - - -

DATE

-

Returns the serial number of a particular date.

-getActiveSheet(); - -// Add some data -$testDates = array( array(2012,3,26), array(2012,2,29), array(2012,4,1), array(2012,12,25), - array(2012,10,31), array(2012,11,5), array(2012,1,1), array(2012,3,17), - array(2011,2,29), array(7,5,3), array(2012,13,1), array(2012,11,45), - array(2012,0,0), array(2012,1,0), array(2012,0,1), - array(2012,-2,2), array(2012,2,-2), array(2012,-2,-2), - ); -$testDateCount = count($testDates); - -$worksheet->fromArray($testDates,NULL,'A1',true); - -for ($row = 1; $row <= $testDateCount; ++$row) { - $worksheet->setCellValue('D'.$row, '=DATE(A'.$row.',B'.$row.',C'.$row.')'); - $worksheet->setCellValue('E'.$row, '=D'.$row); -} -$worksheet->getStyle('E1:E'.$testDateCount) - ->getNumberFormat() - ->setFormatCode('yyyy-mmm-dd'); - - -echo '
'; - - -// Test the formulae -?> - - - - - - - - - - - - - '; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - } - ?> -
Date ValueFormulaExcel DateStampFormatted DateStamp
YearMonthDay
' , $worksheet->getCell('A'.$row)->getFormattedValue() , '' , $worksheet->getCell('B'.$row)->getFormattedValue() , '' , $worksheet->getCell('C'.$row)->getFormattedValue() , '' , $worksheet->getCell('D'.$row)->getValue() , '' , $worksheet->getCell('D'.$row)->getFormattedValue() , '' , $worksheet->getCell('E'.$row)->getFormattedValue() , '
\ No newline at end of file diff --git a/Documentation/Examples/Calculations/DateTime/DATEVALUE.php b/Documentation/Examples/Calculations/DateTime/DATEVALUE.php deleted file mode 100644 index 4d5d8c26..00000000 --- a/Documentation/Examples/Calculations/DateTime/DATEVALUE.php +++ /dev/null @@ -1,76 +0,0 @@ - - - - - -PHPExcel Calculation Examples - - - - -

DATEVALUE

-

Converts a date in the form of text to a serial number.

-getActiveSheet(); - -// Add some data -$testDates = array( '26 March 2012', '29 Feb 2012', 'April 1, 2012', '25/12/2012', - '2012-Oct-31', '5th November', 'January 1st', 'April 2012', - '17-03', '03-2012', '29 Feb 2011', '03-05-07', - '03-MAY-07', '03-13-07', - ); -$testDateCount = count($testDates); - -for($row = 1; $row <= $testDateCount; ++$row) { - $worksheet->setCellValue('A'.$row, $testDates[$row-1]); - $worksheet->setCellValue('B'.$row, '=DATEVALUE(A'.$row.')'); - $worksheet->setCellValue('C'.$row, '=B'.$row); -} - -$worksheet->getStyle('C1:C'.$testDateCount) - ->getNumberFormat() - ->setFormatCode('yyyy-mmm-dd'); - - -echo '
'; - - -// Test the formulae -?> -

Warning: The PHPExcel DATEVALUE() function accepts a wider range of date formats than MS Excel's DATEFORMAT() function.

- - - - - - - - '; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - } - ?> -
Date StringFormulaExcel DateStampFormatted DateStamp
' , $worksheet->getCell('A'.$row)->getFormattedValue() , '' , $worksheet->getCell('B'.$row)->getValue() , '' , $worksheet->getCell('B'.$row)->getFormattedValue() , '' , $worksheet->getCell('C'.$row)->getFormattedValue() , '
\ No newline at end of file diff --git a/Documentation/Examples/Reading WorkBook Data/exampleWorkBookReader03.php b/Documentation/Examples/Reading WorkBook Data/exampleWorkBookReader03.php deleted file mode 100644 index 08a78894..00000000 --- a/Documentation/Examples/Reading WorkBook Data/exampleWorkBookReader03.php +++ /dev/null @@ -1,80 +0,0 @@ - - - - - -PHPExcel Reading WorkBook Data Example #03 - - - - -

PHPExcel Reading WorkBook Data Example #03

-

Read Custom Property Values for a WorkBook

-load($inputFileName); - - -echo '
'; - -/** Read an array list of any custom properties for this document **/ -$customPropertyList = $objPHPExcel->getProperties()->getCustomProperties(); - -echo 'Custom Properties:
'; -/** Loop through the list of custom properties **/ -foreach($customPropertyList as $customPropertyName) { - echo '',$customPropertyName,': '; - /** Retrieve the property value **/ - $propertyValue = $objPHPExcel->getProperties()->getCustomPropertyValue($customPropertyName); - /** Retrieve the property type **/ - $propertyType = $objPHPExcel->getProperties()->getCustomPropertyType($customPropertyName); - - /** Manipulate properties as appropriate for display purposes **/ - switch($propertyType) { - case 'i' : // integer - $propertyType = 'integer number'; - break; - case 'f' : // float - $propertyType = 'floating point number'; - break; - case 's' : // string - $propertyType = 'string'; - break; - case 'd' : // date - $propertyValue = date('l, d<\s\up>S F Y g:i A',$propertyValue); - $propertyType = 'date'; - break; - case 'b' : // boolean - $propertyValue = ($propertyValue) ? 'TRUE' : 'FALSE'; - $propertyType = 'boolean'; - break; - } - - echo $propertyValue,' (',$propertyType,')
'; -} - - - -?> - - diff --git a/Documentation/FunctionListByCategory.txt b/Documentation/FunctionListByCategory.txt deleted file mode 100644 index a9f29a54..00000000 --- a/Documentation/FunctionListByCategory.txt +++ /dev/null @@ -1,377 +0,0 @@ -CATEGORY_CUBE - CUBEKPIMEMBER *** Not yet Implemented - CUBEMEMBER *** Not yet Implemented - CUBEMEMBERPROPERTY *** Not yet Implemented - CUBERANKEDMEMBER *** Not yet Implemented - CUBESET *** Not yet Implemented - CUBESETCOUNT *** Not yet Implemented - CUBEVALUE *** Not yet Implemented - -CATEGORY_DATABASE - DAVERAGE PHPExcel_Calculation_Database::DAVERAGE - DCOUNT PHPExcel_Calculation_Database::DCOUNT - DCOUNTA PHPExcel_Calculation_Database::DCOUNTA - DGET PHPExcel_Calculation_Database::DGET - DMAX PHPExcel_Calculation_Database::DMAX - DMIN PHPExcel_Calculation_Database::DMIN - DPRODUCT PHPExcel_Calculation_Database::DPRODUCT - DSTDEV PHPExcel_Calculation_Database::DSTDEV - DSTDEVP PHPExcel_Calculation_Database::DSTDEVP - DSUM PHPExcel_Calculation_Database::DSUM - DVAR PHPExcel_Calculation_Database::DVAR - DVARP PHPExcel_Calculation_Database::DVARP - -CATEGORY_DATE_AND_TIME - DATE PHPExcel_Calculation_DateTime::DATE - DATEDIF PHPExcel_Calculation_DateTime::DATEDIF - DATEVALUE PHPExcel_Calculation_DateTime::DATEVALUE - DAY PHPExcel_Calculation_DateTime::DAYOFMONTH - DAYS360 PHPExcel_Calculation_DateTime::DAYS360 - EDATE PHPExcel_Calculation_DateTime::EDATE - EOMONTH PHPExcel_Calculation_DateTime::EOMONTH - HOUR PHPExcel_Calculation_DateTime::HOUROFDAY - MINUTE PHPExcel_Calculation_DateTime::MINUTE - MONTH PHPExcel_Calculation_DateTime::MONTHOFYEAR - NETWORKDAYS PHPExcel_Calculation_DateTime::NETWORKDAYS - NOW PHPExcel_Calculation_DateTime::DATETIMENOW - SECOND PHPExcel_Calculation_DateTime::SECOND - TIME PHPExcel_Calculation_DateTime::TIME - TIMEVALUE PHPExcel_Calculation_DateTime::TIMEVALUE - TODAY PHPExcel_Calculation_DateTime::DATENOW - WEEKDAY PHPExcel_Calculation_DateTime::WEEKDAY - WEEKNUM PHPExcel_Calculation_DateTime::WEEKNUM - WORKDAY PHPExcel_Calculation_DateTime::WORKDAY - YEAR PHPExcel_Calculation_DateTime::YEAR - YEARFRAC PHPExcel_Calculation_DateTime::YEARFRAC - -CATEGORY_ENGINEERING - BESSELI PHPExcel_Calculation_Engineering::BESSELI - BESSELJ PHPExcel_Calculation_Engineering::BESSELJ - BESSELK PHPExcel_Calculation_Engineering::BESSELK - BESSELY PHPExcel_Calculation_Engineering::BESSELY - BIN2DEC PHPExcel_Calculation_Engineering::BINTODEC - BIN2HEX PHPExcel_Calculation_Engineering::BINTOHEX - BIN2OCT PHPExcel_Calculation_Engineering::BINTOOCT - COMPLEX PHPExcel_Calculation_Engineering::COMPLEX - CONVERT PHPExcel_Calculation_Engineering::CONVERTUOM - DEC2BIN PHPExcel_Calculation_Engineering::DECTOBIN - DEC2HEX PHPExcel_Calculation_Engineering::DECTOHEX - DEC2OCT PHPExcel_Calculation_Engineering::DECTOOCT - DELTA PHPExcel_Calculation_Engineering::DELTA - ERF PHPExcel_Calculation_Engineering::ERF - ERFC PHPExcel_Calculation_Engineering::ERFC - GESTEP PHPExcel_Calculation_Engineering::GESTEP - HEX2BIN PHPExcel_Calculation_Engineering::HEXTOBIN - HEX2DEC PHPExcel_Calculation_Engineering::HEXTODEC - HEX2OCT PHPExcel_Calculation_Engineering::HEXTOOCT - IMABS PHPExcel_Calculation_Engineering::IMABS - IMAGINARY PHPExcel_Calculation_Engineering::IMAGINARY - IMARGUMENT PHPExcel_Calculation_Engineering::IMARGUMENT - IMCONJUGATE PHPExcel_Calculation_Engineering::IMCONJUGATE - IMCOS PHPExcel_Calculation_Engineering::IMCOS - IMDIV PHPExcel_Calculation_Engineering::IMDIV - IMEXP PHPExcel_Calculation_Engineering::IMEXP - IMLN PHPExcel_Calculation_Engineering::IMLN - IMLOG10 PHPExcel_Calculation_Engineering::IMLOG10 - IMLOG2 PHPExcel_Calculation_Engineering::IMLOG2 - IMPOWER PHPExcel_Calculation_Engineering::IMPOWER - IMPRODUCT PHPExcel_Calculation_Engineering::IMPRODUCT - IMREAL PHPExcel_Calculation_Engineering::IMREAL - IMSIN PHPExcel_Calculation_Engineering::IMSIN - IMSQRT PHPExcel_Calculation_Engineering::IMSQRT - IMSUB PHPExcel_Calculation_Engineering::IMSUB - IMSUM PHPExcel_Calculation_Engineering::IMSUM - OCT2BIN PHPExcel_Calculation_Engineering::OCTTOBIN - OCT2DEC PHPExcel_Calculation_Engineering::OCTTODEC - OCT2HEX PHPExcel_Calculation_Engineering::OCTTOHEX - -CATEGORY_FINANCIAL - ACCRINT PHPExcel_Calculation_Financial::ACCRINT - ACCRINTM PHPExcel_Calculation_Financial::ACCRINTM - AMORDEGRC PHPExcel_Calculation_Financial::AMORDEGRC - AMORLINC PHPExcel_Calculation_Financial::AMORLINC - COUPDAYBS PHPExcel_Calculation_Financial::COUPDAYBS - COUPDAYS PHPExcel_Calculation_Financial::COUPDAYS - COUPDAYSNC PHPExcel_Calculation_Financial::COUPDAYSNC - COUPNCD PHPExcel_Calculation_Financial::COUPNCD - COUPNUM PHPExcel_Calculation_Financial::COUPNUM - COUPPCD PHPExcel_Calculation_Financial::COUPPCD - CUMIPMT PHPExcel_Calculation_Financial::CUMIPMT - CUMPRINC PHPExcel_Calculation_Financial::CUMPRINC - DB PHPExcel_Calculation_Financial::DB - DDB PHPExcel_Calculation_Financial::DDB - DISC PHPExcel_Calculation_Financial::DISC - DOLLARDE PHPExcel_Calculation_Financial::DOLLARDE - DOLLARFR PHPExcel_Calculation_Financial::DOLLARFR - DURATION *** Not yet Implemented - EFFECT PHPExcel_Calculation_Financial::EFFECT - FV PHPExcel_Calculation_Financial::FV - FVSCHEDULE PHPExcel_Calculation_Financial::FVSCHEDULE - INTRATE PHPExcel_Calculation_Financial::INTRATE - IPMT PHPExcel_Calculation_Financial::IPMT - IRR PHPExcel_Calculation_Financial::IRR - ISPMT PHPExcel_Calculation_Financial::ISPMT - MDURATION *** Not yet Implemented - MIRR PHPExcel_Calculation_Financial::MIRR - NOMINAL PHPExcel_Calculation_Financial::NOMINAL - NPER PHPExcel_Calculation_Financial::NPER - NPV PHPExcel_Calculation_Financial::NPV - ODDFPRICE *** Not yet Implemented - ODDFYIELD *** Not yet Implemented - ODDLPRICE *** Not yet Implemented - ODDLYIELD *** Not yet Implemented - PMT PHPExcel_Calculation_Financial::PMT - PPMT PHPExcel_Calculation_Financial::PPMT - PRICE PHPExcel_Calculation_Financial::PRICE - PRICEDISC PHPExcel_Calculation_Financial::PRICEDISC - PRICEMAT PHPExcel_Calculation_Financial::PRICEMAT - PV PHPExcel_Calculation_Financial::PV - RATE PHPExcel_Calculation_Financial::RATE - RECEIVED PHPExcel_Calculation_Financial::RECEIVED - SLN PHPExcel_Calculation_Financial::SLN - SYD PHPExcel_Calculation_Financial::SYD - TBILLEQ PHPExcel_Calculation_Financial::TBILLEQ - TBILLPRICE PHPExcel_Calculation_Financial::TBILLPRICE - TBILLYIELD PHPExcel_Calculation_Financial::TBILLYIELD - USDOLLAR *** Not yet Implemented - VDB *** Not yet Implemented - XIRR PHPExcel_Calculation_Financial::XIRR - XNPV PHPExcel_Calculation_Financial::XNPV - YIELD *** Not yet Implemented - YIELDDISC PHPExcel_Calculation_Financial::YIELDDISC - YIELDMAT PHPExcel_Calculation_Financial::YIELDMAT - -CATEGORY_INFORMATION - CELL *** Not yet Implemented - ERROR.TYPE PHPExcel_Calculation_Functions::ERROR_TYPE - INFO *** Not yet Implemented - ISBLANK PHPExcel_Calculation_Functions::IS_BLANK - ISERR PHPExcel_Calculation_Functions::IS_ERR - ISERROR PHPExcel_Calculation_Functions::IS_ERROR - ISEVEN PHPExcel_Calculation_Functions::IS_EVEN - ISLOGICAL PHPExcel_Calculation_Functions::IS_LOGICAL - ISNA PHPExcel_Calculation_Functions::IS_NA - ISNONTEXT PHPExcel_Calculation_Functions::IS_NONTEXT - ISNUMBER PHPExcel_Calculation_Functions::IS_NUMBER - ISODD PHPExcel_Calculation_Functions::IS_ODD - ISREF *** Not yet Implemented - ISTEXT PHPExcel_Calculation_Functions::IS_TEXT - N PHPExcel_Calculation_Functions::N - NA PHPExcel_Calculation_Functions::NA - TYPE PHPExcel_Calculation_Functions::TYPE - VERSION PHPExcel_Calculation_Functions::VERSION - -CATEGORY_LOGICAL - AND PHPExcel_Calculation_Logical::LOGICAL_AND - FALSE PHPExcel_Calculation_Logical::FALSE - IF PHPExcel_Calculation_Logical::STATEMENT_IF - IFERROR PHPExcel_Calculation_Logical::IFERROR - NOT PHPExcel_Calculation_Logical::NOT - OR PHPExcel_Calculation_Logical::LOGICAL_OR - TRUE PHPExcel_Calculation_Logical::TRUE - -CATEGORY_LOOKUP_AND_REFERENCE - ADDRESS PHPExcel_Calculation_LookupRef::CELL_ADDRESS - AREAS *** Not yet Implemented - CHOOSE PHPExcel_Calculation_LookupRef::CHOOSE - COLUMN PHPExcel_Calculation_LookupRef::COLUMN - COLUMNS PHPExcel_Calculation_LookupRef::COLUMNS - GETPIVOTDATA *** Not yet Implemented - HLOOKUP PHPExcel_Calculation_LookupRef::HLOOKUP - HYPERLINK PHPExcel_Calculation_LookupRef::HYPERLINK - INDEX PHPExcel_Calculation_LookupRef::INDEX - INDIRECT PHPExcel_Calculation_LookupRef::INDIRECT - LOOKUP PHPExcel_Calculation_LookupRef::LOOKUP - MATCH PHPExcel_Calculation_LookupRef::MATCH - OFFSET PHPExcel_Calculation_LookupRef::OFFSET - ROW PHPExcel_Calculation_LookupRef::ROW - ROWS PHPExcel_Calculation_LookupRef::ROWS - RTD *** Not yet Implemented - TRANSPOSE PHPExcel_Calculation_LookupRef::TRANSPOSE - VLOOKUP PHPExcel_Calculation_LookupRef::VLOOKUP - -CATEGORY_MATH_AND_TRIG - ABS abs - ACOS acos - ACOSH acosh - ASIN asin - ASINH asinh - ATAN atan - ATAN2 PHPExcel_Calculation_MathTrig::REVERSE_ATAN2 - ATANH atanh - CEILING PHPExcel_Calculation_MathTrig::CEILING - COMBIN PHPExcel_Calculation_MathTrig::COMBIN - COS cos - COSH cosh - DEGREES rad2deg - EVEN PHPExcel_Calculation_MathTrig::EVEN - EXP exp - FACT PHPExcel_Calculation_MathTrig::FACT - FACTDOUBLE PHPExcel_Calculation_MathTrig::FACTDOUBLE - FLOOR PHPExcel_Calculation_MathTrig::FLOOR - GCD PHPExcel_Calculation_MathTrig::GCD - INT PHPExcel_Calculation_MathTrig::INT - LCM PHPExcel_Calculation_MathTrig::LCM - LN log - LOG PHPExcel_Calculation_MathTrig::LOG_BASE - LOG10 log10 - MDETERM PHPExcel_Calculation_MathTrig::MDETERM - MINVERSE PHPExcel_Calculation_MathTrig::MINVERSE - MMULT PHPExcel_Calculation_MathTrig::MMULT - MOD PHPExcel_Calculation_MathTrig::MOD - MROUND PHPExcel_Calculation_MathTrig::MROUND - MULTINOMIAL PHPExcel_Calculation_MathTrig::MULTINOMIAL - ODD PHPExcel_Calculation_MathTrig::ODD - PI pi - POWER PHPExcel_Calculation_MathTrig::POWER - PRODUCT PHPExcel_Calculation_MathTrig::PRODUCT - QUOTIENT PHPExcel_Calculation_MathTrig::QUOTIENT - RADIANS deg2rad - RAND PHPExcel_Calculation_MathTrig::RAND - RANDBETWEEN PHPExcel_Calculation_MathTrig::RAND - ROMAN PHPExcel_Calculation_MathTrig::ROMAN - ROUND round - ROUNDDOWN PHPExcel_Calculation_MathTrig::ROUNDDOWN - ROUNDUP PHPExcel_Calculation_MathTrig::ROUNDUP - SERIESSUM PHPExcel_Calculation_MathTrig::SERIESSUM - SIGN PHPExcel_Calculation_MathTrig::SIGN - SIN sin - SINH sinh - SQRT sqrt - SQRTPI PHPExcel_Calculation_MathTrig::SQRTPI - SUBTOTAL PHPExcel_Calculation_MathTrig::SUBTOTAL - SUM PHPExcel_Calculation_MathTrig::SUM - SUMIF PHPExcel_Calculation_MathTrig::SUMIF - SUMIFS *** Not yet Implemented - SUMPRODUCT PHPExcel_Calculation_MathTrig::SUMPRODUCT - SUMSQ PHPExcel_Calculation_MathTrig::SUMSQ - SUMX2MY2 PHPExcel_Calculation_MathTrig::SUMX2MY2 - SUMX2PY2 PHPExcel_Calculation_MathTrig::SUMX2PY2 - SUMXMY2 PHPExcel_Calculation_MathTrig::SUMXMY2 - TAN tan - TANH tanh - TRUNC PHPExcel_Calculation_MathTrig::TRUNC - -CATEGORY_STATISTICAL - AVEDEV PHPExcel_Calculation_Statistical::AVEDEV - AVERAGE PHPExcel_Calculation_Statistical::AVERAGE - AVERAGEA PHPExcel_Calculation_Statistical::AVERAGEA - AVERAGEIF PHPExcel_Calculation_Statistical::AVERAGEIF - AVERAGEIFS *** Not yet Implemented - BETADIST PHPExcel_Calculation_Statistical::BETADIST - BETAINV PHPExcel_Calculation_Statistical::BETAINV - BINOMDIST PHPExcel_Calculation_Statistical::BINOMDIST - CHIDIST PHPExcel_Calculation_Statistical::CHIDIST - CHIINV PHPExcel_Calculation_Statistical::CHIINV - CHITEST *** Not yet Implemented - CONFIDENCE PHPExcel_Calculation_Statistical::CONFIDENCE - CORREL PHPExcel_Calculation_Statistical::CORREL - COUNT PHPExcel_Calculation_Statistical::COUNT - COUNTA PHPExcel_Calculation_Statistical::COUNTA - COUNTBLANK PHPExcel_Calculation_Statistical::COUNTBLANK - COUNTIF PHPExcel_Calculation_Statistical::COUNTIF - COUNTIFS *** Not yet Implemented - COVAR PHPExcel_Calculation_Statistical::COVAR - CRITBINOM PHPExcel_Calculation_Statistical::CRITBINOM - DEVSQ PHPExcel_Calculation_Statistical::DEVSQ - EXPONDIST PHPExcel_Calculation_Statistical::EXPONDIST - FDIST *** Not yet Implemented - FINV *** Not yet Implemented - FISHER PHPExcel_Calculation_Statistical::FISHER - FISHERINV PHPExcel_Calculation_Statistical::FISHERINV - FORECAST PHPExcel_Calculation_Statistical::FORECAST - FREQUENCY *** Not yet Implemented - FTEST *** Not yet Implemented - GAMMADIST PHPExcel_Calculation_Statistical::GAMMADIST - GAMMAINV PHPExcel_Calculation_Statistical::GAMMAINV - GAMMALN PHPExcel_Calculation_Statistical::GAMMALN - GEOMEAN PHPExcel_Calculation_Statistical::GEOMEAN - GROWTH PHPExcel_Calculation_Statistical::GROWTH - HARMEAN PHPExcel_Calculation_Statistical::HARMEAN - HYPGEOMDIST PHPExcel_Calculation_Statistical::HYPGEOMDIST - INTERCEPT PHPExcel_Calculation_Statistical::INTERCEPT - KURT PHPExcel_Calculation_Statistical::KURT - LARGE PHPExcel_Calculation_Statistical::LARGE - LINEST PHPExcel_Calculation_Statistical::LINEST - LOGEST PHPExcel_Calculation_Statistical::LOGEST - LOGINV PHPExcel_Calculation_Statistical::LOGINV - LOGNORMDIST PHPExcel_Calculation_Statistical::LOGNORMDIST - MAX PHPExcel_Calculation_Statistical::MAX - MAXA PHPExcel_Calculation_Statistical::MAXA - MAXIF PHPExcel_Calculation_Statistical::MAXIF - MEDIAN PHPExcel_Calculation_Statistical::MEDIAN - MEDIANIF *** Not yet Implemented - MIN PHPExcel_Calculation_Statistical::MIN - MINA PHPExcel_Calculation_Statistical::MINA - MINIF PHPExcel_Calculation_Statistical::MINIF - MODE PHPExcel_Calculation_Statistical::MODE - NEGBINOMDIST PHPExcel_Calculation_Statistical::NEGBINOMDIST - NORMDIST PHPExcel_Calculation_Statistical::NORMDIST - NORMINV PHPExcel_Calculation_Statistical::NORMINV - NORMSDIST PHPExcel_Calculation_Statistical::NORMSDIST - NORMSINV PHPExcel_Calculation_Statistical::NORMSINV - PEARSON PHPExcel_Calculation_Statistical::CORREL - PERCENTILE PHPExcel_Calculation_Statistical::PERCENTILE - PERCENTRANK PHPExcel_Calculation_Statistical::PERCENTRANK - PERMUT PHPExcel_Calculation_Statistical::PERMUT - POISSON PHPExcel_Calculation_Statistical::POISSON - PROB *** Not yet Implemented - QUARTILE PHPExcel_Calculation_Statistical::QUARTILE - RANK PHPExcel_Calculation_Statistical::RANK - RSQ PHPExcel_Calculation_Statistical::RSQ - SKEW PHPExcel_Calculation_Statistical::SKEW - SLOPE PHPExcel_Calculation_Statistical::SLOPE - SMALL PHPExcel_Calculation_Statistical::SMALL - STANDARDIZE PHPExcel_Calculation_Statistical::STANDARDIZE - STDEV PHPExcel_Calculation_Statistical::STDEV - STDEVA PHPExcel_Calculation_Statistical::STDEVA - STDEVP PHPExcel_Calculation_Statistical::STDEVP - STDEVPA PHPExcel_Calculation_Statistical::STDEVPA - STEYX PHPExcel_Calculation_Statistical::STEYX - TDIST PHPExcel_Calculation_Statistical::TDIST - TINV PHPExcel_Calculation_Statistical::TINV - TREND PHPExcel_Calculation_Statistical::TREND - TRIMMEAN PHPExcel_Calculation_Statistical::TRIMMEAN - TTEST *** Not yet Implemented - VAR PHPExcel_Calculation_Statistical::VARFunc - VARA PHPExcel_Calculation_Statistical::VARA - VARP PHPExcel_Calculation_Statistical::VARP - VARPA PHPExcel_Calculation_Statistical::VARPA - WEIBULL PHPExcel_Calculation_Statistical::WEIBULL - ZTEST PHPExcel_Calculation_Statistical::ZTEST - -CATEGORY_TEXT_AND_DATA - ASC *** Not yet Implemented - BAHTTEXT *** Not yet Implemented - CHAR PHPExcel_Calculation_TextData::CHARACTER - CLEAN PHPExcel_Calculation_TextData::TRIMNONPRINTABLE - CODE PHPExcel_Calculation_TextData::ASCIICODE - CONCATENATE PHPExcel_Calculation_TextData::CONCATENATE - DOLLAR PHPExcel_Calculation_TextData::DOLLAR - EXACT *** Not yet Implemented - FIND PHPExcel_Calculation_TextData::SEARCHSENSITIVE - FINDB PHPExcel_Calculation_TextData::SEARCHSENSITIVE - FIXED PHPExcel_Calculation_TextData::FIXEDFORMAT - JIS *** Not yet Implemented - LEFT PHPExcel_Calculation_TextData::LEFT - LEFTB PHPExcel_Calculation_TextData::LEFT - LEN PHPExcel_Calculation_TextData::STRINGLENGTH - LENB PHPExcel_Calculation_TextData::STRINGLENGTH - LOWER PHPExcel_Calculation_TextData::LOWERCASE - MID PHPExcel_Calculation_TextData::MID - MIDB PHPExcel_Calculation_TextData::MID - PHONETIC *** Not yet Implemented - PROPER PHPExcel_Calculation_TextData::PROPERCASE - REPLACE PHPExcel_Calculation_TextData::REPLACE - REPLACEB PHPExcel_Calculation_TextData::REPLACE - REPT str_repeat - RIGHT PHPExcel_Calculation_TextData::RIGHT - RIGHTB PHPExcel_Calculation_TextData::RIGHT - SEARCH PHPExcel_Calculation_TextData::SEARCHINSENSITIVE - SEARCHB PHPExcel_Calculation_TextData::SEARCHINSENSITIVE - SUBSTITUTE PHPExcel_Calculation_TextData::SUBSTITUTE - T PHPExcel_Calculation_TextData::RETURNSTRING - TEXT PHPExcel_Calculation_TextData::TEXTFORMAT - TRIM PHPExcel_Calculation_TextData::TRIMSPACES - UPPER PHPExcel_Calculation_TextData::UPPERCASE - VALUE PHPExcel_Calculation_TextData::VALUE diff --git a/Documentation/FunctionListByName.txt b/Documentation/FunctionListByName.txt deleted file mode 100644 index d498dd3b..00000000 --- a/Documentation/FunctionListByName.txt +++ /dev/null @@ -1,381 +0,0 @@ -ABS CATEGORY_MATH_AND_TRIG abs -ACCRINT CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::ACCRINT -ACCRINTM CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::ACCRINTM -ACOS CATEGORY_MATH_AND_TRIG acos -ACOSH CATEGORY_MATH_AND_TRIG acosh -ADDRESS CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::CELL_ADDRESS -AMORDEGRC CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::AMORDEGRC -AMORLINC CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::AMORLINC -AND CATEGORY_LOGICAL PHPExcel_Calculation_Logical::LOGICAL_AND -AREAS CATEGORY_LOOKUP_AND_REFERENCE *** Not yet Implemented -ASC CATEGORY_TEXT_AND_DATA *** Not yet Implemented -ASIN CATEGORY_MATH_AND_TRIG asin -ASINH CATEGORY_MATH_AND_TRIG asinh -ATAN CATEGORY_MATH_AND_TRIG atan -ATAN2 CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::REVERSE_ATAN2 -ATANH CATEGORY_MATH_AND_TRIG atanh -AVEDEV CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::AVEDEV -AVERAGE CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::AVERAGE -AVERAGEA CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::AVERAGEA -AVERAGEIF CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::AVERAGEIF -AVERAGEIFS CATEGORY_STATISTICAL *** Not yet Implemented - -BAHTTEXT CATEGORY_TEXT_AND_DATA *** Not yet Implemented -BESSELI CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::BESSELI -BESSELJ CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::BESSELJ -BESSELK CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::BESSELK -BESSELY CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::BESSELY -BETADIST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::BETADIST -BETAINV CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::BETAINV -BIN2DEC CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::BINTODEC -BIN2HEX CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::BINTOHEX -BIN2OCT CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::BINTOOCT -BINOMDIST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::BINOMDIST - -CEILING CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::CEILING -CELL CATEGORY_INFORMATION *** Not yet Implemented -CHAR CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::CHARACTER -CHIDIST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::CHIDIST -CHIINV CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::CHIINV -CHITEST CATEGORY_STATISTICAL *** Not yet Implemented -CHOOSE CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::CHOOSE -CLEAN CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::TRIMNONPRINTABLE -CODE CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::ASCIICODE -COLUMN CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::COLUMN -COLUMNS CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::COLUMNS -COMBIN CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::COMBIN -COMPLEX CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::COMPLEX -CONCATENATE CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::CONCATENATE -CONFIDENCE CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::CONFIDENCE -CONVERT CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::CONVERTUOM -CORREL CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::CORREL -COS CATEGORY_MATH_AND_TRIG cos -COSH CATEGORY_MATH_AND_TRIG cosh -COUNT CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::COUNT -COUNTA CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::COUNTA -COUNTBLANK CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::COUNTBLANK -COUNTIF CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::COUNTIF -COUNTIFS CATEGORY_STATISTICAL *** Not yet Implemented -COUPDAYBS CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::COUPDAYBS -COUPDAYS CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::COUPDAYS -COUPDAYSNC CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::COUPDAYSNC -COUPNCD CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::COUPNCD -COUPNUM CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::COUPNUM -COUPPCD CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::COUPPCD -COVAR CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::COVAR -CRITBINOM CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::CRITBINOM -CUBEKPIMEMBER CATEGORY_CUBE *** Not yet Implemented -CUBEMEMBER CATEGORY_CUBE *** Not yet Implemented -CUBEMEMBERPROPERTY CATEGORY_CUBE *** Not yet Implemented -CUBERANKEDMEMBER CATEGORY_CUBE *** Not yet Implemented -CUBESET CATEGORY_CUBE *** Not yet Implemented -CUBESETCOUNT CATEGORY_CUBE *** Not yet Implemented -CUBEVALUE CATEGORY_CUBE *** Not yet Implemented -CUMIPMT CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::CUMIPMT -CUMPRINC CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::CUMPRINC - -DATE CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::DATE -DATEDIF CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::DATEDIF -DATEVALUE CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::DATEVALUE -DAVERAGE CATEGORY_DATABASE PHPExcel_Calculation_Database::DAVERAGE -DAY CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::DAYOFMONTH -DAYS360 CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::DAYS360 -DB CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::DB -DCOUNT CATEGORY_DATABASE PHPExcel_Calculation_Database::DCOUNT -DCOUNTA CATEGORY_DATABASE PHPExcel_Calculation_Database::DCOUNTA -DDB CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::DDB -DEC2BIN CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::DECTOBIN -DEC2HEX CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::DECTOHEX -DEC2OCT CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::DECTOOCT -DEGREES CATEGORY_MATH_AND_TRIG rad2deg -DELTA CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::DELTA -DEVSQ CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::DEVSQ -DGET CATEGORY_DATABASE PHPExcel_Calculation_Database::DGET -DISC CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::DISC -DMAX CATEGORY_DATABASE PHPExcel_Calculation_Database::DMAX -DMIN CATEGORY_DATABASE PHPExcel_Calculation_Database::DMIN -DOLLAR CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::DOLLAR -DOLLARDE CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::DOLLARDE -DOLLARFR CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::DOLLARFR -DPRODUCT CATEGORY_DATABASE PHPExcel_Calculation_Database::DPRODUCT -DSTDEV CATEGORY_DATABASE PHPExcel_Calculation_Database::DSTDEV -DSTDEVP CATEGORY_DATABASE PHPExcel_Calculation_Database::DSTDEVP -DSUM CATEGORY_DATABASE PHPExcel_Calculation_Database::DSUM -DURATION CATEGORY_FINANCIAL *** Not yet Implemented -DVAR CATEGORY_DATABASE PHPExcel_Calculation_Database::DVAR -DVARP CATEGORY_DATABASE PHPExcel_Calculation_Database::DVARP - -EDATE CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::EDATE -EFFECT CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::EFFECT -EOMONTH CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::EOMONTH -ERF CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::ERF -ERFC CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::ERFC -ERROR.TYPE CATEGORY_INFORMATION PHPExcel_Calculation_Functions::ERROR_TYPE -EVEN CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::EVEN -EXACT CATEGORY_TEXT_AND_DATA *** Not yet Implemented -EXP CATEGORY_MATH_AND_TRIG exp -EXPONDIST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::EXPONDIST - -FACT CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::FACT -FACTDOUBLE CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::FACTDOUBLE -FALSE CATEGORY_LOGICAL PHPExcel_Calculation_Logical::FALSE -FDIST CATEGORY_STATISTICAL *** Not yet Implemented -FIND CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::SEARCHSENSITIVE -FINDB CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::SEARCHSENSITIVE -FINV CATEGORY_STATISTICAL *** Not yet Implemented -FISHER CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::FISHER -FISHERINV CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::FISHERINV -FIXED CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::FIXEDFORMAT -FLOOR CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::FLOOR -FORECAST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::FORECAST -FREQUENCY CATEGORY_STATISTICAL *** Not yet Implemented -FTEST CATEGORY_STATISTICAL *** Not yet Implemented -FV CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::FV -FVSCHEDULE CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::FVSCHEDULE - -GAMMADIST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::GAMMADIST -GAMMAINV CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::GAMMAINV -GAMMALN CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::GAMMALN -GCD CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::GCD -GEOMEAN CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::GEOMEAN -GESTEP CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::GESTEP -GETPIVOTDATA CATEGORY_LOOKUP_AND_REFERENCE *** Not yet Implemented -GROWTH CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::GROWTH - -HARMEAN CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::HARMEAN -HEX2BIN CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::HEXTOBIN -HEX2DEC CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::HEXTODEC -HEX2OCT CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::HEXTOOCT -HLOOKUP CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::HLOOKUP -HOUR CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::HOUROFDAY -HYPERLINK CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::HYPERLINK -HYPGEOMDIST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::HYPGEOMDIST - -IF CATEGORY_LOGICAL PHPExcel_Calculation_Logical::STATEMENT_IF -IFERROR CATEGORY_LOGICAL PHPExcel_Calculation_Logical::IFERROR -IMABS CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMABS -IMAGINARY CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMAGINARY -IMARGUMENT CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMARGUMENT -IMCONJUGATE CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMCONJUGATE -IMCOS CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMCOS -IMDIV CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMDIV -IMEXP CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMEXP -IMLN CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMLN -IMLOG10 CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMLOG10 -IMLOG2 CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMLOG2 -IMPOWER CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMPOWER -IMPRODUCT CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMPRODUCT -IMREAL CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMREAL -IMSIN CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMSIN -IMSQRT CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMSQRT -IMSUB CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMSUB -IMSUM CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::IMSUM -INDEX CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::INDEX -INDIRECT CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::INDIRECT -INFO CATEGORY_INFORMATION *** Not yet Implemented -INT CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::INT -INTERCEPT CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::INTERCEPT -INTRATE CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::INTRATE -IPMT CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::IPMT -IRR CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::IRR -ISBLANK CATEGORY_INFORMATION PHPExcel_Calculation_Functions::IS_BLANK -ISERR CATEGORY_INFORMATION PHPExcel_Calculation_Functions::IS_ERR -ISERROR CATEGORY_INFORMATION PHPExcel_Calculation_Functions::IS_ERROR -ISEVEN CATEGORY_INFORMATION PHPExcel_Calculation_Functions::IS_EVEN -ISLOGICAL CATEGORY_INFORMATION PHPExcel_Calculation_Functions::IS_LOGICAL -ISNA CATEGORY_INFORMATION PHPExcel_Calculation_Functions::IS_NA -ISNONTEXT CATEGORY_INFORMATION PHPExcel_Calculation_Functions::IS_NONTEXT -ISNUMBER CATEGORY_INFORMATION PHPExcel_Calculation_Functions::IS_NUMBER -ISODD CATEGORY_INFORMATION PHPExcel_Calculation_Functions::IS_ODD -ISPMT CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::ISPMT -ISREF CATEGORY_INFORMATION *** Not yet Implemented -ISTEXT CATEGORY_INFORMATION PHPExcel_Calculation_Functions::IS_TEXT - -JIS CATEGORY_TEXT_AND_DATA *** Not yet Implemented - -KURT CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::KURT - -LARGE CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::LARGE -LCM CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::LCM -LEFT CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::LEFT -LEFTB CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::LEFT -LEN CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::STRINGLENGTH -LENB CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::STRINGLENGTH -LINEST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::LINEST -LN CATEGORY_MATH_AND_TRIG log -LOG CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::LOG_BASE -LOG10 CATEGORY_MATH_AND_TRIG log10 -LOGEST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::LOGEST -LOGINV CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::LOGINV -LOGNORMDIST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::LOGNORMDIST -LOOKUP CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::LOOKUP -LOWER CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::LOWERCASE - -MATCH CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::MATCH -MAX CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::MAX -MAXA CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::MAXA -MAXIF CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::MAXIF -MDETERM CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::MDETERM -MDURATION CATEGORY_FINANCIAL *** Not yet Implemented -MEDIAN CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::MEDIAN -MEDIANIF CATEGORY_STATISTICAL *** Not yet Implemented -MID CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::MID -MIDB CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::MID -MIN CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::MIN -MINA CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::MINA -MINIF CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::MINIF -MINUTE CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::MINUTE -MINVERSE CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::MINVERSE -MIRR CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::MIRR -MMULT CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::MMULT -MOD CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::MOD -MODE CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::MODE -MONTH CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::MONTHOFYEAR -MROUND CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::MROUND -MULTINOMIAL CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::MULTINOMIAL - -N CATEGORY_INFORMATION PHPExcel_Calculation_Functions::N -NA CATEGORY_INFORMATION PHPExcel_Calculation_Functions::NA -NEGBINOMDIST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::NEGBINOMDIST -NETWORKDAYS CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::NETWORKDAYS -NOMINAL CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::NOMINAL -NORMDIST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::NORMDIST -NORMINV CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::NORMINV -NORMSDIST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::NORMSDIST -NORMSINV CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::NORMSINV -NOT CATEGORY_LOGICAL PHPExcel_Calculation_Logical::NOT -NOW CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::DATETIMENOW -NPER CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::NPER -NPV CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::NPV - -OCT2BIN CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::OCTTOBIN -OCT2DEC CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::OCTTODEC -OCT2HEX CATEGORY_ENGINEERING PHPExcel_Calculation_Engineering::OCTTOHEX -ODD CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::ODD -ODDFPRICE CATEGORY_FINANCIAL *** Not yet Implemented -ODDFYIELD CATEGORY_FINANCIAL *** Not yet Implemented -ODDLPRICE CATEGORY_FINANCIAL *** Not yet Implemented -ODDLYIELD CATEGORY_FINANCIAL *** Not yet Implemented -OFFSET CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::OFFSET -OR CATEGORY_LOGICAL PHPExcel_Calculation_Logical::LOGICAL_OR - -PEARSON CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::CORREL -PERCENTILE CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::PERCENTILE -PERCENTRANK CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::PERCENTRANK -PERMUT CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::PERMUT -PHONETIC CATEGORY_TEXT_AND_DATA *** Not yet Implemented -PI CATEGORY_MATH_AND_TRIG pi -PMT CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::PMT -POISSON CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::POISSON -POWER CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::POWER -PPMT CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::PPMT -PRICE CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::PRICE -PRICEDISC CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::PRICEDISC -PRICEMAT CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::PRICEMAT -PROB CATEGORY_STATISTICAL *** Not yet Implemented -PRODUCT CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::PRODUCT -PROPER CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::PROPERCASE -PV CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::PV - -QUARTILE CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::QUARTILE -QUOTIENT CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::QUOTIENT - -RADIANS CATEGORY_MATH_AND_TRIG deg2rad -RAND CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::RAND -RANDBETWEEN CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::RAND -RANK CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::RANK -RATE CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::RATE -RECEIVED CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::RECEIVED -REPLACE CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::REPLACE -REPLACEB CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::REPLACE -REPT CATEGORY_TEXT_AND_DATA str_repeat -RIGHT CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::RIGHT -RIGHTB CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::RIGHT -ROMAN CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::ROMAN -ROUND CATEGORY_MATH_AND_TRIG round -ROUNDDOWN CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::ROUNDDOWN -ROUNDUP CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::ROUNDUP -ROW CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::ROW -ROWS CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::ROWS -RSQ CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::RSQ -RTD CATEGORY_LOOKUP_AND_REFERENCE *** Not yet Implemented - -SEARCH CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::SEARCHINSENSITIVE -SEARCHB CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::SEARCHINSENSITIVE -SECOND CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::SECOND -SERIESSUM CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::SERIESSUM -SIGN CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::SIGN -SIN CATEGORY_MATH_AND_TRIG sin -SINH CATEGORY_MATH_AND_TRIG sinh -SKEW CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::SKEW -SLN CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::SLN -SLOPE CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::SLOPE -SMALL CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::SMALL -SQRT CATEGORY_MATH_AND_TRIG sqrt -SQRTPI CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::SQRTPI -STANDARDIZE CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::STANDARDIZE -STDEV CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::STDEV -STDEVA CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::STDEVA -STDEVP CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::STDEVP -STDEVPA CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::STDEVPA -STEYX CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::STEYX -SUBSTITUTE CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::SUBSTITUTE -SUBTOTAL CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::SUBTOTAL -SUM CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::SUM -SUMIF CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::SUMIF -SUMIFS CATEGORY_MATH_AND_TRIG *** Not yet Implemented -SUMPRODUCT CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::SUMPRODUCT -SUMSQ CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::SUMSQ -SUMX2MY2 CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::SUMX2MY2 -SUMX2PY2 CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::SUMX2PY2 -SUMXMY2 CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::SUMXMY2 -SYD CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::SYD - -T CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::RETURNSTRING -TAN CATEGORY_MATH_AND_TRIG tan -TANH CATEGORY_MATH_AND_TRIG tanh -TBILLEQ CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::TBILLEQ -TBILLPRICE CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::TBILLPRICE -TBILLYIELD CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::TBILLYIELD -TDIST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::TDIST -TEXT CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::TEXTFORMAT -TIME CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::TIME -TIMEVALUE CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::TIMEVALUE -TINV CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::TINV -TODAY CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::DATENOW -TRANSPOSE CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::TRANSPOSE -TREND CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::TREND -TRIM CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::TRIMSPACES -TRIMMEAN CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::TRIMMEAN -TRUE CATEGORY_LOGICAL PHPExcel_Calculation_Logical::TRUE -TRUNC CATEGORY_MATH_AND_TRIG PHPExcel_Calculation_MathTrig::TRUNC -TTEST CATEGORY_STATISTICAL *** Not yet Implemented -TYPE CATEGORY_INFORMATION PHPExcel_Calculation_Functions::TYPE - -UPPER CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::UPPERCASE -USDOLLAR CATEGORY_FINANCIAL *** Not yet Implemented - -VALUE CATEGORY_TEXT_AND_DATA PHPExcel_Calculation_TextData::VALUE -VAR CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::VARFunc -VARA CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::VARA -VARP CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::VARP -VARPA CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::VARPA -VDB CATEGORY_FINANCIAL *** Not yet Implemented -VERSION CATEGORY_INFORMATION PHPExcel_Calculation_Functions::VERSION -VLOOKUP CATEGORY_LOOKUP_AND_REFERENCE PHPExcel_Calculation_LookupRef::VLOOKUP - -WEEKDAY CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::WEEKDAY -WEEKNUM CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::WEEKNUM -WEIBULL CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::WEIBULL -WORKDAY CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::WORKDAY - -XIRR CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::XIRR -XNPV CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::XNPV - -YEAR CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::YEAR -YEARFRAC CATEGORY_DATE_AND_TIME PHPExcel_Calculation_DateTime::YEARFRAC -YIELD CATEGORY_FINANCIAL *** Not yet Implemented -YIELDDISC CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::YIELDDISC -YIELDMAT CATEGORY_FINANCIAL PHPExcel_Calculation_Financial::YIELDMAT - -ZTEST CATEGORY_STATISTICAL PHPExcel_Calculation_Statistical::ZTEST diff --git a/Documentation/Functionality Cross-Reference.xls b/Documentation/Functionality Cross-Reference.xls deleted file mode 100644 index 227fd612..00000000 Binary files a/Documentation/Functionality Cross-Reference.xls and /dev/null differ diff --git a/Documentation/PHPExcel AutoFilter Reference developer documentation.doc b/Documentation/PHPExcel AutoFilter Reference developer documentation.doc deleted file mode 100644 index 208b2020..00000000 Binary files a/Documentation/PHPExcel AutoFilter Reference developer documentation.doc and /dev/null differ diff --git a/Documentation/PHPExcel Function Reference developer documentation.doc b/Documentation/PHPExcel Function Reference developer documentation.doc deleted file mode 100644 index 57d218c7..00000000 Binary files a/Documentation/PHPExcel Function Reference developer documentation.doc and /dev/null differ diff --git a/Documentation/PHPExcel User Documentation - Reading Spreadsheet Files.doc b/Documentation/PHPExcel User Documentation - Reading Spreadsheet Files.doc deleted file mode 100644 index ef3954d3..00000000 Binary files a/Documentation/PHPExcel User Documentation - Reading Spreadsheet Files.doc and /dev/null differ diff --git a/Documentation/PHPExcel developer documentation.doc b/Documentation/PHPExcel developer documentation.doc deleted file mode 100644 index bd5c0cb3..00000000 Binary files a/Documentation/PHPExcel developer documentation.doc and /dev/null differ diff --git a/Documentation/markdown/CalculationEngine/FunctionReference/01-Introduction.md b/docs/CalculationEngine/FunctionReference/01-Introduction.md similarity index 100% rename from Documentation/markdown/CalculationEngine/FunctionReference/01-Introduction.md rename to docs/CalculationEngine/FunctionReference/01-Introduction.md diff --git a/Documentation/markdown/CalculationEngine/FunctionReference/02-01-Date-and-Time-Handling.md b/docs/CalculationEngine/FunctionReference/02-01-Date-and-Time-Handling.md similarity index 100% rename from Documentation/markdown/CalculationEngine/FunctionReference/02-01-Date-and-Time-Handling.md rename to docs/CalculationEngine/FunctionReference/02-01-Date-and-Time-Handling.md diff --git a/Documentation/markdown/CalculationEngine/FunctionReference/02-General-Introduction.md b/docs/CalculationEngine/FunctionReference/02-General-Introduction.md similarity index 100% rename from Documentation/markdown/CalculationEngine/FunctionReference/02-General-Introduction.md rename to docs/CalculationEngine/FunctionReference/02-General-Introduction.md diff --git a/Documentation/markdown/CalculationEngine/FunctionReference/03-01-Cube-Functions.md b/docs/CalculationEngine/FunctionReference/03-01-Cube-Functions.md similarity index 100% rename from Documentation/markdown/CalculationEngine/FunctionReference/03-01-Cube-Functions.md rename to docs/CalculationEngine/FunctionReference/03-01-Cube-Functions.md diff --git a/Documentation/markdown/CalculationEngine/FunctionReference/03-02-Database-Functions.md b/docs/CalculationEngine/FunctionReference/03-02-Database-Functions.md similarity index 100% rename from Documentation/markdown/CalculationEngine/FunctionReference/03-02-Database-Functions.md rename to docs/CalculationEngine/FunctionReference/03-02-Database-Functions.md diff --git a/Documentation/markdown/CalculationEngine/FunctionReference/03-03-Date-and-Time-Functions.md b/docs/CalculationEngine/FunctionReference/03-03-Date-and-Time-Functions.md similarity index 100% rename from Documentation/markdown/CalculationEngine/FunctionReference/03-03-Date-and-Time-Functions.md rename to docs/CalculationEngine/FunctionReference/03-03-Date-and-Time-Functions.md diff --git a/Documentation/Examples/Calculations/Database/DAVERAGE.php b/docs/Examples/Calculations/Database/DAVERAGE.php similarity index 100% rename from Documentation/Examples/Calculations/Database/DAVERAGE.php rename to docs/Examples/Calculations/Database/DAVERAGE.php diff --git a/Documentation/Examples/Calculations/Database/DCOUNT.php b/docs/Examples/Calculations/Database/DCOUNT.php similarity index 100% rename from Documentation/Examples/Calculations/Database/DCOUNT.php rename to docs/Examples/Calculations/Database/DCOUNT.php diff --git a/Documentation/Examples/Calculations/Database/DGET.php b/docs/Examples/Calculations/Database/DGET.php similarity index 100% rename from Documentation/Examples/Calculations/Database/DGET.php rename to docs/Examples/Calculations/Database/DGET.php diff --git a/Documentation/Examples/Calculations/Database/DMAX.php b/docs/Examples/Calculations/Database/DMAX.php similarity index 100% rename from Documentation/Examples/Calculations/Database/DMAX.php rename to docs/Examples/Calculations/Database/DMAX.php diff --git a/Documentation/Examples/Calculations/Database/DMIN.php b/docs/Examples/Calculations/Database/DMIN.php similarity index 100% rename from Documentation/Examples/Calculations/Database/DMIN.php rename to docs/Examples/Calculations/Database/DMIN.php diff --git a/Documentation/Examples/Calculations/Database/DPRODUCT.php b/docs/Examples/Calculations/Database/DPRODUCT.php similarity index 100% rename from Documentation/Examples/Calculations/Database/DPRODUCT.php rename to docs/Examples/Calculations/Database/DPRODUCT.php diff --git a/Documentation/Examples/Calculations/Database/DSTDEV.php b/docs/Examples/Calculations/Database/DSTDEV.php similarity index 100% rename from Documentation/Examples/Calculations/Database/DSTDEV.php rename to docs/Examples/Calculations/Database/DSTDEV.php diff --git a/Documentation/Examples/Calculations/Database/DSTDEVP.php b/docs/Examples/Calculations/Database/DSTDEVP.php similarity index 100% rename from Documentation/Examples/Calculations/Database/DSTDEVP.php rename to docs/Examples/Calculations/Database/DSTDEVP.php diff --git a/Documentation/Examples/Calculations/Database/DVAR.php b/docs/Examples/Calculations/Database/DVAR.php similarity index 100% rename from Documentation/Examples/Calculations/Database/DVAR.php rename to docs/Examples/Calculations/Database/DVAR.php diff --git a/Documentation/Examples/Calculations/Database/DVARP.php b/docs/Examples/Calculations/Database/DVARP.php similarity index 100% rename from Documentation/Examples/Calculations/Database/DVARP.php rename to docs/Examples/Calculations/Database/DVARP.php diff --git a/docs/Examples/Calculations/DateTime/DATE.php b/docs/Examples/Calculations/DateTime/DATE.php new file mode 100644 index 00000000..e2c47216 --- /dev/null +++ b/docs/Examples/Calculations/DateTime/DATE.php @@ -0,0 +1,79 @@ + + + + + +PHPExcel Calculation Examples + + + + +

DATE

+

Returns the serial number of a particular date.

+getActiveSheet(); + +// Add some data +$testDates = [[2012, 3, 26], [2012, 2, 29], [2012, 4, 1], [2012, 12, 25], + [2012, 10, 31], [2012, 11, 5], [2012, 1, 1], [2012, 3, 17], + [2011, 2, 29], [7, 5, 3], [2012, 13, 1], [2012, 11, 45], + [2012, 0, 0], [2012, 1, 0], [2012, 0, 1], + [2012, -2, 2], [2012, 2, -2], [2012, -2, -2], + ]; +$testDateCount = count($testDates); + +$worksheet->fromArray($testDates, null, 'A1', true); + +for ($row = 1; $row <= $testDateCount; ++$row) { + $worksheet->setCellValue('D' . $row, '=DATE(A' . $row . ',B' . $row . ',C' . $row . ')'); + $worksheet->setCellValue('E' . $row, '=D' . $row); +} +$worksheet->getStyle('E1:E' . $testDateCount) + ->getNumberFormat() + ->setFormatCode('yyyy-mmm-dd'); + +echo '
'; + +// Test the formulae +?> + + + + + + + + + + + + + '; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + } + ?> +
Date ValueFormulaExcel DateStampFormatted DateStamp
YearMonthDay
' , $worksheet->getCell('A' . $row)->getFormattedValue() , '' , $worksheet->getCell('B' . $row)->getFormattedValue() , '' , $worksheet->getCell('C' . $row)->getFormattedValue() , '' , $worksheet->getCell('D' . $row)->getValue() , '' , $worksheet->getCell('D' . $row)->getFormattedValue() , '' , $worksheet->getCell('E' . $row)->getFormattedValue() , '
\ No newline at end of file diff --git a/docs/Examples/Calculations/DateTime/DATEVALUE.php b/docs/Examples/Calculations/DateTime/DATEVALUE.php new file mode 100644 index 00000000..481a52e4 --- /dev/null +++ b/docs/Examples/Calculations/DateTime/DATEVALUE.php @@ -0,0 +1,72 @@ + + + + + +PHPExcel Calculation Examples + + + + +

DATEVALUE

+

Converts a date in the form of text to a serial number.

+getActiveSheet(); + +// Add some data +$testDates = ['26 March 2012', '29 Feb 2012', 'April 1, 2012', '25/12/2012', + '2012-Oct-31', '5th November', 'January 1st', 'April 2012', + '17-03', '03-2012', '29 Feb 2011', '03-05-07', + '03-MAY-07', '03-13-07', + ]; +$testDateCount = count($testDates); + +for ($row = 1; $row <= $testDateCount; ++$row) { + $worksheet->setCellValue('A' . $row, $testDates[$row - 1]); + $worksheet->setCellValue('B' . $row, '=DATEVALUE(A' . $row . ')'); + $worksheet->setCellValue('C' . $row, '=B' . $row); +} + +$worksheet->getStyle('C1:C' . $testDateCount) + ->getNumberFormat() + ->setFormatCode('yyyy-mmm-dd'); + +echo '
'; + +// Test the formulae +?> +

Warning: The PHPExcel DATEVALUE() function accepts a wider range of date formats than MS Excel's DATEFORMAT() function.

+ + + + + + + + '; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + } + ?> +
Date StringFormulaExcel DateStampFormatted DateStamp
' , $worksheet->getCell('A' . $row)->getFormattedValue() , '' , $worksheet->getCell('B' . $row)->getValue() , '' , $worksheet->getCell('B' . $row)->getFormattedValue() , '' , $worksheet->getCell('C' . $row)->getFormattedValue() , '
\ No newline at end of file diff --git a/Documentation/Examples/Calculations/DateTime/TIME.php b/docs/Examples/Calculations/DateTime/TIME.php similarity index 50% rename from Documentation/Examples/Calculations/DateTime/TIME.php rename to docs/Examples/Calculations/DateTime/TIME.php index f4522768..19654a77 100644 --- a/Documentation/Examples/Calculations/DateTime/TIME.php +++ b/docs/Examples/Calculations/DateTime/TIME.php @@ -5,7 +5,6 @@ set_time_limit(0); date_default_timezone_set('Europe/London'); - ?> @@ -26,32 +25,29 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../../../../Classes/'); /** Include PHPExcel */ include 'PHPExcel.php'; - // Create new PHPExcel object $objPHPExcel = new PHPExcel(); $worksheet = $objPHPExcel->getActiveSheet(); // Add some data -$testDates = array( array(3,15), array(13,15), array(15,15,15), array(3,15,30), - array(15,15,15), array(5), array(9,15,0), array(9,15,-1), - array(13,-14,-15), array(0,0,-1) - ); +$testDates = [[3, 15], [13, 15], [15, 15, 15], [3, 15, 30], + [15, 15, 15], [5], [9, 15, 0], [9, 15, -1], + [13, -14, -15], [0, 0, -1], + ]; $testDateCount = count($testDates); -$worksheet->fromArray($testDates,NULL,'A1',true); +$worksheet->fromArray($testDates, null, 'A1', true); for ($row = 1; $row <= $testDateCount; ++$row) { - $worksheet->setCellValue('D'.$row, '=TIME(A'.$row.',B'.$row.',C'.$row.')'); - $worksheet->setCellValue('E'.$row, '=D'.$row); + $worksheet->setCellValue('D' . $row, '=TIME(A' . $row . ',B' . $row . ',C' . $row . ')'); + $worksheet->setCellValue('E' . $row, '=D' . $row); } -$worksheet->getStyle('E1:E'.$testDateCount) +$worksheet->getStyle('E1:E' . $testDateCount) ->getNumberFormat() ->setFormatCode('hh:mm:ss'); - echo '
'; - // Test the formulae ?> @@ -67,15 +63,15 @@ echo '
'; '; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - } - ?> + for ($row = 1; $row <= $testDateCount; ++$row) { + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + } + ?>
Second
' , $worksheet->getCell('A'.$row)->getFormattedValue() , '' , $worksheet->getCell('B'.$row)->getFormattedValue() , '' , $worksheet->getCell('C'.$row)->getFormattedValue() , '' , $worksheet->getCell('D'.$row)->getValue() , '' , $worksheet->getCell('D'.$row)->getFormattedValue() , '' , $worksheet->getCell('E'.$row)->getFormattedValue() , '
' , $worksheet->getCell('A' . $row)->getFormattedValue() , '' , $worksheet->getCell('B' . $row)->getFormattedValue() , '' , $worksheet->getCell('C' . $row)->getFormattedValue() , '' , $worksheet->getCell('D' . $row)->getValue() , '' , $worksheet->getCell('D' . $row)->getFormattedValue() , '' , $worksheet->getCell('E' . $row)->getFormattedValue() , '
\ No newline at end of file diff --git a/Documentation/Examples/Calculations/DateTime/TIMEVALUE.php b/docs/Examples/Calculations/DateTime/TIMEVALUE.php similarity index 51% rename from Documentation/Examples/Calculations/DateTime/TIMEVALUE.php rename to docs/Examples/Calculations/DateTime/TIMEVALUE.php index 89e0ba49..de351d5a 100644 --- a/Documentation/Examples/Calculations/DateTime/TIMEVALUE.php +++ b/docs/Examples/Calculations/DateTime/TIMEVALUE.php @@ -5,7 +5,6 @@ set_time_limit(0); date_default_timezone_set('Europe/London'); - ?> @@ -26,30 +25,27 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../../../../Classes/'); /** Include PHPExcel */ include 'PHPExcel.php'; - // Create new PHPExcel object $objPHPExcel = new PHPExcel(); $worksheet = $objPHPExcel->getActiveSheet(); // Add some data -$testDates = array( '3:15', '13:15', '15:15:15', '3:15 AM', '3:15 PM', '5PM', '9:15AM', '13:15AM' - ); +$testDates = ['3:15', '13:15', '15:15:15', '3:15 AM', '3:15 PM', '5PM', '9:15AM', '13:15AM', + ]; $testDateCount = count($testDates); -for($row = 1; $row <= $testDateCount; ++$row) { - $worksheet->setCellValue('A'.$row, $testDates[$row-1]); - $worksheet->setCellValue('B'.$row, '=TIMEVALUE(A'.$row.')'); - $worksheet->setCellValue('C'.$row, '=B'.$row); +for ($row = 1; $row <= $testDateCount; ++$row) { + $worksheet->setCellValue('A' . $row, $testDates[$row - 1]); + $worksheet->setCellValue('B' . $row, '=TIMEVALUE(A' . $row . ')'); + $worksheet->setCellValue('C' . $row, '=B' . $row); } -$worksheet->getStyle('C1:C'.$testDateCount) +$worksheet->getStyle('C1:C' . $testDateCount) ->getNumberFormat() ->setFormatCode('hh:mm:ss'); - echo '
'; - // Test the formulae ?> @@ -60,13 +56,13 @@ echo '
'; '; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - } - ?> + for ($row = 1; $row <= $testDateCount; ++$row) { + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + } + ?>
Formatted TimeStamp
' , $worksheet->getCell('A'.$row)->getFormattedValue() , '' , $worksheet->getCell('B'.$row)->getValue() , '' , $worksheet->getCell('B'.$row)->getFormattedValue() , '' , $worksheet->getCell('C'.$row)->getFormattedValue() , '
' , $worksheet->getCell('A' . $row)->getFormattedValue() , '' , $worksheet->getCell('B' . $row)->getValue() , '' , $worksheet->getCell('B' . $row)->getFormattedValue() , '' , $worksheet->getCell('C' . $row)->getFormattedValue() , '
\ No newline at end of file diff --git a/Documentation/Examples/Calculations/index.php b/docs/Examples/Calculations/index.php similarity index 100% rename from Documentation/Examples/Calculations/index.php rename to docs/Examples/Calculations/index.php diff --git a/Documentation/Examples/Reader/exampleReader01.php b/docs/Examples/Reader/exampleReader01.php similarity index 100% rename from Documentation/Examples/Reader/exampleReader01.php rename to docs/Examples/Reader/exampleReader01.php diff --git a/Documentation/Examples/Reader/exampleReader02.php b/docs/Examples/Reader/exampleReader02.php similarity index 100% rename from Documentation/Examples/Reader/exampleReader02.php rename to docs/Examples/Reader/exampleReader02.php diff --git a/Documentation/Examples/Reader/exampleReader03.php b/docs/Examples/Reader/exampleReader03.php similarity index 100% rename from Documentation/Examples/Reader/exampleReader03.php rename to docs/Examples/Reader/exampleReader03.php diff --git a/Documentation/Examples/Reader/exampleReader04.php b/docs/Examples/Reader/exampleReader04.php similarity index 100% rename from Documentation/Examples/Reader/exampleReader04.php rename to docs/Examples/Reader/exampleReader04.php diff --git a/Documentation/Examples/Reader/exampleReader05.php b/docs/Examples/Reader/exampleReader05.php similarity index 100% rename from Documentation/Examples/Reader/exampleReader05.php rename to docs/Examples/Reader/exampleReader05.php diff --git a/Documentation/Examples/Reader/exampleReader06.php b/docs/Examples/Reader/exampleReader06.php similarity index 100% rename from Documentation/Examples/Reader/exampleReader06.php rename to docs/Examples/Reader/exampleReader06.php diff --git a/Documentation/Examples/Reader/exampleReader07.php b/docs/Examples/Reader/exampleReader07.php similarity index 100% rename from Documentation/Examples/Reader/exampleReader07.php rename to docs/Examples/Reader/exampleReader07.php diff --git a/Documentation/Examples/Reader/exampleReader08.php b/docs/Examples/Reader/exampleReader08.php similarity index 100% rename from Documentation/Examples/Reader/exampleReader08.php rename to docs/Examples/Reader/exampleReader08.php diff --git a/Documentation/Examples/Reader/exampleReader09.php b/docs/Examples/Reader/exampleReader09.php similarity index 100% rename from Documentation/Examples/Reader/exampleReader09.php rename to docs/Examples/Reader/exampleReader09.php diff --git a/Documentation/Examples/Reader/exampleReader10.php b/docs/Examples/Reader/exampleReader10.php similarity index 100% rename from Documentation/Examples/Reader/exampleReader10.php rename to docs/Examples/Reader/exampleReader10.php diff --git a/Documentation/Examples/Reader/exampleReader11.php b/docs/Examples/Reader/exampleReader11.php similarity index 100% rename from Documentation/Examples/Reader/exampleReader11.php rename to docs/Examples/Reader/exampleReader11.php diff --git a/Documentation/Examples/Reader/exampleReader12.php b/docs/Examples/Reader/exampleReader12.php similarity index 100% rename from Documentation/Examples/Reader/exampleReader12.php rename to docs/Examples/Reader/exampleReader12.php diff --git a/Documentation/Examples/Reader/exampleReader13.php b/docs/Examples/Reader/exampleReader13.php similarity index 100% rename from Documentation/Examples/Reader/exampleReader13.php rename to docs/Examples/Reader/exampleReader13.php diff --git a/Documentation/Examples/Reader/exampleReader14.php b/docs/Examples/Reader/exampleReader14.php similarity index 100% rename from Documentation/Examples/Reader/exampleReader14.php rename to docs/Examples/Reader/exampleReader14.php diff --git a/Documentation/Examples/Reader/exampleReader15.php b/docs/Examples/Reader/exampleReader15.php similarity index 100% rename from Documentation/Examples/Reader/exampleReader15.php rename to docs/Examples/Reader/exampleReader15.php diff --git a/Documentation/Examples/Reader/exampleReader16.php b/docs/Examples/Reader/exampleReader16.php similarity index 100% rename from Documentation/Examples/Reader/exampleReader16.php rename to docs/Examples/Reader/exampleReader16.php diff --git a/Documentation/Examples/Reader/exampleReader17.php b/docs/Examples/Reader/exampleReader17.php similarity index 100% rename from Documentation/Examples/Reader/exampleReader17.php rename to docs/Examples/Reader/exampleReader17.php diff --git a/Documentation/Examples/Reader/exampleReader18.php b/docs/Examples/Reader/exampleReader18.php similarity index 82% rename from Documentation/Examples/Reader/exampleReader18.php rename to docs/Examples/Reader/exampleReader18.php index 2f9ac8b1..8e88d39f 100644 --- a/Documentation/Examples/Reader/exampleReader18.php +++ b/docs/Examples/Reader/exampleReader18.php @@ -25,7 +25,6 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/'); /** PHPExcel_IOFactory */ include 'PHPExcel/IOFactory.php'; - $inputFileType = 'Xls'; // $inputFileType = 'Xlsx'; // $inputFileType = 'Excel2003XML'; @@ -33,7 +32,7 @@ $inputFileType = 'Xls'; // $inputFileType = 'Gnumeric'; $inputFileName = './sampleData/example1.xls'; -echo 'Loading file ',pathinfo($inputFileName,PATHINFO_BASENAME),' information using IOFactory with a defined reader type of ',$inputFileType,'
'; +echo 'Loading file ',pathinfo($inputFileName, PATHINFO_BASENAME),' information using IOFactory with a defined reader type of ',$inputFileType,'
'; $objReader = PHPExcel_IOFactory::createReader($inputFileType); $worksheetNames = $objReader->listWorksheetNames($inputFileName); @@ -41,7 +40,7 @@ $worksheetNames = $objReader->listWorksheetNames($inputFileName); echo '

Worksheet Names

'; echo '
    '; foreach ($worksheetNames as $worksheetName) { - echo '
  1. ', $worksheetName, '
  2. '; + echo '
  3. ', $worksheetName, '
  4. '; } echo '
'; diff --git a/Documentation/Examples/Reader/exampleReader19.php b/docs/Examples/Reader/exampleReader19.php similarity index 69% rename from Documentation/Examples/Reader/exampleReader19.php rename to docs/Examples/Reader/exampleReader19.php index 7c4998c7..e8bfb4dd 100644 --- a/Documentation/Examples/Reader/exampleReader19.php +++ b/docs/Examples/Reader/exampleReader19.php @@ -25,7 +25,6 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/'); /** PHPExcel_IOFactory */ include 'PHPExcel/IOFactory.php'; - $inputFileType = 'Xls'; // $inputFileType = 'Xlsx'; // $inputFileType = 'Excel2003XML'; @@ -33,7 +32,7 @@ $inputFileType = 'Xls'; // $inputFileType = 'Gnumeric'; $inputFileName = './sampleData/example1.xls'; -echo 'Loading file ',pathinfo($inputFileName,PATHINFO_BASENAME),' information using IOFactory with a defined reader type of ',$inputFileType,'
'; +echo 'Loading file ',pathinfo($inputFileName, PATHINFO_BASENAME),' information using IOFactory with a defined reader type of ',$inputFileType,'
'; $objReader = PHPExcel_IOFactory::createReader($inputFileType); $worksheetData = $objReader->listWorksheetInfo($inputFileName); @@ -41,10 +40,10 @@ $worksheetData = $objReader->listWorksheetInfo($inputFileName); echo '

Worksheet Information

'; echo '
    '; foreach ($worksheetData as $worksheet) { - echo '
  1. ', $worksheet['worksheetName'], '
    '; - echo 'Rows: ', $worksheet['totalRows'], ' Columns: ', $worksheet['totalColumns'], '
    '; - echo 'Cell Range: A1:', $worksheet['lastColumnLetter'], $worksheet['totalRows']; - echo '
  2. '; + echo '
  3. ', $worksheet['worksheetName'], '
    '; + echo 'Rows: ', $worksheet['totalRows'], ' Columns: ', $worksheet['totalColumns'], '
    '; + echo 'Cell Range: A1:', $worksheet['lastColumnLetter'], $worksheet['totalRows']; + echo '
  4. '; } echo '
'; diff --git a/Documentation/Examples/Reader/sampleData/example1.csv b/docs/Examples/Reader/sampleData/example1.csv similarity index 100% rename from Documentation/Examples/Reader/sampleData/example1.csv rename to docs/Examples/Reader/sampleData/example1.csv diff --git a/Documentation/Examples/Reader/sampleData/example1.tsv b/docs/Examples/Reader/sampleData/example1.tsv similarity index 100% rename from Documentation/Examples/Reader/sampleData/example1.tsv rename to docs/Examples/Reader/sampleData/example1.tsv diff --git a/Documentation/Examples/Reader/sampleData/example1.xls b/docs/Examples/Reader/sampleData/example1.xls similarity index 100% rename from Documentation/Examples/Reader/sampleData/example1.xls rename to docs/Examples/Reader/sampleData/example1.xls diff --git a/Documentation/Examples/Reader/sampleData/example2.csv b/docs/Examples/Reader/sampleData/example2.csv similarity index 100% rename from Documentation/Examples/Reader/sampleData/example2.csv rename to docs/Examples/Reader/sampleData/example2.csv diff --git a/Documentation/Examples/Reader/sampleData/example2.xls b/docs/Examples/Reader/sampleData/example2.xls similarity index 100% rename from Documentation/Examples/Reader/sampleData/example2.xls rename to docs/Examples/Reader/sampleData/example2.xls diff --git a/Documentation/Examples/Reading WorkBook Data/exampleWorkBookReader01.php b/docs/Examples/Reading WorkBook Data/exampleWorkBookReader01.php similarity index 64% rename from Documentation/Examples/Reading WorkBook Data/exampleWorkBookReader01.php rename to docs/Examples/Reading WorkBook Data/exampleWorkBookReader01.php index 8d8cb558..2ecc635a 100644 --- a/Documentation/Examples/Reading WorkBook Data/exampleWorkBookReader01.php +++ b/docs/Examples/Reading WorkBook Data/exampleWorkBookReader01.php @@ -25,69 +25,66 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/'); /** PHPExcel_IOFactory */ include 'PHPExcel/IOFactory.php'; - $inputFileType = 'Xls'; $inputFileName = './sampleData/example1.xls'; -/** Create a new Reader of the type defined in $inputFileType **/ +/* Create a new Reader of the type defined in $inputFileType **/ $objReader = PHPExcel_IOFactory::createReader($inputFileType); -/** Load $inputFileName to a PHPExcel Object **/ +/* Load $inputFileName to a PHPExcel Object **/ $objPHPExcel = $objReader->load($inputFileName); - echo '
'; -/** Read the document's creator property **/ +/* Read the document's creator property **/ $creator = $objPHPExcel->getProperties()->getCreator(); echo 'Document Creator: ',$creator,'
'; -/** Read the Date when the workbook was created (as a PHP timestamp value) **/ +/* Read the Date when the workbook was created (as a PHP timestamp value) **/ $creationDatestamp = $objPHPExcel->getProperties()->getCreated(); -/** Format the date and time using the standard PHP date() function **/ -$creationDate = date('l, d<\s\up>S F Y',$creationDatestamp); -$creationTime = date('g:i A',$creationDatestamp); +/* Format the date and time using the standard PHP date() function **/ +$creationDate = date('l, d<\s\up>S F Y', $creationDatestamp); +$creationTime = date('g:i A', $creationDatestamp); echo 'Created On: ',$creationDate,' at ',$creationTime,'
'; -/** Read the name of the last person to modify this workbook **/ +/* Read the name of the last person to modify this workbook **/ $modifiedBy = $objPHPExcel->getProperties()->getLastModifiedBy(); echo 'Last Modified By: ',$modifiedBy,'
'; -/** Read the Date when the workbook was last modified (as a PHP timestamp value) **/ +/* Read the Date when the workbook was last modified (as a PHP timestamp value) **/ $modifiedDatestamp = $objPHPExcel->getProperties()->getModified(); -/** Format the date and time using the standard PHP date() function **/ -$modifiedDate = date('l, d<\s\up>S F Y',$modifiedDatestamp); -$modifiedTime = date('g:i A',$modifiedDatestamp); +/* Format the date and time using the standard PHP date() function **/ +$modifiedDate = date('l, d<\s\up>S F Y', $modifiedDatestamp); +$modifiedTime = date('g:i A', $modifiedDatestamp); echo 'Last Modified On: ',$modifiedDate,' at ',$modifiedTime,'
'; -/** Read the workbook title property **/ +/* Read the workbook title property **/ $workbookTitle = $objPHPExcel->getProperties()->getTitle(); echo 'Title: ',$workbookTitle,'
'; -/** Read the workbook description property **/ +/* Read the workbook description property **/ $description = $objPHPExcel->getProperties()->getDescription(); echo 'Description: ',$description,'
'; -/** Read the workbook subject property **/ +/* Read the workbook subject property **/ $subject = $objPHPExcel->getProperties()->getSubject(); echo 'Subject: ',$subject,'
'; -/** Read the workbook keywords property **/ +/* Read the workbook keywords property **/ $keywords = $objPHPExcel->getProperties()->getKeywords(); echo 'Keywords: ',$keywords,'
'; -/** Read the workbook category property **/ +/* Read the workbook category property **/ $category = $objPHPExcel->getProperties()->getCategory(); echo 'Category: ',$category,'
'; -/** Read the workbook company property **/ +/* Read the workbook company property **/ $company = $objPHPExcel->getProperties()->getCompany(); echo 'Company: ',$company,'
'; -/** Read the workbook manager property **/ +/* Read the workbook manager property **/ $manager = $objPHPExcel->getProperties()->getManager(); echo 'Manager: ',$manager,'
'; - ?> diff --git a/Documentation/Examples/Reading WorkBook Data/exampleWorkBookReader02.php b/docs/Examples/Reading WorkBook Data/exampleWorkBookReader02.php similarity index 75% rename from Documentation/Examples/Reading WorkBook Data/exampleWorkBookReader02.php rename to docs/Examples/Reading WorkBook Data/exampleWorkBookReader02.php index 9c56f1ff..55e7594d 100644 --- a/Documentation/Examples/Reading WorkBook Data/exampleWorkBookReader02.php +++ b/docs/Examples/Reading WorkBook Data/exampleWorkBookReader02.php @@ -25,28 +25,24 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/'); /** PHPExcel_IOFactory */ include 'PHPExcel/IOFactory.php'; - $inputFileType = 'Xlsx'; $inputFileName = './sampleData/example1.xlsx'; -/** Create a new Reader of the type defined in $inputFileType **/ +/* Create a new Reader of the type defined in $inputFileType **/ $objReader = PHPExcel_IOFactory::createReader($inputFileType); -/** Load $inputFileName to a PHPExcel Object **/ +/* Load $inputFileName to a PHPExcel Object **/ $objPHPExcel = $objReader->load($inputFileName); - echo '
'; -/** Read an array list of any custom properties for this document **/ +/* Read an array list of any custom properties for this document **/ $customPropertyList = $objPHPExcel->getProperties()->getCustomProperties(); echo 'Custom Property names:
'; -foreach($customPropertyList as $customPropertyName) { - echo $customPropertyName,'
'; +foreach ($customPropertyList as $customPropertyName) { + echo $customPropertyName,'
'; } - - ?> diff --git a/docs/Examples/Reading WorkBook Data/exampleWorkBookReader03.php b/docs/Examples/Reading WorkBook Data/exampleWorkBookReader03.php new file mode 100644 index 00000000..3d1e8348 --- /dev/null +++ b/docs/Examples/Reading WorkBook Data/exampleWorkBookReader03.php @@ -0,0 +1,76 @@ + + + + + +PHPExcel Reading WorkBook Data Example #03 + + + + +

PHPExcel Reading WorkBook Data Example #03

+

Read Custom Property Values for a WorkBook

+load($inputFileName); + +echo '
'; + +/* Read an array list of any custom properties for this document **/ +$customPropertyList = $objPHPExcel->getProperties()->getCustomProperties(); + +echo 'Custom Properties:
'; +/* Loop through the list of custom properties **/ +foreach ($customPropertyList as $customPropertyName) { + echo '',$customPropertyName,': '; + /* Retrieve the property value **/ + $propertyValue = $objPHPExcel->getProperties()->getCustomPropertyValue($customPropertyName); + /* Retrieve the property type **/ + $propertyType = $objPHPExcel->getProperties()->getCustomPropertyType($customPropertyName); + + /* Manipulate properties as appropriate for display purposes **/ + switch ($propertyType) { + case 'i' : // integer + $propertyType = 'integer number'; + break; + case 'f' : // float + $propertyType = 'floating point number'; + break; + case 's' : // string + $propertyType = 'string'; + break; + case 'd' : // date + $propertyValue = date('l, d<\s\up>S F Y g:i A', $propertyValue); + $propertyType = 'date'; + break; + case 'b' : // boolean + $propertyValue = ($propertyValue) ? 'TRUE' : 'FALSE'; + $propertyType = 'boolean'; + break; + } + + echo $propertyValue,' (',$propertyType,')
'; +} + +?> + + diff --git a/Documentation/Examples/Reading WorkBook Data/exampleWorkBookReader04.php b/docs/Examples/Reading WorkBook Data/exampleWorkBookReader04.php similarity index 69% rename from Documentation/Examples/Reading WorkBook Data/exampleWorkBookReader04.php rename to docs/Examples/Reading WorkBook Data/exampleWorkBookReader04.php index c7d55822..063d5768 100644 --- a/Documentation/Examples/Reading WorkBook Data/exampleWorkBookReader04.php +++ b/docs/Examples/Reading WorkBook Data/exampleWorkBookReader04.php @@ -25,31 +25,28 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../../../Classes/'); /** PHPExcel_IOFactory */ include 'PHPExcel/IOFactory.php'; - $inputFileType = 'Xls'; $inputFileName = './sampleData/example2.xls'; -/** Create a new Reader of the type defined in $inputFileType **/ +/* Create a new Reader of the type defined in $inputFileType **/ $objReader = PHPExcel_IOFactory::createReader($inputFileType); -/** Load $inputFileName to a PHPExcel Object **/ +/* Load $inputFileName to a PHPExcel Object **/ $objPHPExcel = $objReader->load($inputFileName); - echo '
'; echo 'Reading the number of Worksheets in the WorkBook
'; -/** Use the PHPExcel object's getSheetCount() method to get a count of the number of WorkSheets in the WorkBook */ +/* Use the PHPExcel object's getSheetCount() method to get a count of the number of WorkSheets in the WorkBook */ $sheetCount = $objPHPExcel->getSheetCount(); echo 'There ',(($sheetCount == 1) ? 'is' : 'are'),' ',$sheetCount,' WorkSheet',(($sheetCount == 1) ? '' : 's'),' in the WorkBook

'; echo 'Reading the names of Worksheets in the WorkBook
'; -/** Use the PHPExcel object's getSheetNames() method to get an array listing the names/titles of the WorkSheets in the WorkBook */ +/* Use the PHPExcel object's getSheetNames() method to get an array listing the names/titles of the WorkSheets in the WorkBook */ $sheetNames = $objPHPExcel->getSheetNames(); -foreach($sheetNames as $sheetIndex => $sheetName) { - echo 'WorkSheet #',$sheetIndex,' is named "',$sheetName,'"
'; +foreach ($sheetNames as $sheetIndex => $sheetName) { + echo 'WorkSheet #',$sheetIndex,' is named "',$sheetName,'"
'; } - ?> diff --git a/Documentation/Examples/Reading WorkBook Data/sampleData/example1.xls b/docs/Examples/Reading WorkBook Data/sampleData/example1.xls similarity index 100% rename from Documentation/Examples/Reading WorkBook Data/sampleData/example1.xls rename to docs/Examples/Reading WorkBook Data/sampleData/example1.xls diff --git a/Documentation/Examples/Reading WorkBook Data/sampleData/example1.xlsx b/docs/Examples/Reading WorkBook Data/sampleData/example1.xlsx similarity index 100% rename from Documentation/Examples/Reading WorkBook Data/sampleData/example1.xlsx rename to docs/Examples/Reading WorkBook Data/sampleData/example1.xlsx diff --git a/Documentation/Examples/Reading WorkBook Data/sampleData/example2.xls b/docs/Examples/Reading WorkBook Data/sampleData/example2.xls similarity index 100% rename from Documentation/Examples/Reading WorkBook Data/sampleData/example2.xls rename to docs/Examples/Reading WorkBook Data/sampleData/example2.xls diff --git a/Documentation/Examples/index.php b/docs/Examples/index.php similarity index 100% rename from Documentation/Examples/index.php rename to docs/Examples/index.php diff --git a/Documentation/markdown/Features/Autofilters/01-Autofilters.md b/docs/Features/Autofilters/01-Autofilters.md similarity index 100% rename from Documentation/markdown/Features/Autofilters/01-Autofilters.md rename to docs/Features/Autofilters/01-Autofilters.md diff --git a/Documentation/markdown/Features/Autofilters/02-Setting-an-Autofilter.md b/docs/Features/Autofilters/02-Setting-an-Autofilter.md similarity index 100% rename from Documentation/markdown/Features/Autofilters/02-Setting-an-Autofilter.md rename to docs/Features/Autofilters/02-Setting-an-Autofilter.md diff --git a/Documentation/markdown/Features/Autofilters/03-Autofilter-Expressions.md b/docs/Features/Autofilters/03-Autofilter-Expressions.md similarity index 100% rename from Documentation/markdown/Features/Autofilters/03-Autofilter-Expressions.md rename to docs/Features/Autofilters/03-Autofilter-Expressions.md diff --git a/Documentation/markdown/Features/Autofilters/04-01-Autofilter-Expressions-Simple.md b/docs/Features/Autofilters/04-01-Autofilter-Expressions-Simple.md similarity index 100% rename from Documentation/markdown/Features/Autofilters/04-01-Autofilter-Expressions-Simple.md rename to docs/Features/Autofilters/04-01-Autofilter-Expressions-Simple.md diff --git a/Documentation/markdown/Features/Autofilters/04-02-Autofilter-Expressions-Dategroup.md b/docs/Features/Autofilters/04-02-Autofilter-Expressions-Dategroup.md similarity index 100% rename from Documentation/markdown/Features/Autofilters/04-02-Autofilter-Expressions-Dategroup.md rename to docs/Features/Autofilters/04-02-Autofilter-Expressions-Dategroup.md diff --git a/Documentation/markdown/Features/Autofilters/04-03-Autofilter-Expressions-Custom.md b/docs/Features/Autofilters/04-03-Autofilter-Expressions-Custom.md similarity index 100% rename from Documentation/markdown/Features/Autofilters/04-03-Autofilter-Expressions-Custom.md rename to docs/Features/Autofilters/04-03-Autofilter-Expressions-Custom.md diff --git a/Documentation/markdown/Features/Autofilters/04-04-Autofilter-Expressions-Dynamic.md b/docs/Features/Autofilters/04-04-Autofilter-Expressions-Dynamic.md similarity index 100% rename from Documentation/markdown/Features/Autofilters/04-04-Autofilter-Expressions-Dynamic.md rename to docs/Features/Autofilters/04-04-Autofilter-Expressions-Dynamic.md diff --git a/Documentation/markdown/Features/Autofilters/04-05-Autofilter-Expressions-Topten.md b/docs/Features/Autofilters/04-05-Autofilter-Expressions-Topten.md similarity index 100% rename from Documentation/markdown/Features/Autofilters/04-05-Autofilter-Expressions-Topten.md rename to docs/Features/Autofilters/04-05-Autofilter-Expressions-Topten.md diff --git a/Documentation/markdown/Features/Autofilters/05-Executing-Autofilters.md b/docs/Features/Autofilters/05-Executing-Autofilters.md similarity index 100% rename from Documentation/markdown/Features/Autofilters/05-Executing-Autofilters.md rename to docs/Features/Autofilters/05-Executing-Autofilters.md diff --git a/Documentation/markdown/Features/Autofilters/06-Autofilter-Sorting.md b/docs/Features/Autofilters/06-Autofilter-Sorting.md similarity index 100% rename from Documentation/markdown/Features/Autofilters/06-Autofilter-Sorting.md rename to docs/Features/Autofilters/06-Autofilter-Sorting.md diff --git a/Documentation/markdown/Features/Autofilters/images/01-01-autofilter.png b/docs/Features/Autofilters/images/01-01-autofilter.png similarity index 100% rename from Documentation/markdown/Features/Autofilters/images/01-01-autofilter.png rename to docs/Features/Autofilters/images/01-01-autofilter.png diff --git a/Documentation/markdown/Features/Autofilters/images/01-02-autofilter.png b/docs/Features/Autofilters/images/01-02-autofilter.png similarity index 100% rename from Documentation/markdown/Features/Autofilters/images/01-02-autofilter.png rename to docs/Features/Autofilters/images/01-02-autofilter.png diff --git a/Documentation/markdown/Features/Autofilters/images/01-03-filter-icon-1.png b/docs/Features/Autofilters/images/01-03-filter-icon-1.png similarity index 100% rename from Documentation/markdown/Features/Autofilters/images/01-03-filter-icon-1.png rename to docs/Features/Autofilters/images/01-03-filter-icon-1.png diff --git a/Documentation/markdown/Features/Autofilters/images/01-03-filter-icon-2.png b/docs/Features/Autofilters/images/01-03-filter-icon-2.png similarity index 100% rename from Documentation/markdown/Features/Autofilters/images/01-03-filter-icon-2.png rename to docs/Features/Autofilters/images/01-03-filter-icon-2.png diff --git a/Documentation/markdown/Features/Autofilters/images/01-04-autofilter.png b/docs/Features/Autofilters/images/01-04-autofilter.png similarity index 100% rename from Documentation/markdown/Features/Autofilters/images/01-04-autofilter.png rename to docs/Features/Autofilters/images/01-04-autofilter.png diff --git a/Documentation/markdown/Features/Autofilters/images/04-01-simple-autofilter.png b/docs/Features/Autofilters/images/04-01-simple-autofilter.png similarity index 100% rename from Documentation/markdown/Features/Autofilters/images/04-01-simple-autofilter.png rename to docs/Features/Autofilters/images/04-01-simple-autofilter.png diff --git a/Documentation/markdown/Features/Autofilters/images/04-02-dategroup-autofilter.png b/docs/Features/Autofilters/images/04-02-dategroup-autofilter.png similarity index 100% rename from Documentation/markdown/Features/Autofilters/images/04-02-dategroup-autofilter.png rename to docs/Features/Autofilters/images/04-02-dategroup-autofilter.png diff --git a/Documentation/markdown/Features/Autofilters/images/04-03-custom-autofilter-1.png b/docs/Features/Autofilters/images/04-03-custom-autofilter-1.png similarity index 100% rename from Documentation/markdown/Features/Autofilters/images/04-03-custom-autofilter-1.png rename to docs/Features/Autofilters/images/04-03-custom-autofilter-1.png diff --git a/Documentation/markdown/Features/Autofilters/images/04-03-custom-autofilter-2.png b/docs/Features/Autofilters/images/04-03-custom-autofilter-2.png similarity index 100% rename from Documentation/markdown/Features/Autofilters/images/04-03-custom-autofilter-2.png rename to docs/Features/Autofilters/images/04-03-custom-autofilter-2.png diff --git a/Documentation/markdown/Features/Autofilters/images/04-04-dynamic-autofilter.png b/docs/Features/Autofilters/images/04-04-dynamic-autofilter.png similarity index 100% rename from Documentation/markdown/Features/Autofilters/images/04-04-dynamic-autofilter.png rename to docs/Features/Autofilters/images/04-04-dynamic-autofilter.png diff --git a/Documentation/markdown/Features/Autofilters/images/04-05-topten-autofilter-1.png b/docs/Features/Autofilters/images/04-05-topten-autofilter-1.png similarity index 100% rename from Documentation/markdown/Features/Autofilters/images/04-05-topten-autofilter-1.png rename to docs/Features/Autofilters/images/04-05-topten-autofilter-1.png diff --git a/Documentation/markdown/Features/Autofilters/images/04-05-topten-autofilter-2.png b/docs/Features/Autofilters/images/04-05-topten-autofilter-2.png similarity index 100% rename from Documentation/markdown/Features/Autofilters/images/04-05-topten-autofilter-2.png rename to docs/Features/Autofilters/images/04-05-topten-autofilter-2.png diff --git a/docs/Functions/FeaturesCrossReference.md b/docs/Functions/FeaturesCrossReference.md new file mode 100644 index 00000000..3ee10735 --- /dev/null +++ b/docs/Functions/FeaturesCrossReference.md @@ -0,0 +1,1372 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
WritersWritersMethods
XLSXLSXExcel2003XMLOOCalcGnumericCSVSYLKXLSXLSXCSVHTMLPDFGettersSetters
Reader OptionsN/AN/A-----
Read Data Only (no formatting)N/AN/A-----$reader->getReadDataOnly()$reader->setReadDataOnly()
Read Only Specified WorksheetsN/AN/A-----$reader->getLoadSheetsOnly()$reader->setLoadSheetsOnly()
$reader->setLoadAllSheets()
Read Only Specified CellsN/AN/A-----$reader->getReadFilter()$reader->setReadFilter()
Document PropertiesN/AN/AN/AN/A
Standard PropertiesN/AN/AN/AN/A
CreatorN/AN/AN/A$spreadsheet->getProperties()->getCreator()$spreadsheet->getProperties()->setCreator()
Creation Date/TimeN/AN/AN/AN/A$spreadsheet->getProperties()->getCreated()$spreadsheet->getProperties()->setCreated()
ModifierN/AN/AN/AN/AN/AN/A$spreadsheet->getProperties()->getLastModifiedBy()$spreadsheet->getProperties()->setLastModifiedBy()
Modified Date/TimeN/AN/AN/AN/AN/A$spreadsheet->getProperties()->getModified()$spreadsheet->getProperties()->setModified()
TitleN/AN/AN/A$spreadsheet->getProperties()->getTitle()$spreadsheet->getProperties()->setTitle()
DescriptionN/AN/AN/AN/A$spreadsheet->getProperties()->getDescription()$spreadsheet->getProperties()->setDescription()
SubjectN/AN/AN/A$spreadsheet->getProperties()->getSubject()$spreadsheet->getProperties()->setSubject()
KeywordsN/AN/AN/A$spreadsheet->getProperties()->getKeywords()$spreadsheet->getProperties()->setKeywords()
Extended PropertiesN/AN/AN/AN/AN/A
CategoryN/AN/AN/AN/AN/A$spreadsheet->getProperties()->getCategory()$spreadsheet->getProperties()->setCategory()
CompanyN/AN/AN/AN/AN/A$spreadsheet->getProperties()->getCompany()$spreadsheet->getProperties()->setCompany()
ManagerN/AN/AN/AN/AN/A$spreadsheet->getProperties()->getManager()$spreadsheet->getProperties()->setManager()
User-Defined (Custom) PropertiesN/AN/AN/AN/AN/A$spreadsheet->getProperties()->getCustomProperties()
$spreadsheet->getProperties()->isCustomPropertySet()
$spreadsheet->getProperties()->getCustomPropertyValue()
$spreadsheet->getProperties()->getCustomPropertyType()
$spreadsheet->getProperties()->setCustomProperty()
Text PropertiesN/AN/AN/AN/AN/A
Number PropertiesN/AN/AN/AN/AN/A
Date PropertiesN/AN/AN/AN/AN/A
Yes/No (Boolean) PropertiesN/AN/AN/AN/AN/A
Cell Data Types
Empty/NULL
Boolean
Integer
Floating Point
String
Error
Formula
Array
Rich TextN/AN/A
Conditional FormattingN/AN/A
Rows and Column Properties
Row Height/Column Width
Hidden
Worksheet Properties
Frozen Panes
Coloured TabsN/A
Cell Formatting
Number Format Mask
Alignment
Horizontal
Vertical
Wrapping
Shring-to-Fit
Indent
Background Colour
Patterned
Font Attributes
Font Face
Font Size
Bold
Italic
Strikethrough
Underline
Superscript
Subscript
Borders
Line Style
Position
Diagonal
Hyperlinks
http
Merged Cells
Cell CommentsN/AN/AN/AN/A
Rich Text1N/AN/AN/AN/AN/A
Alignment2N/AN/AN/AN/AN/A
Cell Validation
AutoFilters$spreadsheet->getActivesheet()->getAutoFilter()$spreadsheet->getActivesheet()->setAutoFilter()
AutoFilter Expressions
Filter
Custom Filter
DateGroup Filter
Dynamic Filter
Colour Filter
Icon Filter
Top 10 Filter
+ +1. Only BIFF8 files support Rich Text. Prior to that, comments could only be plain text +2. Only BIFF8 files support alignment and rotation. Prior to that, comments could only be unformatted text \ No newline at end of file diff --git a/Documentation/markdown/Functions/FunctionListByCategory.md b/docs/Functions/FunctionListByCategory.md similarity index 100% rename from Documentation/markdown/Functions/FunctionListByCategory.md rename to docs/Functions/FunctionListByCategory.md diff --git a/Documentation/markdown/Functions/FunctionListByName.md b/docs/Functions/FunctionListByName.md similarity index 100% rename from Documentation/markdown/Functions/FunctionListByName.md rename to docs/Functions/FunctionListByName.md diff --git a/Documentation/markdown/Overview/01-Getting-Started.md b/docs/Overview/01-Getting-Started.md similarity index 100% rename from Documentation/markdown/Overview/01-Getting-Started.md rename to docs/Overview/01-Getting-Started.md diff --git a/Documentation/markdown/Overview/02-Architecture.md b/docs/Overview/02-Architecture.md similarity index 100% rename from Documentation/markdown/Overview/02-Architecture.md rename to docs/Overview/02-Architecture.md diff --git a/Documentation/markdown/Overview/03-Creating-a-Spreadsheet.md b/docs/Overview/03-Creating-a-Spreadsheet.md similarity index 100% rename from Documentation/markdown/Overview/03-Creating-a-Spreadsheet.md rename to docs/Overview/03-Creating-a-Spreadsheet.md diff --git a/Documentation/markdown/Overview/04-Configuration-Settings.md b/docs/Overview/04-Configuration-Settings.md similarity index 100% rename from Documentation/markdown/Overview/04-Configuration-Settings.md rename to docs/Overview/04-Configuration-Settings.md diff --git a/Documentation/markdown/Overview/05-Deleting-a-Workbook.md b/docs/Overview/05-Deleting-a-Workbook.md similarity index 100% rename from Documentation/markdown/Overview/05-Deleting-a-Workbook.md rename to docs/Overview/05-Deleting-a-Workbook.md diff --git a/Documentation/markdown/Overview/06-Worksheets.md b/docs/Overview/06-Worksheets.md similarity index 92% rename from Documentation/markdown/Overview/06-Worksheets.md rename to docs/Overview/06-Worksheets.md index a6a231cc..c1553b59 100644 --- a/Documentation/markdown/Overview/06-Worksheets.md +++ b/docs/Overview/06-Worksheets.md @@ -6,7 +6,7 @@ A worksheet is a collection of cells, formulae, images, graphs, etc. It holds al When you load a workbook from a spreadsheet file, it will be loaded with all its existing worksheets (unless you specified that only certain sheets should be loaded). When you load from non-spreadsheet files (such as a CSV or HTML file) or from spreadsheet formats that don't identify worksheets by name (such as SYLK), then a single worksheet called "WorkSheet1" will be created containing the data from that file. -When you instantiate a new workbook, PHPExcel will create it with a single worksheet called "WorkSheet1". +When you instantiate a new workbook, PHPExcel will create it with a single worksheet called "WorkSheet1". The `getSheetCount()` method will tell you the number of worksheets in the workbook; while the `getSheetNames()` method will return a list of all worksheets in the workbook, indexed by the order in which their "tabs" would appear when opened in MS Excel (or other appropriate Spreadsheet program). @@ -40,13 +40,13 @@ You can change the currently active sheet by index or by name using the `setActi ### Adding a new Worksheet -You can add a new worksheet to the workbook using the `createSheet()` method of the PHPExcel object. By default, this will be created as a new "last" sheet; but you can also specify an index position as an argument, and the worksheet will be inserted at that position, shuffling all subsequent worksheets in the collection down a place. +You can add a new worksheet to the workbook using the `createSheet()` method of the PHPExcel object. By default, this will be created as a new "last" sheet; but you can also specify an index position as an argument, and the worksheet will be inserted at that position, shuffling all subsequent worksheets in the collection down a place. ```php $objPHPExcel->createSheet(); ``` -A new worksheet created using this method will be called "Worksheet\" where "\" is the lowest number possible to guarantee that the title is unique. +A new worksheet created using this method will be called "Worksheet\" where "\" is the lowest number possible to guarantee that the title is unique. Alternatively, you can instantiate a new worksheet (setting the title to whatever you choose) and then insert it into your workbook using the addSheet() method. diff --git a/Documentation/markdown/Overview/07-Accessing-Cells.md b/docs/Overview/07-Accessing-Cells.md similarity index 100% rename from Documentation/markdown/Overview/07-Accessing-Cells.md rename to docs/Overview/07-Accessing-Cells.md diff --git a/Documentation/markdown/Overview/08-Recipes.md b/docs/Overview/08-Recipes.md similarity index 100% rename from Documentation/markdown/Overview/08-Recipes.md rename to docs/Overview/08-Recipes.md diff --git a/Documentation/markdown/Overview/09-Calculation-Engine.md b/docs/Overview/09-Calculation-Engine.md similarity index 100% rename from Documentation/markdown/Overview/09-Calculation-Engine.md rename to docs/Overview/09-Calculation-Engine.md diff --git a/Documentation/markdown/Overview/10-Reading-and-Writing.md b/docs/Overview/10-Reading-and-Writing.md similarity index 100% rename from Documentation/markdown/Overview/10-Reading-and-Writing.md rename to docs/Overview/10-Reading-and-Writing.md diff --git a/Documentation/markdown/Overview/11-Appendices.md b/docs/Overview/11-Appendices.md similarity index 90% rename from Documentation/markdown/Overview/11-Appendices.md rename to docs/Overview/11-Appendices.md index 1302feb3..6c02653e 100644 --- a/Documentation/markdown/Overview/11-Appendices.md +++ b/docs/Overview/11-Appendices.md @@ -6,7 +6,7 @@ Please refer to the internet page [http://www.codeplex.com/PHPExcel/Wiki/View.as ## Valid array keys for style applyFromArray() -The following table lists the valid array keys for PHPExcel_Style applyFromArray() classes. If the "Maps to property" column maps a key to a setter, the value provided for that key will be applied directly. If the "Maps to property" column maps a key to a getter, the value provided for that key will be applied as another style array. +The following table lists the valid array keys for PHPExcel_Style applyFromArray() classes. If the "Maps to property" column maps a key to a setter, the value provided for that key will be applied directly. If the "Maps to property" column maps a key to a getter, the value provided for that key will be applied as another style array. __PHPExcel_Style__ diff --git a/Documentation/markdown/Overview/images/01-schematic.png b/docs/Overview/images/01-schematic.png similarity index 100% rename from Documentation/markdown/Overview/images/01-schematic.png rename to docs/Overview/images/01-schematic.png diff --git a/Documentation/markdown/Overview/images/02-readers-writers.png b/docs/Overview/images/02-readers-writers.png similarity index 100% rename from Documentation/markdown/Overview/images/02-readers-writers.png rename to docs/Overview/images/02-readers-writers.png diff --git a/Documentation/markdown/Overview/images/07-simple-example-1.png b/docs/Overview/images/07-simple-example-1.png similarity index 100% rename from Documentation/markdown/Overview/images/07-simple-example-1.png rename to docs/Overview/images/07-simple-example-1.png diff --git a/Documentation/markdown/Overview/images/07-simple-example-2.png b/docs/Overview/images/07-simple-example-2.png similarity index 100% rename from Documentation/markdown/Overview/images/07-simple-example-2.png rename to docs/Overview/images/07-simple-example-2.png diff --git a/Documentation/markdown/Overview/images/07-simple-example-3.png b/docs/Overview/images/07-simple-example-3.png similarity index 100% rename from Documentation/markdown/Overview/images/07-simple-example-3.png rename to docs/Overview/images/07-simple-example-3.png diff --git a/Documentation/markdown/Overview/images/07-simple-example-4.png b/docs/Overview/images/07-simple-example-4.png similarity index 100% rename from Documentation/markdown/Overview/images/07-simple-example-4.png rename to docs/Overview/images/07-simple-example-4.png diff --git a/Documentation/markdown/Overview/images/08-cell-comment.png b/docs/Overview/images/08-cell-comment.png similarity index 100% rename from Documentation/markdown/Overview/images/08-cell-comment.png rename to docs/Overview/images/08-cell-comment.png diff --git a/Documentation/markdown/Overview/images/08-column-width.png b/docs/Overview/images/08-column-width.png similarity index 100% rename from Documentation/markdown/Overview/images/08-column-width.png rename to docs/Overview/images/08-column-width.png diff --git a/Documentation/markdown/Overview/images/08-page-setup-margins.png b/docs/Overview/images/08-page-setup-margins.png similarity index 100% rename from Documentation/markdown/Overview/images/08-page-setup-margins.png rename to docs/Overview/images/08-page-setup-margins.png diff --git a/Documentation/markdown/Overview/images/08-page-setup-scaling-options.png b/docs/Overview/images/08-page-setup-scaling-options.png similarity index 100% rename from Documentation/markdown/Overview/images/08-page-setup-scaling-options.png rename to docs/Overview/images/08-page-setup-scaling-options.png diff --git a/Documentation/markdown/Overview/images/08-styling-border-options.png b/docs/Overview/images/08-styling-border-options.png similarity index 100% rename from Documentation/markdown/Overview/images/08-styling-border-options.png rename to docs/Overview/images/08-styling-border-options.png diff --git a/Documentation/markdown/Overview/images/09-command-line-calculation.png b/docs/Overview/images/09-command-line-calculation.png similarity index 100% rename from Documentation/markdown/Overview/images/09-command-line-calculation.png rename to docs/Overview/images/09-command-line-calculation.png diff --git a/Documentation/markdown/Overview/images/09-formula-in-cell-1.png b/docs/Overview/images/09-formula-in-cell-1.png similarity index 100% rename from Documentation/markdown/Overview/images/09-formula-in-cell-1.png rename to docs/Overview/images/09-formula-in-cell-1.png diff --git a/Documentation/markdown/Overview/images/09-formula-in-cell-2.png b/docs/Overview/images/09-formula-in-cell-2.png similarity index 100% rename from Documentation/markdown/Overview/images/09-formula-in-cell-2.png rename to docs/Overview/images/09-formula-in-cell-2.png diff --git a/Documentation/markdown/ReadingSpreadsheetFiles/01-File-Formats.md b/docs/ReadingSpreadsheetFiles/01-File-Formats.md similarity index 100% rename from Documentation/markdown/ReadingSpreadsheetFiles/01-File-Formats.md rename to docs/ReadingSpreadsheetFiles/01-File-Formats.md diff --git a/Documentation/markdown/ReadingSpreadsheetFiles/02-Security.md b/docs/ReadingSpreadsheetFiles/02-Security.md similarity index 100% rename from Documentation/markdown/ReadingSpreadsheetFiles/02-Security.md rename to docs/ReadingSpreadsheetFiles/02-Security.md diff --git a/Documentation/markdown/ReadingSpreadsheetFiles/03-Loading-a-Spreadsheet.md b/docs/ReadingSpreadsheetFiles/03-Loading-a-Spreadsheet.md similarity index 100% rename from Documentation/markdown/ReadingSpreadsheetFiles/03-Loading-a-Spreadsheet.md rename to docs/ReadingSpreadsheetFiles/03-Loading-a-Spreadsheet.md diff --git a/Documentation/markdown/ReadingSpreadsheetFiles/04-Loading-with-a-Reader.md b/docs/ReadingSpreadsheetFiles/04-Loading-with-a-Reader.md similarity index 100% rename from Documentation/markdown/ReadingSpreadsheetFiles/04-Loading-with-a-Reader.md rename to docs/ReadingSpreadsheetFiles/04-Loading-with-a-Reader.md diff --git a/Documentation/markdown/ReadingSpreadsheetFiles/05-Reader-Options.md b/docs/ReadingSpreadsheetFiles/05-Reader-Options.md similarity index 100% rename from Documentation/markdown/ReadingSpreadsheetFiles/05-Reader-Options.md rename to docs/ReadingSpreadsheetFiles/05-Reader-Options.md diff --git a/Documentation/markdown/ReadingSpreadsheetFiles/06-Error-Handling.md b/docs/ReadingSpreadsheetFiles/06-Error-Handling.md similarity index 100% rename from Documentation/markdown/ReadingSpreadsheetFiles/06-Error-Handling.md rename to docs/ReadingSpreadsheetFiles/06-Error-Handling.md diff --git a/Documentation/markdown/ReadingSpreadsheetFiles/07-Helper-Methods.md b/docs/ReadingSpreadsheetFiles/07-Helper-Methods.md similarity index 100% rename from Documentation/markdown/ReadingSpreadsheetFiles/07-Helper-Methods.md rename to docs/ReadingSpreadsheetFiles/07-Helper-Methods.md diff --git a/Documentation/assets/ClassDiagrams/Architecture.cd b/docs/assets/ClassDiagrams/Architecture.cd similarity index 100% rename from Documentation/assets/ClassDiagrams/Architecture.cd rename to docs/assets/ClassDiagrams/Architecture.cd diff --git a/Documentation/assets/ClassDiagrams/Architecture.png b/docs/assets/ClassDiagrams/Architecture.png similarity index 100% rename from Documentation/assets/ClassDiagrams/Architecture.png rename to docs/assets/ClassDiagrams/Architecture.png diff --git a/Documentation/assets/ClassDiagrams/ClassDiagrams.csproj b/docs/assets/ClassDiagrams/ClassDiagrams.csproj similarity index 100% rename from Documentation/assets/ClassDiagrams/ClassDiagrams.csproj rename to docs/assets/ClassDiagrams/ClassDiagrams.csproj diff --git a/Documentation/assets/ClassDiagrams/ClassDiagrams.csproj.user b/docs/assets/ClassDiagrams/ClassDiagrams.csproj.user similarity index 100% rename from Documentation/assets/ClassDiagrams/ClassDiagrams.csproj.user rename to docs/assets/ClassDiagrams/ClassDiagrams.csproj.user diff --git a/Documentation/assets/ClassDiagrams/ClassDiagrams.sln b/docs/assets/ClassDiagrams/ClassDiagrams.sln similarity index 100% rename from Documentation/assets/ClassDiagrams/ClassDiagrams.sln rename to docs/assets/ClassDiagrams/ClassDiagrams.sln diff --git a/Documentation/assets/ClassDiagrams/Classes/IReader.cs b/docs/assets/ClassDiagrams/Classes/IReader.cs similarity index 100% rename from Documentation/assets/ClassDiagrams/Classes/IReader.cs rename to docs/assets/ClassDiagrams/Classes/IReader.cs diff --git a/Documentation/assets/ClassDiagrams/Classes/IWriter.cs b/docs/assets/ClassDiagrams/Classes/IWriter.cs similarity index 100% rename from Documentation/assets/ClassDiagrams/Classes/IWriter.cs rename to docs/assets/ClassDiagrams/Classes/IWriter.cs diff --git a/Documentation/assets/ClassDiagrams/Classes/PHPExcel.cs b/docs/assets/ClassDiagrams/Classes/PHPExcel.cs similarity index 100% rename from Documentation/assets/ClassDiagrams/Classes/PHPExcel.cs rename to docs/assets/ClassDiagrams/Classes/PHPExcel.cs diff --git a/Documentation/assets/ClassDiagrams/Classes/PHPExcel_IOFactory.cs b/docs/assets/ClassDiagrams/Classes/PHPExcel_IOFactory.cs similarity index 100% rename from Documentation/assets/ClassDiagrams/Classes/PHPExcel_IOFactory.cs rename to docs/assets/ClassDiagrams/Classes/PHPExcel_IOFactory.cs diff --git a/Documentation/assets/ClassDiagrams/Classes/PHPExcel_Reader_Excel2007.cs b/docs/assets/ClassDiagrams/Classes/PHPExcel_Reader_Excel2007.cs similarity index 100% rename from Documentation/assets/ClassDiagrams/Classes/PHPExcel_Reader_Excel2007.cs rename to docs/assets/ClassDiagrams/Classes/PHPExcel_Reader_Excel2007.cs diff --git a/Documentation/assets/ClassDiagrams/Classes/PHPExcel_Reader_Excel5.cs b/docs/assets/ClassDiagrams/Classes/PHPExcel_Reader_Excel5.cs similarity index 100% rename from Documentation/assets/ClassDiagrams/Classes/PHPExcel_Reader_Excel5.cs rename to docs/assets/ClassDiagrams/Classes/PHPExcel_Reader_Excel5.cs diff --git a/Documentation/assets/ClassDiagrams/Classes/PHPExcel_Reader_Serialized.cs b/docs/assets/ClassDiagrams/Classes/PHPExcel_Reader_Serialized.cs similarity index 100% rename from Documentation/assets/ClassDiagrams/Classes/PHPExcel_Reader_Serialized.cs rename to docs/assets/ClassDiagrams/Classes/PHPExcel_Reader_Serialized.cs diff --git a/Documentation/assets/ClassDiagrams/Classes/PHPExcel_Writer_Excel2007.cs b/docs/assets/ClassDiagrams/Classes/PHPExcel_Writer_Excel2007.cs similarity index 100% rename from Documentation/assets/ClassDiagrams/Classes/PHPExcel_Writer_Excel2007.cs rename to docs/assets/ClassDiagrams/Classes/PHPExcel_Writer_Excel2007.cs diff --git a/Documentation/assets/ClassDiagrams/Classes/PHPExcel_Writer_Serialized.cs b/docs/assets/ClassDiagrams/Classes/PHPExcel_Writer_Serialized.cs similarity index 100% rename from Documentation/assets/ClassDiagrams/Classes/PHPExcel_Writer_Serialized.cs rename to docs/assets/ClassDiagrams/Classes/PHPExcel_Writer_Serialized.cs diff --git a/Documentation/assets/ClassDiagrams/Classes/Worksheet.cs b/docs/assets/ClassDiagrams/Classes/Worksheet.cs similarity index 100% rename from Documentation/assets/ClassDiagrams/Classes/Worksheet.cs rename to docs/assets/ClassDiagrams/Classes/Worksheet.cs diff --git a/Documentation/assets/ClassDiagrams/Exports/Architecture.png b/docs/assets/ClassDiagrams/Exports/Architecture.png similarity index 100% rename from Documentation/assets/ClassDiagrams/Exports/Architecture.png rename to docs/assets/ClassDiagrams/Exports/Architecture.png diff --git a/Documentation/assets/ClassDiagrams/Exports/ReaderWriter.png b/docs/assets/ClassDiagrams/Exports/ReaderWriter.png similarity index 100% rename from Documentation/assets/ClassDiagrams/Exports/ReaderWriter.png rename to docs/assets/ClassDiagrams/Exports/ReaderWriter.png diff --git a/Documentation/assets/ClassDiagrams/ReaderWriter.cd b/docs/assets/ClassDiagrams/ReaderWriter.cd similarity index 100% rename from Documentation/assets/ClassDiagrams/ReaderWriter.cd rename to docs/assets/ClassDiagrams/ReaderWriter.cd diff --git a/Documentation/assets/ClassDiagrams/ReaderWriter.png b/docs/assets/ClassDiagrams/ReaderWriter.png similarity index 100% rename from Documentation/assets/ClassDiagrams/ReaderWriter.png rename to docs/assets/ClassDiagrams/ReaderWriter.png