Commit Graph

344864 Commits

Author SHA1 Message Date
Michael Stahl
5852b137e0 gbuild: AutoInstall: RepositoryExternal.mk may contain these too
Change-Id: Ieb76643e2f53d19b1796f118bae2a7e954e6f015
2014-02-13 12:57:48 +01:00
Michael Stahl
c489fe73ac gbuild: improve error messages about missing registrations
Change-Id: Ib3c5d8f3921801f143447d8e01463905d80ac319
2014-02-13 12:57:48 +01:00
Jan Holesovsky
f48d1df73b writerfilter: Get rid of a whole load of static OUStrings.
Change-Id: Ic5b254d1e6579baf2c9acdd24ddbaa95d554cf68
2014-02-13 12:58:53 +01:00
Jan Holesovsky
08aa1c83c7 writerfilter: No need to namespace these constants, they have prefix already.
Change-Id: I5590adbf0f60b10d309ddf2a6b9e50231245a659
2014-02-13 12:58:53 +01:00
Ravindra Vidhate
cc1c838942 fdo#74215:Fix for empty imagedata in Number Pic bullet
1. While exporting through LO, it writes numPicBullet with imagedata of size 0,0.
2. Because of this image file of 0KB is added in media folder
3. While opening the document in MS-Office, it shows the image missing at the top
which is of 0 KB size.

Conflicts:
	sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Reviewed on:
	https://gerrit.libreoffice.org/7744

Change-Id: I5f8f187fc4fe678dceb3f2b594de74a6b52cbe74
2014-02-13 12:55:03 +01:00
Michael Stahl
3fc36ba147 gbuild: add some error checking for gb_Helper_*_for_install
Change-Id: Idb82c3d1d723f9214ca1424299cb1c93597fca40
2014-02-13 12:49:26 +01:00
Stephan Bergmann
e40f9e6f08 -Werror,-Wdeprecated-declarations
Change-Id: I6b10ab0b3f11559f515084b45dc3771627223418
2014-02-13 12:45:51 +01:00
Stephan Bergmann
b093ccd772 -Werror,-Wunused-private-field
Change-Id: Ie5e4742f0d71c240e0f82046682957537cac1b60
2014-02-13 12:39:17 +01:00
Stephan Bergmann
a19172cb0f -Werror,-Wunused-variable
Change-Id: I91ab5f87f859b855c858a41afd218f57b03ad3a2
2014-02-13 12:17:12 +01:00
Rohit Deshmukh
1f34909fd7 fdo#74106: Fix for Hebrew Text-Bulleted List converted to Numbered List
Problem:
   Hebrew Text-Bulleted List converted to Numbered List in round trip file

Implementaion:
   - Added Hebrew support for import and export for list.
   - Added Unit test case.

Conflicts:
	sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Reviewed on:
	https://gerrit.libreoffice.org/7693

Change-Id: I739f4b74fb0451f6da80be06114c48074d1e4cdf
2014-02-13 12:14:04 +01:00
Stephan Bergmann
ee585cc86d cid#983607 unexpected std::exception
Change-Id: I0de931d79548505ca7d26ffdfb560cfd5c6105a9
2014-02-13 12:10:33 +01:00
Caolán McNamara
cc6725773b Various adjustments of the pivot table
especially relative positions were relative
to the dialog which was assumed to be then
a direct parent of the widgets so that
a simple calculation could make the positions
relative to the widgets

also now the pivot table fits into a 768 pixel high
screen

Change-Id: I86a4155439872e8273943b90f15320e560e237a4
2014-02-13 11:04:31 +00:00
Caolán McNamara
02ef234b77 fix homogeneous grid spanning row/col handling
Change-Id: I26ca29f2b02a1587cfe94d5342809f51a207a194
2014-02-13 11:04:31 +00:00
Katarina Behrens
cfa4f622ca Converted pivot table layout dlg to .ui
pimped up dialog a bit, added mnemonics

Change-Id: I4585d9a3a1c96b45c7eedea8a5be41ec717139dd
2014-02-13 11:04:31 +00:00
Caolán McNamara
89cc3438ed Updated core
Project: help  d5e02baa76eadb781a08d4cc9108288a055829d6
2014-02-13 05:04:02 -06:00
Stephan Bergmann
afb9d333eb cid#706247 wrong exception type
Change-Id: Idc83f827b90eedcc4345345a77efbda35e08bff0
2014-02-13 11:58:31 +01:00
Vinaya Mandke
8c6ee9360b fdo#73541 "Page Margins : Mirrored" was not preserved on export to DOCX
Mapped Property at import, so Page margins mirrored are imported correctly.
Also exported the mirrorMargins in settings.xml
Added export UT for the same.

Conflicts:
	sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Reviewed on:
	https://gerrit.libreoffice.org/7632

Change-Id: I2d90643f55e1dc1d96c809e28ce37dee4653bf57
2014-02-13 11:51:50 +01:00
Muthu Subramanian
a4cd841541 n#757432: Styles (rename &) copy to different decks.
While copying slides to different slide decks,
styles were not being copied if there is already one
with the same name. This patch renames and copies those
to keep the formatting intact.

Change-Id: I66f71493f1fd658eed43e39aa7ae7ee7b5463b34
2014-02-13 16:13:01 +05:30
Matúš Kukan
c388071c4d remove now empty fwk_component_getFactory
Change-Id: I5f2f5fc9ccc75b145572aa0bb88b00b0d7a5872d
2014-02-13 11:27:21 +01:00
Matúš Kukan
2d46ef6da5 fwk: Constructor feature for single-instance framework::Desktop.
Change-Id: Id582e672c0b41a35d25361f7dfe970a767880b2a
2014-02-13 11:27:15 +01:00
Matúš Kukan
ce02519c5c Introduce com.sun.star.frame.theDesktop singleton.
Change-Id: I3d269609119149e289652f6bc106e6bd9061672d
2014-02-13 11:26:33 +01:00
Matúš Kukan
924a415e68 cosmetics
Change-Id: Ice4f20db3a590568a7ae4ae59fa0c4ff13e59051
2014-02-13 11:26:31 +01:00
Matúš Kukan
eb1799714c cleaning the code a bit
Change-Id: I4cc9c16fb79f669ae70d10a50ace3943075edd46
2014-02-13 11:26:29 +01:00
Matúš Kukan
5691ef0b4f Move this Singleton class to anonymous namespace.
If you add more Singleton classes into framework namespace,
it builds without any warning but I was not able to see menu text
labels.
Luckily UICommandDescription is involved in this and the problem was not
hidden somewhere else.

Change-Id: Iba0c06c2e31ae509579f31308d9f45f0cb9f654f
2014-02-13 11:26:27 +01:00
Matúš Kukan
9a4056c18f Do not use pattern::configuration::ConfigurationHelper.
Change-Id: I9cf913f085a2c6862e44803485ab63e2b4572eab
2014-02-13 11:26:26 +01:00
Matúš Kukan
dae2b047f9 Remove unused ContainerQuery constants.
Change-Id: Ib9f96f79d805c91e80fa5366c71e3e975ebabe90
2014-02-13 11:26:24 +01:00
Matúš Kukan
d8db7f0f44 ModuleManager should be static; and simplify.
This saves some cycles used to open configuration many times.

Change-Id: I12cc7ac87df897a518368094b12d8dcb5be4e3b5
2014-02-13 11:26:22 +01:00
Nikhil Walvekar
07911ac9fd fdo#73596 Added support to import and export Index from docx.
This currently supports basic import of indexes. Other flags are
still pending. Currently flags are not preserved completely, just
index and xe fields are preserved.

Reviewed on:
	https://gerrit.libreoffice.org/7627

Change-Id: I56058df19aa8332fbcccde77fb1f29347264bbc6
2014-02-13 11:14:19 +01:00
Pallavi Jadhav
e5a891793b Fix for: DOCX-Preservation of Line style Dash type of "Shape with text inside"
Issue :
        File containing Shape with text inside it having Line style as
        Dash type is not getting preserved after RT in MS office 2007.

    Implementation :
        1] Added XML element <v:stroke> with attribute  dashstyle="dash".
        2] Written Export Unit test case.

Conflicts:
	sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Reviewed on:
	https://gerrit.libreoffice.org/7611

Change-Id: Id01c5975c2c1cf176a7459f65973f4c9c3c9b9d8
2014-02-13 11:00:08 +01:00
Stephan Bergmann
2d3030b1fa Revert "sal: fix some clang warning about implicit bool conversion"
This reverts commit 56ff07a795, the correct fix is
d19598b56c "Adapt ImplicitBoolConversion to 32-bit
builds (where sal_Int32 is long)."
2014-02-13 10:51:49 +01:00
sushil_shinde
18044a6095 fdo#69646 Export of table with auto-width, at least one column with auto-width
- In case of auto width to table it should export as auto.
 - Added Unit Test to check it is properly exporting table.

Conflicts:
	sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Reviewed on:
	https://gerrit.libreoffice.org/7594

Change-Id: Id448111b81110bbc6c109f3da9195075b9b8a9fc
2014-02-13 10:49:56 +01:00
Stephan Bergmann
d19598b56c Adapt ImplicitBoolConversion to 32-bit builds (where sal_Int32 is long)
Change-Id: I64480e6026e7e39fe89f90c7d269f6bb1d02968d
2014-02-13 10:49:13 +01:00
Miklos Vajna
08ab574732 CppunitTest_sw_ooxmlimport: make this actually test something again
Change-Id: I05d8b0dafcdea68d57137873ea52d4ab28a9b12b
2014-02-13 10:25:17 +01:00
sushil_shinde
4d34d43b29 fdo#69656 table with auto-width and at least one column with auto-width.
- In case of auto width of table and atleast one cell of table
    is auto width It was setting table width to 100% relative width.
  - hence it was causing rederening problem, table width was wrong
    while rendering.
  - Changed 100% hardcoded value, now setting total width of table
    as per grid values.
  - modified one UT since we no longer setting width of table to
    100% default in case of 'auto' width.
  - Added one UT to check proper table width while importing.

Conflicts:
	sw/qa/extras/ooxmlimport/ooxmlimport.cxx
Reviewed on:
	https://gerrit.libreoffice.org/7593

Change-Id: Iae396c632eb1ef0c06efaa8c1965e4a68f12c6b1
2014-02-13 10:25:16 +01:00
umeshkadam
9d5005a70c FDO#74430: File Corruption due to repetition of docPr Id
Issue :
 - If there is a scenario where a chart is followed by a shape
   (may it be in the footer or on a different page )
   which is being exported as an alternate content then, the
   docPr Id is being repeated, ECMA 20.4.2.5 says that the
   docPr Id should be unique.
 - Two different variables were been used as counters for the
   docPr Id, hence there were repitions in the docPr Id.

Implementation :
 - ensured that a single counter is used to track the docPr Id.

Conflicts:
	chart2/qa/extras/chart2export.cxx
Reviewed on:
	https://gerrit.libreoffice.org/7916

Change-Id: I1c105be184d045ef058423f03259eb8c634fcbbe
2014-02-13 09:55:36 +01:00
Muthu Subramanian
8f8bc0dcf3 Move string hash function into String class.
hashCode() seems to do sampling while creating the hash.
hashCode64() will not.

Change-Id: Id30f5a2a774cf5244dbc00da9649e95a532484be
2014-02-13 13:13:53 +05:30
Norbert Thiebaud
67b1dad881 coverity#1130358 Deference after null check
Change-Id: I3ce41c86f57ed65fd87d403e50df47e3343a5a41
2014-02-12 21:58:15 -06:00
Takeshi Abe
6364a3ec6f Drop unnecessary #include
Change-Id: I9bc9c21811100d6cc1ee7e381a3735567e3bda34
2014-02-13 10:42:33 +09:00
Michael Stahl
45c7b349d7 oox: warning C4101: 'rEx' : unreferenced local variable
Change-Id: I79722b33a0c193a8bb0c0dd357787ee213909051
2014-02-12 23:26:20 +01:00
Michael Stahl
500568a8f3 oox: fix GetTextVerticalAdjust visibility
Change-Id: Iaab33ab752a67e2acd374e0c08045c3e9da22ce7
2014-02-12 23:26:19 +01:00
Michael Stahl
7a403215ec vcl: convert some WNT only SvStream::operator>>
Change-Id: I1752bbc6f079feb6dc3ac3b94d2e434a4201824e
2014-02-12 23:26:19 +01:00
Miklos Vajna
f01c1c91a9 writerfilter: sprm:PDxaWidth/WHeightAbs -> ooxml:CT_FramePr_w/h
Change-Id: I4ae8e58c6187563e5846d58a3c83ef74f1cacb5c
2014-02-12 22:11:31 +01:00
Julien Nabet
e4a448a9c7 Related: fdo#74875 Filter of "nowiki" to be improved - Export to MediaWiki
<nowiki> mustn't be called almost everytime. Now this part still need some work (rework?)

Change-Id: I9a01c1e2fb51a51e0737296117db892e3b3b9ce6
2014-02-12 22:10:46 +01:00
Michael Stahl
016de6fa56 sw: replace #ifdef'd operator<<
Change-Id: I63c24f453f843a363fc056879d652f28d7052f1e
2014-02-12 21:24:47 +01:00
Noel Grandin
0c7f352775 remove SvStream::operator>> methods
in favour of ReadXXX methods.

Change-Id: Ic2c0a7b6b92ff4c236ae99b39d77f3d935b301e3
Reviewed-on: https://gerrit.libreoffice.org/7915
Tested-by: Michael Stahl <mstahl@redhat.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-02-12 19:45:10 +00:00
Kohei Yoshida
da2efb3e14 Perhaps it's better to use nMaxLegalStr here than using hardcoded 32.
Change-Id: Idee4667f5ef9aa71af05139b6fc7ee8a5166b398
2014-02-12 14:46:47 -05:00
Michael Stahl
5499d4c352 Revert "cid#707663 uninitialized pointer field"
This reverts commit 571d116d28.
2014-02-12 20:26:41 +01:00
Michael Stahl
169bc8f790 Revert "cid#707662 uninitialized pointer field"
This reverts commit 5523275482.

Makes every JunitTest crash and burn; clearly pReserved is sometimes
initialized and then overwritten with 0.

Change-Id: I0e9958149de14a23826feef0b1a32c9d374e4d13
2014-02-12 20:26:41 +01:00
Michael Stahl
c3891d88fc Revert "cid#707661 uninitialized pointer field"
This reverts commit e453ba963e.

Makes every JunitTest crash and burn; clearly pReserved is sometimes
initialized and then overwritten with 0.

Change-Id: I4d280770cecf131d1bbcfb9e2550c89b74150c1d
2014-02-12 20:26:41 +01:00
Michael Stahl
6fa0b37047 remove "n" that i somehow managed to add (no doubt in state of delirium)
Change-Id: I71e23c43f14feae0c3b3e0f10a74ee22ccaab7f2
2014-02-12 20:26:40 +01:00