Commit graph

308717 commits

Author SHA1 Message Date
Noel Grandin
6b35f10b83 Convert Svptrarr to std::vector<SwPosition*>
Change-Id: I1527f6c319d536286e1dc12c8c9ffa3b6a0e3713
2012-07-04 23:23:19 +02:00
Noel Grandin
db36d83392 Convert Svptrarr to std::vector
Change-Id: Ia385f3b004f9d4744035b43e0e049dbb19da774b
2012-07-04 23:23:19 +02:00
Fridrich Štrba
0be0cc0e50 Targeted cleanup of namespaces
Change-Id: I9e3449b44ff47f77f72da398c4f651519b824bfd
2012-07-04 22:43:33 +02:00
Eike Rathke
967002c852 fixed wrong string copy logic in ScFormulaCell::CompileDBFormula()
Change-Id: Ib87cff1ddff02de073b1c09703e1b550b7a3a740
2012-07-04 21:28:47 +02:00
Luboš Luňák
bd493f15a5 use SAL_UNUSED_PARAMETER instead of local macro 2012-07-04 21:28:00 +02:00
Fridrich Štrba
244c20f7c4 Removing a directory committed by mistake
Change-Id: I5a03c71c303e786a0efb3397e887b8a6d7385932
2012-07-04 21:17:34 +02:00
Noel Power
1720641bf3 initial attempt at fdo#47263 allow direct access to nested uno structs 2012-07-04 20:13:45 +01:00
Ivan Timofeev
504e433331 fix drawing of calc input line when vcl backend supports CTRL_FRAME
it is counterintuitive, but FRAME_DRAW_NWF was introduced to shrink a draw
rectangle on its way, regardless of native CTRL_FRAME support
(see d02e19e3d8).
And that is what we want for the calc input line.

Change-Id: Ie2f8bc6e2e21a56b081b8c71cc2b642b8f05848f
2012-07-04 23:06:28 +04:00
Fridrich Štrba
7989bba5b6 No need to suppress warnings anymore
The corresponding classes in libwpd-0.9.x have virtual destructor
if they have virtual functions.

Change-Id: Ibf97b45e7ce7d5949ac8bea0a8c204b548f567e4
2012-07-04 21:01:15 +02:00
Iain Billett
b8c2ade611 Use page thumbnails for icons.
Change-Id: I5df6341e5d1d8d775d2676d4ef5a52a528c6615c
2012-07-04 18:38:24 +01:00
Iain Billett
731332e6cc Moved headers in xml files. Save page 1 thumbnail in onDestroy.
Change-Id: I7586c6475a8e717f3db24a31dca2b1e31068edc2
2012-07-04 18:38:24 +01:00
Iain Billett
7e7eafb19f Added licence headers on java & xml files.
Change-Id: I2b9a62e3426e7842baeac24cf122fc83b4f238da
2012-07-04 18:38:24 +01:00
Iain Billett
478ba74ac4 removed progress bar - layout issues - will come back to it.
Change-Id: Ie949a416d2898750e8d76bd119ecb462d920d6ff
2012-07-04 18:38:24 +01:00
Iain Billett
e11cd35387 Added progress bar. 2012-07-04 18:38:23 +01:00
Iain Billett
75e43a66dc Some optimisations of the open method to re use page views where possible. work in progress 2012-07-04 18:38:23 +01:00
Rafael Dominguez
2168ee0562 Create new folder after getting input text with selected templates.
Change-Id: I8eb788e9158f5016f60ae344543859ac4e403ebe
2012-07-04 12:52:28 -04:30
Rafael Dominguez
cca6762175 Connect button click handlers and end dialog with the desired result.
Change-Id: Ib87bd61c1cc7da906304c8ca43cd38d9a7bb1fcf
2012-07-04 12:35:45 -04:30
Rafael Dominguez
7887eeba65 Set correct dimensions and positions of inputbox widget.
Change-Id: I31f92f4af90865d8713f50031c08a6fd4498d885
2012-07-04 12:23:26 -04:30
Luboš Luňák
c42a8d41af use -nologo with other MSVC build tools too
Except for non-silent linking, where it would for some strange reason
also disable printing of contents of response files (=objects to be linked).
2012-07-04 18:28:33 +02:00
Michael Stahl
2d045cdb69 refactor handling of double border widths:
Word uses a completely different definition of "width" of a double border
than OOo and ODF: for Word the width is apparently the largest of the 3
component widths, while OOo and ODF define the width as the total with of
all 3 components.  The new border implementation in LO 3.4 was apparently
inspired by Word's double border definition, which resulted in
various import filter regressions, see the previous fixes:

36e43b5299
e2ffb71305
70a6a4d425

These fixes set the ScaleMetrics, which actually seems sub-optimal as
there is a ScaleItemSet function somewhere that apparently re-scales
all items in an itemset, which could undo the fixes.

Also, one of the fixes actually managed to break RTF/DOCX import
of double borders, as that ended up in the same code via the API.

This commit now reverses the change, so that the width of a border is
now always the total with of all components, which is (imho) much more
intutitive, and also leads to a consistent UI where selecting say 3pt
width has predictable results, no matter what the border style.

The border widths are now converted in the Word format import/export
filters (writerfilter and sw/source/filter/ww8), and various tests
were adapted to the new handling.

Change-Id: I50456c49b1a298569607e6c88f19f18441348ac3
2012-07-04 17:55:45 +02:00
Michael Stahl
6146c5d155 rtftok: border types must be mapped to the values in ooxml/model.xml
... not to the tables::BorderLineStyle values, because the domain
mapper's MakeBorderLine converts the values to BorderLineStyle.

Change-Id: Id89e0bcf80fbd9a1ac9238e09d898bb6b82303b4
2012-07-04 17:55:45 +02:00
Michael Stahl
8b45939485 replace enum SvxBorderStyle with css::table::BorderLineSyle
Change-Id: I1dadb53f46b23f92d34061ef78dda872bdbcda67
2012-07-04 17:55:45 +02:00
Lionel Elie Mamane
8dd6a23b6b fdo#43556 round pos&dim of report controls & sections to nearest 10^-4m
Change-Id: I3fa331d246160935f4feed21de69f9ec0c2e9994
2012-07-04 17:50:18 +02:00
Rafael Dominguez
40ec7e20e3 Remove unused method.
Change-Id: I5b084fa1aa88ef7d1e55700033b05c57a0979ea2
2012-07-04 11:11:40 -04:30
Rafael Dominguez
41e17582a9 Make title edit box 50% of the overlay width.
Change-Id: If8fb15738c0c87f67a39ae53f36e7f3839ca7dcc
2012-07-04 11:11:00 -04:30
Miklos Vajna
63d89faeb7 ww8par: unused includes
Change-Id: I9aab92f88194d7e0217150c036b00c6444bb0231
2012-07-04 17:24:14 +02:00
Rafael Dominguez
d431029cfa Remove deprecated method.
Change-Id: I60bae94c3d86d48f570ae687f16400e034be872c
2012-07-04 10:53:30 -04:30
Bjoern Michaelsen
29305e54d0 add note about rsvg being a hard dep now
Change-Id: Ice373ab8ceba1d5de37bd5c08e38b6bb6d140b74
2012-07-04 17:20:51 +02:00
Michael Meeks
b95cfee03c fix fdo#51547: revert "Some cppcheck cleaning"
This reverts commit 2f804c94cd.
2012-07-04 16:08:13 +01:00
Muthu Subramanian
37f6fc4933 n#768027: Slide notesMaster and notes import. 2012-07-04 20:58:35 +05:30
Miklos Vajna
08556bfd13 wwSectionManager::SetUseOn: share first page header / footer by default
Change-Id: I4e0c605cfe4f906a9a0a45d49e89b990b64ade07
2012-07-04 16:59:37 +02:00
Rafael Dominguez
4f93db7859 Delete search view when dialog gets destroyed.
Change-Id: I82612d5854ef4db5b0bfe4e245e43cf14cf6fd4d
2012-07-04 10:25:41 -04:30
Rafael Dominguez
1ceca7ac90 Fetch and display templates that contains the search keyword.
Change-Id: I248bcf7fb1a0248fdbb1cd4e57c815b3d5d0b28b
2012-07-04 10:09:40 -04:30
Andras Timar
e32230ddba check for Digest::MD5 Perl module
Change-Id: I11ee3d8ea0245758570cfd482a99f7012c0ad869
2012-07-04 16:31:58 +02:00
Rafael Dominguez
822532024d Set search view size an position.
Change-Id: Ifed9e633ef73c4248fa67adc8b0e90dd2c484dbd
2012-07-04 09:46:29 -04:30
Philipp Riemer
b779da6fb7 renamed "MakeFormel" into "MakeFormula" (in sw/)
Change-Id: I1da8e5e7b8d12895c099a6c0cc259009e76aa341
2012-07-04 15:46:44 +02:00
Rafael Dominguez
c11eff1e28 Dont cache search term when you finish searching.
Change-Id: I2975bd530dc2377d8b2e0003f9a5c5986d270d6a
2012-07-04 09:03:59 -04:30
Rafael Dominguez
74780aa9a9 Create a view to display search results.
Change-Id: I85b34937a91dbc321ff98ee873f9e8b9cc037fd2
2012-07-04 08:53:29 -04:30
Benjamin Drung
2d06094c70 fdo#35365 Set the default font color to black and the document color to white.
The font and document color of a Writer document or an Impress presentation
should not be derived from a desktop theme. A Writer documents needs to look
good on paper. An Impress presentation may have it's own theme. The appearance
of a document should not change by changing the desktop theme.

With this change a document looks the same on any computer if the user do not
change the default colors.

Change-Id: Ia42ca7882f0d2dd1f2a304db5e4b5aaba23244fc
2012-07-04 15:11:39 +02:00
Alexander Wilms
728efa237e modernize the default set of Impress templates (masterpages)
Merged changes from Stefan Knorr (astron) <heinzlesspam at gmail dot com>,
Bjoern Michaelsen <bjoern dot michaelsen at canonical dot com>, and
Petr Mladek <pmladek at suse dot cz>

Change-Id: I942f747aadc897b73d97b2047e267d752580aa33
Signed-off-by:  Petr Mladek <pmladek@suse.cz>
Signed-off-by:  Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
2012-07-04 15:02:49 +02:00
Ivan Timofeev
f4679c1caf cast sal_uInt8 to sal_Int32, otherwise it would invoke valueOf(sal_Bool)
Change-Id: Ibdd7b9213c073035a34cab11a6ec6f6d07bc6b13
2012-07-04 15:49:13 +04:00
Caolán McNamara
359f8cebb6 fix build problem on windows
Change-Id: I0c965ac8abd25479ea97a95036f03c63daa106ae
2012-07-04 12:24:09 +01:00
Michael Meeks
00c9394baf re-base on ALv2 code. 2012-07-04 12:14:59 +01:00
Miklos Vajna
69cc00837f sw: drop some unused includes
Change-Id: Ia17354be0b8cea2ba519c1d907b69034cd434567
2012-07-04 13:04:49 +02:00
Miklos Vajna
b1594febc0 SwDoc::ChgPageDesc: copy page size to first page
Change-Id: I714c8cb16710e4220ce97e8b5597b5ff9f4f0bab
2012-07-04 12:52:56 +02:00
Daniel Rentz [dr]
1f0abdcf60 dr80: #i117392# initialize VBAGlobals object if single Basic module is in VBA mode, do not expect existing parent sheet in implementation of Excel.Application.ActiveCell 2012-07-04 11:50:22 +01:00
Takeshi Abe
30d3637516 removed unnecessary forward declarations of class
Change-Id: I0d6aad17c471b6edd584c668dc7ff054090c185c
2012-07-04 19:18:57 +09:00
Markus Mohrhard
ce19822db8 don't use SC_DLLPUBLIC for class + method
Change-Id: Iec2cbcc0cfdfccb8d143b7a83d69f7fc186c3f7e
2012-07-04 12:10:32 +02:00
Miklos Vajna
37a5afbe98 sw: tell InsertNewPage() if that'll be a first page
And in that case we can unconditionally call GetFirstFmt(), as the
SwPageDesc copying methods take care of the "shared first/right" setting
already. With this, the layout handles HeaderIsSharedFirst and
FooterIsSharedFirst correctly when the first page is the first physical
page.

Change-Id: Ib6d922aebaa1384856f79f2501dfbe087a74a20f
2012-07-04 10:54:20 +02:00
Miklos Vajna
5f4302c147 SwPageDesc: let IsHeaderShared() not affect IsHeaderSharedFirst()
Change-Id: I23224f4b408e36a858cd8ce6b1cfbdaac2bf4b60
2012-07-04 10:54:20 +02:00