History log of /trunk/test/testuno/source/fvt/uno/sc/formula/TestFormulaDocs.java (Results 1 – 18 of 18)
Revision Date Author Comments
# 4b728414 16-Nov-2025 Damjan Jovanovic <damjan@apache.org>

Use FileProvider instead of Parameterized for the TestFormulaDocs test.
This automatically finds all the files, instead of needing them to be
manually specified.

Patch by: me


# 42a976b7 17-Aug-2025 John Bampton <jbampton@users.noreply.github.com>

pre-commit fix mixed line endings in Java files (#400)

Enforce the mixed-line-ending hook for all cxx, hxx and java files

Auto cleaned up the Java files


# 33092868 21-Jul-2025 John Bampton <jbampton@users.noreply.github.com>

pre-commit auto remove trailing whitespace from java files (#382)

A another big huge auto white space clean up.


# 5cbae54e 29-Oct-2024 Dave Fisher <dave2wave@comcast.net>

Merge pull request #226 from jbampton/fix-spelling

Fix spelling; remove unneeded empty string concat


# 28022c95 11-Oct-2024 John Bampton <jbampton@gmail.com>

Fix spelling; remove unneeded empty string concat


# 195282cf 14-Jan-2023 Damjan Jovanovic <damjan@apache.org>

When importing SpreadsheetML ss:DateTime, import the entire value, not only the
first 19 characters.

Add a test file for this bug.

Fixes: #128554 - Office 2003 SpreadsheetML: fractional seconds are

When importing SpreadsheetML ss:DateTime, import the entire value, not only the
first 19 characters.

Add a test file for this bug.

Fixes: #128554 - Office 2003 SpreadsheetML: fractional seconds are silently
ignored during import
Patch by: me

show more ...


# a896732b 12-Jan-2023 Damjan Jovanovic <damjan@apache.org>

In ODF (19.679.2 of ODF 1.3), the <table:covered-table-cell> element's
table:number-columns-repeated attribute has a default value of 1,
meaning the cell spans the cell to its right. However when the

In ODF (19.679.2 of ODF 1.3), the <table:covered-table-cell> element's
table:number-columns-repeated attribute has a default value of 1,
meaning the cell spans the cell to its right. However when the XSLT import
filter converts from SpreadsheetML's ss:MergeAcross to ODF's
table:number-columns-repeated, it always inserts a <table:covered-table-cell>
element, and then adds the table:number-columns-repeated attribute only if
it is greater than 1. This breaks when ss:MergeAcross="0", because ODF's
defaulting to 1 ends up occupying an extra empty cell to the right when it
shouldn't.

Fix this by only inserting the <table:covered-table-cell> when
ss:MergeAcross > 0.

Add a test document to prove this.

Fixes #100989 - SpreadsheetML: cell with ss:MergeAcross="0" gets an extra empty cell to the right
Patch by: me

show more ...


# 577fe179 11-Jan-2023 Damjan Jovanovic <damjan@apache.org>

Our XSLT-based MS Office 2003 SpreadsheetML format import filter, when doing
conversion from R1C1 style column references to our A1 style references, had a
bug where it was treating the column value

Our XSLT-based MS Office 2003 SpreadsheetML format import filter, when doing
conversion from R1C1 style column references to our A1 style references, had a
bug where it was treating the column value as 0-based, and dividing by 26 to
find the 1st letter and taking the remainder when divided by 26 for the second
letter. Those numbers are then each converted to a letter [0 = nothing,
1 = "A", 2 = "B", ..., 26 = "Z"].

However since R1C1 is 1-based, and not 0-based, this breaks for column numbers
which are multiples of 26, as 26 mod 26 = 0, so the least significant digit is
converted to nothing while the most significant digit gets incremented too
early.

Fix this by converting the column number to 0-based by subtracting 1 before
calculation, then adding 1 to the least significant digit afterwards.

Also the fact we have 2 letters limited us to a maximum of 26^2 = 676 columns,
after which column references would wrap around. Fix this too, by adding a 3rd
letter, which lets us address a maximum of 17576 columns.

Add a sample file to our unit tests.

Found by: alex dot plantema at xs4all dot nl
Patch by: me

show more ...


# 3b297b46 24-Sep-2022 Carl Marcum <carl.marcum@codebuilders.net>

Tab function test document and test (#156)

Refs i19221 - added test and test document to test star basic Tab function in Calc.

Patch-By: Czesław Wolański


# 07758af8 10-Jun-2022 Carl Marcum <carl.marcum@codebuilders.net>

Refs i126272 - add test and test document for testing Basic comment in single-line if statements (#152)

* Refs i126272 - added test and test document to test fix for comment in single line if statem

Refs i126272 - add test and test document for testing Basic comment in single-line if statements (#152)

* Refs i126272 - added test and test document to test fix for comment in single line if statement.

show more ...


# 7d8592c7 29-May-2022 Carl Marcum <carl.marcum@codebuilders.net>

Fix TestFormulaDocs to run against AOO41X, make parameterized, and fix late screenshots (#149)

updated TestFormulaDocs test to be a parameterized test to better see which document failed.
Fixed lat

Fix TestFormulaDocs to run against AOO41X, make parameterized, and fix late screenshots (#149)

updated TestFormulaDocs test to be a parameterized test to better see which document failed.
Fixed late screenshots on failures.
Added timeout for dialog hangs when running tests against AOO41X branch due to some BASIC bug fixes for i112383 [1] and it's commit [2] and i117960 [3] and it's commit [4] not being back-ported to AOO41X.

[1] https://bz.apache.org/ooo/show_bug.cgi?id=112383
[2] 323c350

[3] https://bz.apache.org/ooo/show_bug.cgi?id=117960
[4] 725d867

show more ...


# 725d8673 24-Nov-2015 Damjan Jovanovic <damjan@apache.org>

#i117960# Basic: Line Input doesn't work in single-line If

i92642 added the ability to use certain keywords as variable names (eg. name = 1, line = "hi"),
but also caused a regression where "Line In

#i117960# Basic: Line Input doesn't work in single-line If

i92642 added the ability to use certain keywords as variable names (eg. name = 1, line = "hi"),
but also caused a regression where "Line Input" is broken in single-line If statements.
This patch fixes that by allowing Then and Else to also be the start-of-line tokens expected to
immediately preceed the "Line" token in order for that "Line" token to be recognized a keyword instead
of a variable name. Also added FVT spreadsheet tests for "Line" as both a variable name and as "Line Input".

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1716234 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 3de57b87 09-Sep-2015 Damjan Jovanovic <damjan@apache.org>

#i123901# formula DGET() gives #VALUE! error when fetching calculation resulting in string
Gets ScDBQueryDataIterator::DataAccessInternal::getCurrent() to handle formulas returning strings.
Added a s

#i123901# formula DGET() gives #VALUE! error when fetching calculation resulting in string
Gets ScDBQueryDataIterator::DataAccessInternal::getCurrent() to handle formulas returning strings.
Added a spreadsheet test for this behaviour.



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1702107 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# 323c3501 26-Aug-2015 Damjan Jovanovic <damjan@apache.org>

#i112383# CLng("&HFFFFFFFF") fails on 64-bits rather than returning -1

Found-by: andrew
Patch-by: Damjan Jovanovic



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1697984 13f79535-4

#i112383# CLng("&HFFFFFFFF") fails on 64-bits rather than returning -1

Found-by: andrew
Patch-by: Damjan Jovanovic



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1697984 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# c7723a22 26-Aug-2015 Damjan Jovanovic <damjan@apache.org>

#i117989# Basic functions Day(), Hour(), Minute(), and Second() return wrong results for dates <1900-1-1

Also extended our spreadsheeet test to search through more columns, open spreadsheets
with ma

#i117989# Basic functions Day(), Hour(), Minute(), and Second() return wrong results for dates <1900-1-1

Also extended our spreadsheeet test to search through more columns, open spreadsheets
with macros enabled, and added a test for the the Year(), Month(), Day(), Hour(),
Minute(), and Second() functions comparing Calc's formulas vs StarBasic's runtime functions.

Found-by: villeroy
Patch-by: Damjan Jovanovic



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1697807 13f79535-47bb-0310-9956-ffa450edef68

show more ...


# d3e0dd8e 02-Sep-2013 Steve Yin <steve_y@apache.org>

Merged with the trunk.

git-svn-id: https://svn.apache.org/repos/asf/openoffice/branches/ia2@1519381 13f79535-47bb-0310-9956-ffa450edef68


# 9930860e 28-Aug-2013 Herbert Dürr <hdu@apache.org>

#i123119# allow only "TRUE" or "FALSE" as testOK results

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1518093 13f79535-47bb-0310-9956-ffa450edef68


# 11e9ca94 27-Aug-2013 Herbert Dürr <hdu@apache.org>

#i123119# add test script for checking manual-test friendly spreedsheets

The script looks for the columns with "TestID" and "TestOK" markers. All
cells below "TestID" are assumed to be test names, a

#i123119# add test script for checking manual-test friendly spreedsheets

The script looks for the columns with "TestID" and "TestOK" markers. All
cells below "TestID" are assumed to be test names, all values below "TestOK"
are assumed to be test results. If any of the test results evaluates to
"FALSE" or zero the automatic test is marked as failed.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1517802 13f79535-47bb-0310-9956-ffa450edef68

show more ...