Commit Graph

342256 Commits

Author SHA1 Message Date
Kohei Yoshida
ce8010b482 Remove warning and build error with MSVC.
Change-Id: I8eac2f5ff08968a885a8e413bf4db38092036957
2014-01-17 11:33:17 -05:00
Kohei Yoshida
9d2424a67c This is a struct.
Change-Id: Ieee10f9acb67453ac6c3d893d29330e19d96bdef
2014-01-17 11:33:17 -05:00
Kohei Yoshida
f108efa272 Add border test file for XLSX import.
This is an exactly the same file as the XLS counterpart, only saved
as XLSX.

Change-Id: I05adcdf26eb031324daf810218e770bdc4dc496c
2014-01-17 11:33:17 -05:00
Kohei Yoshida
0a3544fed4 Make the same change to the xlsx import filter.
Change-Id: I94c97e5aa55e6b728d07e91f2527fc0c10820f24
2014-01-17 11:33:17 -05:00
Kohei Yoshida
1cb500c2aa Remove TODO. Now these border thicknesses are permanently set.
Change-Id: Idbf732182eaa5a4b94c98ad4d408407f50cc299b
2014-01-17 11:33:16 -05:00
Kohei Yoshida
d4d174a675 Ensure that we display patterned lines at all zoom levels.
VCL doesn't draw polygons if either its width or height is 1 pixel.
Detect when the polygon is too small to display, and substitute it
with a minimum displayable rectangle.

Change-Id: I7e3174d549880d00ffa55fd2239484c2db3d7829
2014-01-17 11:33:16 -05:00
Kohei Yoshida
009b7be7c8 Revise the line patterns further. Now they look satisfactory to my eye.
Change-Id: I27f4e11bceac25c10de28a866bdcec9576027582
2014-01-17 11:33:16 -05:00
Kohei Yoshida
225509026f Double line looks a bit too apart.
Change-Id: I14676b6e8282a76d0be9dc0cc78e01837726e494
2014-01-17 11:33:16 -05:00
Kohei Yoshida
8d140f3867 More faithful mapping of border line thicknesses.
This time based on how they get printed on paper, not how they look
on screen.

Change-Id: I61a217822229f843de3e89e96cf58b273f2cd8ac
2014-01-17 11:33:15 -05:00
Kohei Yoshida
5489b897bf Distance value has been already scaled; no need to apply scaling twice.
Change-Id: Id3ffc253dbd50fd23e924b4e1a349ab5c2c8518b
2014-01-17 11:33:15 -05:00
Kohei Yoshida
0a8ddb61b1 Apply dashing without consulting current map unit.
Using scaling is sufficient.

Change-Id: If976bec3940772432d814a77681170d7c99306d2
2014-01-17 11:33:15 -05:00
Kohei Yoshida
5250a9ae8e Use this pattern scale to scale things for better line pattern generation.
This works much better across different output devices.

Change-Id: Ie89e7284d9063f98fc5a31c505b64f8ce99a7ce1
2014-01-17 11:33:15 -05:00
Kohei Yoshida
f2ff3b1054 Pass scaling to borderline primitive objects.
This will be used when generating line patterns.

Change-Id: I2fa0298bd3e34df1cb304d9be41e471835484d83
2014-01-17 11:33:14 -05:00
Kohei Yoshida
c04cff6e12 Make thse constructors non-inline.
Change-Id: Iaf23a9962c9dd748247cb986ffabb1a5ba173c09
2014-01-17 11:33:14 -05:00
Kohei Yoshida
e128bf2aef Draw double lined table border somewhat more pleasantly.
Still a scaling issue remains when printed.

Change-Id: I4aab8b976fefc6fd9fc5c08da8173de1326b9a4c
2014-01-17 11:33:14 -05:00
Kohei Yoshida
b7d4d28c6d Disable these tests for now.
Change-Id: I4dc62a8ae0788b468dd11384025964bd9c3ea874
2014-01-17 11:33:14 -05:00
Kohei Yoshida
7b708d3006 Always disable anti-aliasing when drawing table borders.
Change-Id: Idede8220ac36c5bd4a88ceda33a99333f7b9fe90
2014-01-17 11:33:13 -05:00
Kohei Yoshida
c95871a04b Map Excel's normal dashed line to our FINE_DASHED.
Excel's medium dashed maps better with our regular DASHED pattern.

Change-Id: I9c7161ced9592b6c6617d6edbc616e0b1c3dc1e8
2014-01-17 11:33:13 -05:00
Kohei Yoshida
ba4324917a More fine-tuned stroke patterns.
Only the pixel map mode is visually inspected.

Change-Id: Ia8ac978a0d3049d7e7162f1157822b85d475dfdf
2014-01-17 11:33:13 -05:00
Kohei Yoshida
3136b39e0d Use hairlines judiciously to draw very thin patterned strokes correctly.
This prevents some dashed or dotted lines from being skipped when printing
or in print preview.

Change-Id: I9d0a8ae743241d17d65935f4bf0d122e4313bff8
2014-01-17 11:33:12 -05:00
Kohei Yoshida
2c702a31f0 Fixed comment.
Change-Id: I48d8ed8e218508f4f2d8f377fa9052ba02e61f37
2014-01-17 11:33:11 -05:00
Kohei Yoshida
6064f984cd Excel's hair line is not "fine dashed". It's a solid line.
Excel may display this line as fine dots on screen, but on paper this is
a ultra thin solid line.  We need to go by what gets printed on paper.

Change-Id: I6640706ff8a16ad26330f8f609a429fb7f14faad
2014-01-17 11:33:11 -05:00
Kohei Yoshida
5cdb7a5934 Remove STYLE_* and use css::table::BorderLineStyle instead.
Change-Id: I187511dbf85ecdfe0c5d05c6f77cf4ac93363051
2014-01-17 11:33:11 -05:00
Kohei Yoshida
1051a7bedc Typos etc.
Change-Id: I4838514bc85636df1b3f0558ce1796431bfe19f3
2014-01-17 11:33:11 -05:00
Kohei Yoshida
5a0258868c Hide the implementation of svx::frame::Array.
Change-Id: Iad2d494bf7dd9f1f69e4e863aeaa514bf76c7c76
2014-01-17 11:33:10 -05:00
Kohei Yoshida
ebba1f506c Test Excel document that contains all cell borders that Excel supports.
Plus some screenshots of what they look like in Excel.
2014-01-17 11:33:10 -05:00
Caolán McNamara
e44e87ae12 standardize indent between tabpages
Change-Id: I1a8b5e7ad1688b968ad9a91f987e14c1d75b542b
2014-01-17 16:29:21 +00:00
Caolán McNamara
12ec0a80a4 Updated core
Project: help  48be01cfea8e46888219d8b384031ce09c1d829d
2014-01-17 16:20:38 +00:00
Olivier Hallot
9c4032921c Convert chart data source tab page & dialog to .ui
Conflicts:
	chart2/source/controller/dialogs/dlg_DataSource.cxx
	chart2/source/controller/inc/dlg_DataSource.hxx

Change-Id: Ic3e3adc578156161f16254862e1ca33a8ad9e1f6
Reviewed-on: https://gerrit.libreoffice.org/7255
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-17 16:09:50 +00:00
Tor Lillqvist
92bede3900 Avoid some global statics that drag in lots of code in the static linking case
When doing static linking, i.e. when building the single executable
for an iOS app, or the single DSO for an Android app, we list all our
libraries (which all are static archives) on the linker command
line. Static initializers in any library always get linked in, so it
is a good idea to avoid such in the cases where they drag in a large
amount of code. Which was the case here.

Change-Id: Idef9aec1c10686c86f517ad10cf540a313d9c829
2014-01-17 17:47:42 +02:00
Stephan Bergmann
04683f1488 Window::Notify should return bool
Change-Id: I72081b1022582c8b6f95a611e21d9c78f7581efe
2014-01-17 16:42:29 +01:00
Miklos Vajna
734cf8395d VML import: fix height of textboxes when border distance is non-zero
The VML concept is that the height / width of a textbox is absolute, and
border distances only affect the position of the shape text, not the
size of it. OTOH, when we set the Text*Distance UNO properties on a
textbox, the size may change. Make sure that during VML import setting
those properties doesn't change the size.

Change-Id: I53b328b66572fc05027be344869bc1a78d855558
2014-01-17 16:35:02 +01:00
Samuel Mehrbrodt
0f86895fcd Add the Navigation buttons to the Search toolbar
They were remove from below the scrollbar before and it was decided to put them on the Search toolbar: http://nabble.documentfoundation.org/Libreoffice-ux-advise-Remove-the-Navigator-button-below-the-scrollbar-in-Writer-tp4083097p4086370.html

Change-Id: I5f7dfc0aa522e97cf3821c494525c967dcd6a92c
Reviewed-on: https://gerrit.libreoffice.org/7006
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-17 15:16:25 +00:00
Michael Stahl
769778e489 test::BootstrapFixtureBase::getPathFromWorkdir not unused
Change-Id: I4ddad27d1e5a4de9885956b80db37f1e2f80a96e
2014-01-17 16:08:09 +01:00
Caolán McNamara
2681f6442f fix up logic to hide empty frames for e.g. field format in dbaccess
Change-Id: I85a71cbc3f072940a369c10e13fe40a13008df66
2014-01-17 15:00:01 +00:00
Caolán McNamara
3a806d027c convert field dialog to .ui
Change-Id: Ic268c17941038319240bb70d59d04c9b9a7a2412
2014-01-17 15:00:01 +00:00
Michael Stahl
7edb1f5f32 curl: we really want --with-darwinssl on Mac for libcmis
(regression from 2fd70b6bf7)

Change-Id: I9e1d4d17582011a067aecf47144bb70643fac806
2014-01-17 15:54:59 +01:00
Michael Stahl
c8e9038b13 fdo#72530: drawinglayer: fix PDF export of lossless picture
Don't pass empty Rectangle to PDFExtOutDevData::EndGroup(), it will
result in early return from PDFWriterImpl::drawJPGBitmap() and no
picture in the PDF.  Passing in the same Rectangle for the 3rd and 4th
parameter will avoid cropping in PDFExtOutDevData.

(regression from 677df250be)

Change-Id: Icf110fe3e635319419fcacc7bc684c792a34d6ad
2014-01-17 15:19:32 +01:00
Petr Vorel
db27efd297 removed some unused code (svx, svtools, unotest)
Change-Id: I1250581d69423030bd0a93a1529458b8d424ce3e
Reviewed-on: https://gerrit.libreoffice.org/7329
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-17 13:50:26 +00:00
Matúš Kukan
0ee948fe59 Add some missing implementations from fwk component.
There will be more needed.

Change-Id: Ibb3dff0e080370f25a3e8ff07ab78c1e9b73be52
2014-01-17 14:43:11 +01:00
Bryan Quigley
17f39da974 Make Flat XML document name consistant with ODF
List discussion: http://lists.freedesktop.org/archives/libreoffice/2013-November/057337.html

Change-Id: I4ddaa7adcffefbedab895f5e94eb6bd92201386e
Reviewed-on: https://gerrit.libreoffice.org/7488
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-17 13:33:13 +00:00
Bryan Quigley
7a14419439 Make text choose encoding
See thread here: http://lists.freedesktop.org/archives/libreoffice/2013-November/057337.html

Change-Id: I1de7c24f8be8a7d1142275311f94b6e4e7800229
Reviewed-on: https://gerrit.libreoffice.org/7487
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-17 13:31:59 +00:00
Caolán McNamara
77590bf00d drop WB_CLIPCHILDREN so that enable/disable redraws correctly
Change-Id: I0df16b743e451f5b9ac05f09ed694f34779c0465
2014-01-17 13:04:34 +00:00
Caolán McNamara
251f21699e ellipsize incorrectly set here for some reason
Change-Id: I85b89c59c3545aef538da47a3d3727110cff4a82
2014-01-17 12:32:16 +00:00
Caolán McNamara
e363212364 tweak MultiListBox to ListBox
Change-Id: I94e39f29c2920eea57262cf047f899eb0bbe62c4
2014-01-17 12:32:16 +00:00
Matúš Kukan
9e18f7e3cf disambiguate URLTransformer
Change-Id: I27a80a7593889105c7a75c04de08eebe28e5c541
2014-01-17 12:59:01 +01:00
Douglas Mencken
2fd70b6bf7 Get bundled curl to be used on OS X too
Don't force "yes" on Darwin.

Change-Id: I3a6a2ecdf15325d07fb22b9a6bb0da7b313036cb
Reviewed-on: https://gerrit.libreoffice.org/7197
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-17 11:55:32 +00:00
Miklos Vajna
40a8b1f92c VML import: fix rotation of simple shapes inside group shapes
Change-Id: I28d2e2d801b06b92b5348123d88604fb4d10d828
2014-01-17 12:48:03 +01:00
Chris Sherlock
683764db4c Additional warnings when processing cmap tables
Small enhancements to the code:
* Removed unused code that clips unicode characters to the baseplane
* Add a SAL_WARNING if the maximum character is greater than the
  minimum character.

Change-Id: I783fba75435e7f98a65afab2e091b737efc9ddc6
Reviewed-on: https://gerrit.libreoffice.org/7404
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-17 11:44:25 +00:00
Noel Grandin
d930faddc9 sal_Bool->bool
Change-Id: Id38995252172df650e995504d929e265c023d2bc
2014-01-17 13:43:51 +02:00