Commit graph

6565 commits

Author SHA1 Message Date
Caolán McNamara
be5f319ce0 use iso15924 script names 2011-10-21 11:27:39 +01:00
Caolán McNamara
e84482a383 Use language/script specific CTL/CJK sample text in font preview
i.e. font names are often typically in English, so fairly useless
to take the English name to preview what effect the font will have
in a CTL/CJK script.

More languages and scripts need to be added, but this should be
sufficient to bootstrap this up
2011-10-21 11:27:39 +01:00
Thorsten Behrens
716c052a1c Fix fdo#41995 - true embedding of svg images.
Previously, svg images were always wrapped as .svm metafiles with
a preview graphic. Sucks for interop - so now, we save true svgs
at least for bleeding edge extended odf1.2
2011-10-21 12:05:07 +02:00
Caolán McNamara
ada3148079 add makeRepresentativeTextForLanguage to generate sample text
add initial code to generate language specific sample preview text samples for
use for font previewing in format->character
2011-10-20 12:54:56 +01:00
Tomofumi Yagi
8c2902ecbf fdo#37129: Fix the drawing of dotted and dashed borders in Calc. 2011-10-20 11:05:17 +02:00
Caolán McNamara
6016eb1ec1 rework sample text generator for different scripts
split out code that creates sample text for different scripts
add extra scripts and sample text
add extra space between sample text preview and font name
add guess-script from opentype unicode coverage bits
split out code that knows the names of symbol fonts which don't
have symbol encoding set
2011-10-20 08:55:02 +01:00
Julien Nabet
93e971ac54 A cppcheck cleaning with some simplification 2011-10-13 22:18:00 +02:00
Julien Nabet
e57d4e3c83 Some cppcheck cleaning 2011-10-12 23:19:19 +02:00
Andras Timar
003973f5d4 add Pali language (Latin script) - fdo#41599 2011-10-10 11:48:29 +02:00
Jan Holesovsky
538da29dca Kill unused code in Ruler. 2011-10-09 19:55:03 +02:00
Pierre-André Jacquod
8efc2f7428 cppcheck reduce scope of var in svtools/..svimpbox.cxx 2011-10-07 15:57:35 +02:00
Pierre-André Jacquod
8cfd5f620d cppcheck scope reduction in svtools/..imivctl1.cxx 2011-10-07 15:57:34 +02:00
Pierre-André Jacquod
73ec894e0d cppcheck reduce scope in svtools/.. wmfwr.cxx 2011-10-07 15:57:33 +02:00
Pierre-André Jacquod
1d2870f33c cppcheck scope reduction in svtools... winwmf.cxx 2011-10-07 15:57:33 +02:00
Tor Lillqvist
0a5a76f44d WaE: unsafe mix of type 'bool' and type 'sal_Bool' in operation 2011-10-05 17:39:23 +03:00
Tor Lillqvist
8f51cde01f WaE: 'argument' : truncation of constant value
FILEVIEW_SHOW_NONE 0x80 so it doesn't fit into a sal_Int8. So make the
nFlags argument to the second SvtFileView constructor sal_uInt8
instead.
2011-10-05 17:39:21 +03:00
Tor Lillqvist
a8e65dcd93 WaE: type name first seen using 'class' now seen using 'struct' 2011-10-05 17:39:18 +03:00
Tor Lillqvist
c395e3f96a WaE: class has virtual functions, but destructor is not virtual 2011-10-05 17:39:16 +03:00
Tor Lillqvist
15c73850fa WaE: class has virtual functions, but destructor is not virtual 2011-10-05 17:39:10 +03:00
Tor Lillqvist
e5f71ca7c2 WaE: '==' : unsafe mix of type 'sal_Bool' and type 'bool' in operation 2011-10-05 17:39:05 +03:00
Caolán McNamara
03268fc84e rejig this to remove self-assign 2011-10-05 14:01:35 +01:00
Caolán McNamara
9891d0722f WaE: unused variable now 2011-10-05 13:55:03 +01:00
Marc-Andre Laverdiere
bcb1c85033 Refactoring drawing of polygons and polypolygons in enhwmf.cxx 2011-10-05 13:55:02 +01:00
Caolán McNamara
04723baf6e callcatcher: various unused methods 2011-10-04 09:00:05 +01:00
Takeshi Abe
6612ea7d9b definition of ALPHA is no longer available for DEC Alpha
proper ifdef for DEC Alpha should be covered with AXP
2011-10-03 01:46:06 +09:00
Cédric Bosdonnat
cd5f71c906 Revert "Default color for writer page break from blue to red: was barely visible"
This reverts commit d39a1d4de9. Turning
page break color to something brighter is no longer needed.
2011-10-01 15:58:03 +02:00
Caolán McNamara
1f5c696c37 add mode-lines to .m files and last round of merged files, etc. 2011-09-30 09:09:25 +01:00
Maciej Rumianowski
ef01fae275 Replace SvULongs with std::vector in sfx2
Bug 38831, replace SvULongs with std::vector in sfx2 and related svtools
2011-09-29 08:09:19 +02:00
Marc-Andre Laverdiere
706651b37f Removed unused code EnhWMFReader::ReadGDIComment() 2011-09-28 18:58:58 +05:30
Stephan Bergmann
6671fa81db Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *(). 2011-09-27 20:22:03 +02:00
Marc-Andre Laverdiere
f6a34255af Minor refactoring on WMF loading 2011-09-27 13:39:12 +01:00
Caolán McNamara
d63a3b885a callcatcher: remove unused code 2011-09-26 10:18:40 +01:00
Caolán McNamara
fee307d452 deugly HTMLOutFuncs::ConvertStringToHTML 2011-09-23 09:02:24 +01:00
Caolán McNamara
871426533f just silence the auto_ptr deprecations in isolation 2011-09-22 15:01:05 +01:00
Caolán McNamara
ac58231a01 ByteString->rtl::OString[Buffer] 2011-09-22 15:01:04 +01:00
Thomas Arnhold
be6a8677a6 OSL_TRACE: Remove trailing newlines
Done with perl regex:
s/(\n\s*OSL_TRACE\(\s*\"[^\n]+?)\s*(\\n)+(\"[^\n]*\)\;\n)/$1$3/gs;

- removed trailing whitespaces and (multiple) newlines
2011-09-21 09:28:39 +02:00
Caolán McNamara
5184f5a4d3 ByteString->rtl::OStringBuffer 2011-09-19 09:59:23 +01:00
Caolán McNamara
24b1a63c61 ditch ByteString::*Buffer* 2011-09-19 09:59:21 +01:00
Caolán McNamara
94d8c09758 rework this in terms of read_uInt8s_AsOString 2011-09-19 09:59:21 +01:00
Andras Timar
a705aec511 add KeyID option to Language dropdown box 2011-09-17 10:18:18 +02:00
Caolán McNamara
346849d646 unused define 2011-09-15 17:01:56 +01:00
Tor Lillqvist
1a8349eee3 Drop leftover unused temp variable 2011-09-15 13:14:41 +03:00
Caolán McNamara
f64dc2c9fb I believe the src charset pragma is archaic and unused 2011-09-13 10:15:20 +01:00
Lionel Elie Mamane
b89da4bbb9 Type: BROWSER_INVALID_ID -> BROWSER_INVALIDID 2011-09-12 17:46:56 +02:00
Lionel Elie Mamane
f7ed67f2cf cleanup BrowseBox, DbGridControl & friends handle & invalid column handling
- BrowseBox: Check Handle column-related invariants when adding a
   column:
   # only one handle column
   # it is the first

 - BrowseBox: Check column id-related invariants when adding a column:
   # Id is not the special "handle column" value
   # Id is not the special "invalid ID" value
   # unicity of the ID among columns

 - GetColumnId: return BROWSER_INVALIDID, not 0 (== id of handle
   column) for an invalid column; adapt code calling GetColumnId to
   this change.

 - Use the correct const or #define'd symbol instead of magic
   constants; introduce such a symbol if needed

 - General other miscellaneous cleanups:
   # Translation of comments
   # typo/spelling in comments, error messages and the like
   # parenthesise #define'd value
   # use SAL_MAX_UINT16 instead of USHRT_MAX where a sal_uInt16 is
     expected
   # BrowseBox::SetColumnTitle: nItemId is checked to be non-zero, so
     don't test if for zeroness again.
2011-09-12 16:40:51 +02:00
Marc-Andre Laverdiere
aa3778e3db Refactorings in enhwmf.cxx 2011-09-12 13:14:24 +01:00
Marc-Andre Laverdiere
76983359e6 Added variable initializations when loading WMFs and EMFs
* Added variable initializations when reading from SvStream
 * Minor code cleanups
 * Translated some German comments

Changes related to an issue showing in Valgrind over a misformed WMF and
EMF
2011-09-12 11:09:37 +01:00
Julien Nabet
da25c271ce Drop unused parts 2011-09-10 07:55:29 +02:00
Stephan Bergmann
7275be1519 sb140: #i117291# do not mis-use XTypeProvider.getImplementationId in XUnoTunnel.getSomething 2011-09-09 17:46:39 +02:00
Caolán McNamara
3a53904ae6 callcatcher: update list 2011-09-08 09:29:31 +01:00