Herbert Dürr
d77d01b84a
add some documentation links to the assembler needed for the UNO bridges
...
ceterum censeo: good old C-linkage interoperability would be much more robust,
reliable and easier to maintain compared to the current UNO-bridges approach
of emulating the behaviour of the individual compiler, linker, dylib, unwind, etc.
environments and thus being extremely platform specific. What an incredible waste
of energy for little (if any) gain. SCNR.
(cherry picked from commit c9fe5d026f2081d493a198a33cf3b1d558166965)
Conflicts:
bridges/source/cpp_uno/gcc3_freebsd_x86-64/call.s
Change-Id: I728bce449e8e56572f31b50fb1452d1c2f9d7fea
2013-05-09 15:54:23 +01:00
Noel Power
959b25bc15
add simple Range.Name test
...
Change-Id: I705e05878015f5c8aad993219ea89ea9d47f07fb
2013-05-09 14:11:22 +01:00
Noel Power
b590a51bf3
implement Range.Name
...
Change-Id: I884f84e437dad9440951e60c8f92fd6487c48832
2013-05-09 14:11:22 +01:00
Noel Power
a667ce82bf
stub implementation(s) for Application EnableCancelKey & International
...
Change-Id: I810897b3981390fc39e59d9c8a4c0095547a407a
2013-05-09 14:11:22 +01:00
Noel Power
ea558e4f50
implement Application.Iteration & Application.InchesToPoints
...
Change-Id: I8d556a7a357fd7ad228a4fe95a54d6685a20e002
2013-05-09 14:11:22 +01:00
Noel Power
c087feeefb
implement Application.Undo
...
Change-Id: Ibba3c5e2c617daea70fb75b3235636620a46f9ff
2013-05-09 14:11:21 +01:00
Noel Power
894a0348dc
fix VBA mode MkDir when passed folder is not a full path
...
Change-Id: I7fd804999f1b96e6aab112445edcd9dcf7753c24
2013-05-09 14:11:21 +01:00
Noel Power
880da6c7b7
fix userform data aware control import
...
Change-Id: I86f5cc0c60bba48eaaf40a3471cc0fb22e5e4b9c
2013-05-09 14:11:21 +01:00
Noel Power
f1c6bebcad
add some Range.value tests
...
Change-Id: I4800ad80f1b447cae03664653285f1917ad3ee7e
2013-05-09 14:11:21 +01:00
Noel Power
8cfc390a42
reset Logical format when setting a number value via Range vba api
...
Change-Id: I0f9a68228c9cb6425b1d139744a92c4a3d4c6012
2013-05-09 14:11:21 +01:00
Noel Power
2f3359dbe8
fix memory leak with orphaned controls created on the fly
2013-05-09 14:11:20 +01:00
Noel Power
7e735236e9
add new test for Workbooks
...
Change-Id: Id271f10ac82ebae9fedd68d30c7f44435d60751d
2013-05-09 14:11:20 +01:00
Noel Power
569c019883
add Workbook.Save method
...
has limited support for paramaters ( only FileName and Format are processed )
Change-Id: I669f264679101ab3697dfaa3a3fb3b2d75f5a14b
2013-05-09 14:11:20 +01:00
Noel Power
b2d1526203
Parse workbook name correctly, don't fall over spaces etc.
...
Change-Id: I26213e4202ea2f2d15014ca722ab7878aa09cbf1
2013-05-09 14:11:20 +01:00
Noel Power
4d1e0ea98b
support UserForm.Visible attribute
...
Change-Id: I6e5a9d3e7908349a76a73a79b3b1319b44e1e3aa
2013-05-09 14:11:19 +01:00
Noel Power
a7cc0faeff
support Shape.Alternative
...
Change-Id: I6d822ef0d06e222f454c1279be16e33bcaae0037
2013-05-09 14:11:19 +01:00
Noel Power
ca3447eab2
add OLEObject related test
...
Change-Id: I6ce22ecd6295bd8ad302d0f53c783f4ac2a1a036
2013-05-09 14:11:19 +01:00
Noel Power
6094fc56db
return correct object ( was returning an uno object in the vba api )
...
Fix typo ( or brain fart ) where the VBA api was returning the libreoffice
uno object instead of the vba wrapper object
Change-Id: I0e615368d636ad08b40842ef9b91f3818829d3ea
2013-05-09 14:11:19 +01:00
Noel Power
a68c828baa
some testcases for api generated changed & click events for vba controls
...
Change-Id: I408c9aa0b80971f326b607b274ce046c27098f74
2013-05-09 14:11:19 +01:00
Noel Power
13ee256265
tweak combox to selectively fire change or click event
...
we need to fire a click event if just the item in the dropdown changed and
a change event if the item we changed is really part of the list
Change-Id: I19f950fca0857761d8f59a07513803f1f3ef135b
2013-05-09 14:11:18 +01:00
Noel Power
b3a635e203
tweak MiscControls to test simple textbox change event
...
Change-Id: I256a029afefe5990dfb0c87859bae4508f5920bc
2013-05-09 14:11:18 +01:00
Noel Power
4bad1a8e31
support api initiated change_event for combox & textbox
...
Change-Id: Iff51a184792e9d12accb902df1772fc07589443b
2013-05-09 14:11:18 +01:00
Noel Power
3fb03cc873
handle non int32 values for Field in Range.AutoFilter
...
Change-Id: I7288371ab32abd02b858c538f50a68eff66ecced
2013-05-09 14:11:18 +01:00
Noel Power
92c8becf8b
Add check form contrast and IncrememtContrast behaviour in Shapes.xls
...
Change-Id: I6ef275c6a978db0da59da953511105c407a66f72
2013-05-09 14:11:18 +01:00
Noel Power
8fdd62c587
fix contrast not increment to limit value between 0.0 & 1.0
...
Change-Id: I1a8c08fb8f704e69ae1ae75d77784f07a1d99a12
2013-05-09 14:11:17 +01:00
Noel Power
8b94bfebf6
Tweak further the indices checked for break, also tweak test document
...
<sigh> pagebreak implementation is still flawed here, the used
range is used to determine whether the page break should be
considered ( or not ) Problem is that it is not the used
range but rather the rightmost column position that contains content
( but not necessarily the column that contains content but rather
the righmost column that has content ( or even that is covered either
by spillover from an adjacent column or drawing )
Change-Id: I68c8ccc5911049bc4b2076992f839bc684d966a9
2013-05-09 14:11:17 +01:00
Noel Power
396224947e
fix limits check on breaks ( ignore breaks outside used area )
...
Change-Id: I36154ba6999c9a74ecf2c55c0559b6c25d137283
2013-05-09 14:11:17 +01:00
Noel Power
683b016ae0
Renable Range-2 vba test as I589b93461b5f4125408f4fc2cb87cd84686f7b95 fixed it
...
note: Change ID I589b93461b5f4125408f4fc2cb87cd84686f7b95
" Fix ScRangeList::Parse wrt defaulted delimiter and default tab params" in addition
to fixing problems with Ranges.xls appears also to solve the issue with Range-2.xls
Change-Id: I28f53e09a6c7004f766d7e4f2ca9524cc8bbd83f
2013-05-09 14:11:17 +01:00
Noel Power
a2c34b3d9a
add Range.Cut check
...
Change-Id: I6d33ce8fe2333e7920b5c6cf82531ee859352748
2013-05-09 14:11:17 +01:00
Noel Power
fc36b2247d
re-enable Ranges.xls vba testdocument, additionally remove some failing tests
...
Change-Id: I6289aa7e7872cc0c6aacd89f0679609792d37c28
2013-05-09 14:11:16 +01:00
Noel Power
96ece47735
Fix ScRangeList::Parse wrt defaulted delimiter and default tab params
...
At some point in the past default tab was introduced, the VBA Range code calling
ScRangeList::Parse was not adjusted to take care of this extra defaulted param and
and the delimiter param was passed in place of default tab.
Change-Id: I589b93461b5f4125408f4fc2cb87cd84686f7b95
2013-05-09 14:11:16 +01:00
Noel Power
dff7cc0d62
Revert "remove unused parameter"
...
This reverts commit 7c63d52506
.
actually it is used, it's used in vba
2013-05-09 14:11:16 +01:00
Noel Power
df62945861
fix range cut with destination paramater( missing else )
...
Change-Id: I67829b3b15177977bc0e31ec6384c124cc61f1b5
2013-05-09 14:11:16 +01:00
Noel Power
a6ee93e38d
some extra tests for ListBox.MultiSelection and ListBox.Text api
...
also tests ListBox.AddItem & ListBox.Clear ( plenty of room
to flesh these tests out )
Change-Id: Iddaa5a5e6b406359c6215ad726085d3696e633cf
2013-05-09 14:11:16 +01:00
Noel Power
4002ce1419
Setting TEXT causes exception, don't do it
...
Change-Id: Idc5614a80e6e45d12f1323ffa9843c7fa7f9576e
2013-05-09 14:11:15 +01:00
Noel Power
2743241bd2
ListBox.MultiSelection takes fmMultiSelect enum not bool
...
Change-Id: Ic9ea60feadc551b232b393faafea9760cc3b82f0
2013-05-09 14:11:15 +01:00
Noel Power
37cc1bb26f
Add some misc control related vba tests
...
Change-Id: I8a6e2aeb3766a3890c5026129794b25cfa5c7ba5
2013-05-09 14:11:15 +01:00
Noel Power
412ae1bf1c
fix TextBox value error, MaxLength is long in vba but short in libreoffice
...
Change-Id: I550fe6833f240d085fadf55ab8d9421947318eef
2013-05-09 14:11:15 +01:00
Noel Power
27e2b40989
add test for new vba ReturnInteger type
...
Change-Id: If8ce9e5ce35c438b31234aab410b37f12eb1b1f4
2013-05-09 14:11:14 +01:00
Noel Power
b1dc5ed569
tweak vba Control implementation to aritificially fire events from api
...
Previouslly there were some internal methods to allow event handlers
to be triggered. To test some functionality from the unit tests we
now expose some of that functionality via uno.
Change-Id: I11022226260d3dacd82f42ce89413102ce34cc13
2013-05-09 14:11:14 +01:00
Noel Power
04eb03cc0b
handle various ReturnXXXX types for forms
...
Change-Id: Idcbfbebafb02c734b42428c5b1d6df8d0d4a23d6
2013-05-09 14:11:14 +01:00
Noel Power
063709590e
adjust components needed for CheckOptionToggleValue.xls testfile
...
Change-Id: Id9aa26cac2f59829e8b00057c82dc52bbbbc20cb
2013-05-09 14:11:14 +01:00
Noel Power
28c4fd5eff
add new vba test file ( for testing input/output for 'Value' attributes )
...
Change-Id: I7b06c463a11b5d6442f69130e9eee767004e426f
2013-05-09 14:11:14 +01:00
Noel Power
bb1ff23383
create togglebutton class ( for togglebutton on sheet )
...
Change-Id: If987eb6ed04d80e62b4b418e8f9de3a143ef68a7
2013-05-09 14:11:13 +01:00
Noel Power
89e1382ebf
handle bool value for checkbox, radiobutton, togglebutton consistently
...
Change-Id: I1f9057e58fe3625e0b76a09d79c7c56e1838d98a
2013-05-09 14:11:13 +01:00
Marcos Paulo de Souza
c058341b6d
fdo#60924: autoinstall graphicfilter libraries
...
Change-Id: I406ecef9bc1865d0cd17e3428bffaaaa137d972f
Reviewed-on: https://gerrit.libreoffice.org/3829
Reviewed-by: David Tardon <dtardon@redhat.com >
Tested-by: David Tardon <dtardon@redhat.com >
2013-05-09 12:58:40 +00:00
Miklos Vajna
bfaff2a51f
WW8FlyPara::Read: replace hardwired numbers with constants
...
Change-Id: I298499d09ac44e0fdbbd62fc0bd07a25f1b33aa3
2013-05-09 13:47:04 +02:00
Caolán McNamara
e1e83d14c9
wrong scale name
...
Change-Id: I1be967057155c1cf4fa98cf0651a0388ef845558
2013-05-09 12:38:47 +01:00
Ricardo Montania
9a9110b7d9
Drop String.AppendAscii from filter
...
Change-Id: I73f61b9a20297b6b704aca52b1fc9efac563a224
Reviewed-on: https://gerrit.libreoffice.org/3799
Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com >
Reviewed-by: Andras Timar <atimar@suse.com >
Tested-by: Andras Timar <atimar@suse.com >
2013-05-09 11:22:49 +00:00
Herbert Dürr
b4d9ed1434
small optimization, don't call objectAtIndex twice
...
(cherry picked from commit a88630fb326fa4dcbe28edd1c149c8e5e7b7f123)
Conflicts:
lingucomponent/source/spellcheck/macosxspell/macspellimp.cxx
Change-Id: Ic48281be27bf43f8a564f46684ddb53a2d83d80e
2013-05-09 12:03:39 +01:00