Commit Graph

19 Commits

Author SHA1 Message Date
1298c1d135 We don't check the extension for html
...since 86c6f18c2766aad43d6e3bfcf3530e40440ebca7,
so move the related code and comment to the plain
text scope.

Change-Id: I501ebaba915ddaa3f5d1d8d2977d3ba70fb6071b
2014-08-29 00:54:35 +03:00
86c6f18c27 avoid problems detecting HTML files with .xls ext.
Change-Id: I9955223aac20f3f640fde51bb7231666c269ca70
2014-07-08 17:03:42 +02:00
d83dfeb5e5 filter: sal_Bool->bool
Change-Id: Icf20f23cb46ad3cb147d8c6a743f1d25a23fbca5
2014-04-22 09:56:06 +02:00
70cc2b191b First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26 16:39:26 +01:00
d5890e87ab Merge HTML detection to text detection service
Setting the filter name explicitly is not really required,
because TypeDetection::impl_checkResultsAndAddBestFilter
is able to select the correct filter anyway. But it seems that
other detection services also do it, so I followed that way.

Change-Id: I6e73fa79c6867d82f98d63e8d2b7865446f088ef
Reviewed-on: https://gerrit.libreoffice.org/8213
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-03-01 14:45:45 -06:00
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
eeeefd6fd8 fdo#54938: Convert filter to cppu::supportsService
final part

Change-Id: If9387b4f7aa8ca694092f51eabeac096c71347eb
2014-01-16 10:26:04 +01:00
9ed364774c Adapt all (non-extension, SharedLibrary) .components to environment="..."
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17 11:06:00 +01:00
511a59ef2c Open .tab files with Calc
.tab extension is a known extension for tab-separated values
according to Wikipedia.

Also add .tsv .tab files to the list of known text files, so XML
detection code won't run on it, and won't output errors to console.

Change-Id: Ifb8edc40900cb4669264e1e989c01efd61ff24bf
Reviewed-on: https://gerrit.libreoffice.org/7038
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2013-12-11 21:33:38 +00:00
8a201be240 fdo#68903 Import .tsv and .xls plain text files in Calc by default
Change-Id: I14115542d7f0401f4fa8face9f255b4512fc0ac3
Reviewed-on: https://gerrit.libreoffice.org/6448
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2013-10-28 12:34:47 +00:00
3a6148e811 fixincludeguards.sh: filter
Change-Id: Ifdb49a0fd5f658056b14b7c2f4e323dd38b412e6
2013-10-23 23:22:33 +02:00
62badf3828 Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-22 09:37:38 +01:00
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).

Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
88ed1bf337 Modernize the type detection service instantiation a bit.
Change-Id: If31092ecc2b746acbe5731bf9383560e93aa3a69
2013-03-07 01:44:45 -05:00
c4008ef546 re-base on ALv2 code. Includes:
tkr41: #117828# office crash fixed . (null pointer) + add unit test
    Patch contributed by Tobias Krause
    http://svn.apache.org/viewvc?view=revision&revision=1172105

    Do not add targets for junit tests when junit is disabled.
    Patch contributed by Andre Fischer
    http://svn.apache.org/viewvc?view=revision&revision=1241508

    remove the OutDev::GetKernPair* stubs completely
    Patch contributed by Herbert Duerr
    http://svn.apache.org/viewvc?view=revision&revision=1179221

    reverting un-necessary OS/2 conditionals.
2012-10-03 16:56:06 +01:00
256344d507 Prefixify textfd
Change-Id: I42c9166dcf6d256d071a3edb20ab64184fef1f89
2012-10-01 13:58:14 +03:00
d6b68db264 Renamed calc_Text_text_csv_StarCalc type to generic_Text.
Change-Id: Ica6aef56733c7c71568e37166a2f78d6aa05a118
2012-05-25 02:04:18 -04:00
8b8e245447 Do the real detection work for plain text & forgot to add a makefile.
Change-Id: I95edb869b00764464d91e1f396da1bb648b74515
2012-05-25 02:04:18 -04:00
a0b640bd18 Initial skeleton code for plain text filter detection service.
Right now it will always fail.

Change-Id: I50011bbf7ce59c3b299d23e688dd1af87bcafeb6
2012-05-25 02:04:18 -04:00