Commit graph

332945 commits

Author SHA1 Message Date
Vishv Brahmbhatt
14c81676d1 Deleting useless unit-test files/directory.
Deleting the "empty_directory" entries of "unittest/user/*" in 'Package_unittest.mk' and corresponding
files from the "test/user-template/*" directory.

Change-Id: Ia53a18bf7d55bfaba91f9bb8c2a15d3578e35e11
2013-08-26 14:47:27 +02:00
Vishv Brahmbhatt
8a1ccacb59 Few name conventions changes.
Changed the name of attributes from "title-shape-relative-height" to "relative-height" & all others.

Change-Id: I3010e8faf8a9bf347a7bec366449bbba77f0a69f
2013-08-26 14:47:26 +02:00
Vishv Brahmbhatt
9b7a693eed Adding vertical layouts to XML file.
The new vertical layouts and the old layouts works well on my maschine.
Also the 'vertical writing' mode seems to be working perfectly for 'vertical layouts'.
And removed the 'switch'case from the "sdpage.cxx".

Change-Id: Ic9f6af68cdeb635f79e67b959f95ac0a79c119ca
2013-08-26 14:47:26 +02:00
Vishv Brahmbhatt
96087f52d9 Fixed a broken unit-test.
Added a new component of "unoxml/source/service/unoxml" in makefile of 'sd_uimpress'.
Also few changes in "drawdoc.cxx".Please ignore the changes of unit-test XML file,
it has to be deleted in subsequent commit.

Change-Id: I50eb516444820c8037aebc8859a322116989d3bf
2013-08-26 14:47:26 +02:00
Vishv Brahmbhatt
07dccf031f Making few changes to the parser logic.
The logical change seems to work perfectly,only few of the layouts involving
'vertical title' are left to be handled in the XML file.Also commenting out
some of the code in the switch case for temporary reference.It will
be deleted in the subsequent commit.

Change-Id: I491e414dec3dbd01d8566f23ab31096daa7bbfa8
2013-08-26 14:47:26 +02:00
Vishv Brahmbhatt
20ee726d6f Few changes to "drawdoc.cxx".
Prettifying some of the code in "drawdoc.cxx".Also few changes
related to static_cast is left to be discussed.It will be pushed
in the next commit.

Change-Id: I30e7550de4e8c40ba100dbe178f357763bee8ca4
2013-08-26 14:47:25 +02:00
Vishv Brahmbhatt
421d0e3c40 Getting vector from "SdDrawDocument"
Deleting some of the unused methods.Also there is some "filter-test/unit-test" error associated with "drawdoc.cxx" methods.
But the functionality is working as desired.This one for the quick reference.I am trying to remove those errors in next commit.

Change-Id: I2d5507e1945c5d33f72df3b3ec14dc12ee420c16
2013-08-26 14:47:25 +02:00
Vishv Brahmbhatt
e0ebeb1f86 Refactoring changes in the "sdpage.cxx"
Few removal changes from "sdpage.cxx" some more are still to be done.

Change-Id: I60e98ef54cb8e10a007820d83280a16c0407f97a
2013-08-26 14:47:25 +02:00
Vishv Brahmbhatt
6671f931bb Few changes to the logic of parsing
This changes are pushed for quick reference as there are some more changes
that are left to be done.

Change-Id: I8c79fa7730dcab9250bebe6bd84f49a8664e338d
2013-08-26 14:47:24 +02:00
Vishv Brahmbhatt
7885ead7ee Temporarily adding new methods to "drawdoc.cxx".
Adding new methods to "SdDrawDocument" class to set the vector "layoutlist"
from the constructor of "SdDrawDocument" and use it in "CalcAutoLayoutRectangles".
Build got failed in-between,so authentication of it's working is left to be done.

Change-Id: Ia614ab0e1d45022d770e61d27b0ae6c74dc71bf8
2013-08-26 14:47:24 +02:00
Thorsten Behrens
52abaef5db Fix a warning.
Change-Id: I522d4d950c3eed61a6e247557e48fbbf952e435e
2013-08-26 14:47:24 +02:00
Vishv Brahmbhatt
ddb7afe6b0 Refactoring changes in the "sdpage.cxx"
Converted some 'long' to 'int' and 'double' to 'sal_Int32'.So removed the long from the file.
Also one of the changes for "readLayoutPropFromFile" will be removed soon.

Change-Id: I4e88807908520439fa64f07808af9138c6556890
2013-08-26 14:47:24 +02:00
Vishv Brahmbhatt
95afd8e628 Made changes in the unit-test of other configuration files
Unit-test path is changed for the "effects.xml" and "transitions.xml" to avoid "unit-test" error.

Change-Id: Ia871b16b9b9c1bec96fa3d208dc9171c287b020a
2013-08-26 14:47:23 +02:00
Vishv Brahmbhatt
a1f2fb388e Added few more new samples to "layoutlist.xml"
New samples are added to "layoutlist.xml" and corresponding changes are made in the "sdpage.cxx".
Few changes are still left to be made in the values,which will be done in the next commit.

Change-Id: Ia388f416906f4416ec596ae4631a51940e6ccf93
2013-08-26 14:47:23 +02:00
Vishv Brahmbhatt
84bfb880e1 Changed the logic of parsing
Have added a vector list of XNode to store the parse XML and referring it instead of XML eveytime.
Need to make scope level changes for vector and parseXml() in the next commit.

Change-Id: I2f270fc18058772fbf30a2a44e564c8290c316c4
2013-08-26 14:47:23 +02:00
Vishv Brahmbhatt
8089be8358 Solved the unit-test problem
Changed the destination path of test-profile at "test/Package_unittest.mk".

Change-Id: I24ae595af22c38141add0ab8446281c3ccc84707
2013-08-26 14:47:23 +02:00
Vishv Brahmbhatt
c9b06499f4 Added a for loop to "CalcAutoLayoutRectangles" to change logic.
Changed the logic of switch case in "CalcAutoLayoutRectangles".This for loop basically traverse through the "layoutlist.xml" and
find the appropriate node to a particular "layout" and then fills in the property values to all of it's presobj in the layout.
Currently,I have not deleted the switch case,but this 'for loop' aims to replace it.

Change-Id: I114614292934af179f9380277021aea350e3b35d
2013-08-26 14:47:22 +02:00
Vishv Brahmbhatt
ac5b9651a4 Solved the identation problem related to "layoutlist.xml".
Have added a 'if' conditional statement to know whether layout's child is a empty 'text' node or 'presobj' node.And proceed with rest of the
things ,if it is a 'presobj' node.Also the xml files are indented.

Change-Id: I676e710b86b1f50dbd861f2cb180bf9be839b867
2013-08-26 14:47:22 +02:00
Vishv Brahmbhatt
6ef5537422 Solved the "unit-test" error related to parser.
This error may also prevail with the unit-tests of "effects.xml & "transitions.xml" present in Impress.xcs.

Change-Id: I2c661e62840911f9e21919e54271d30fd996798f
2013-08-26 14:47:22 +02:00
Vishv Brahmbhatt
da5bca5b53 Adding new Slide Layouts Samples to "layoutlist.xml".
Have added new "Slide Layouts" samples.So commented out the code related to existing slide layouts in "sdpage.cxx" and also added some code
for XML parsing of the new layouts.

Change-Id: I8f5fdcab5f2eb41e37fa522a7801b388cbfefed5
2013-08-26 14:47:21 +02:00
Vishv Brahmbhatt
2fd74b3b15 Working version of XML parser from configuration file path
Added some changes in the "getRootElement" and new "layoutlist.xml" is added for "unit-test" module.
XML parser works perfectly in the installation,only the failure of "unit-test" is left to be solved.
Some refactoring related to "layoutlist.xml" will be updated soon.

Change-Id: If7ed3af40e9b6df26e20881728181eb6c82936d8
2013-08-26 14:47:21 +02:00
Vishv Brahmbhatt
4a281debd2 Changing the XML parser with configuration file path
Updating the "getRootElement" function.So "layoutlist.xml" can be read from actual configuration path.

Change-Id: Iee636d32e629e935e46a18572646659780ae20e3
2013-08-26 14:47:21 +02:00
Vishv Brahmbhatt
58056cd73e Creation of XML parser function
Updating the first working version of parser function "readLayoutPropFromFile".And it parses information from XML file for layout
"AUTOLAYOUT_TITLE_2VTEXT".

Change-Id: I24a52ae8c2b0c18ef806d9723d7eb6a7e43a20ec
2013-08-26 14:47:21 +02:00
Fridrich Štrba
5b734c8e19 Ugly bad and nasty workaround for some dupplicate symbols issue
Change-Id: I7283ecff340d95f16bb3a8d0aae97e166fa5f0e4
2013-08-26 14:36:23 +02:00
Eike Rathke
aaa1bc40bb resolved fdo#68437 append the bDetectSpecialNumber "true" string in options
Regression introduced with 465dbaecf9

Change-Id: I7c05c7f246dddd0271c421aa358068365d44fb98
2013-08-26 14:11:25 +02:00
Caolán McNamara
4c96fa7808 drop unused helpids fully
Change-Id: I1490fda183bb2315e3d6947941478fa3dd8ed6fb
2013-08-26 13:08:39 +01:00
Caolán McNamara
fa22dd910b drop unused help ids
Change-Id: I576f28dc33f7891c7df25e0200e19d02a5824023
2013-08-26 12:59:32 +01:00
Caolán McNamara
65f8980f2d Updated core
Project: help  3bb6a44f94e5fa896748085a54f91f4ecffacc38
2013-08-26 11:58:01 +00:00
Miklos Vajna
8f146a8042 bnc#834035 test file
Change-Id: I8416d663e573237a7b5a55545e630e5cbfdca25c
2013-08-26 13:40:17 +02:00
Caolán McNamara
7800193a54 convert token widget to .ui
which means that the widgets inside the token window in index/table->entries
are no longer truncated at the bottom

Change-Id: I4852ce217b6c8f6322391db30501668d035b7d92
2013-08-26 12:36:37 +01:00
Caolán McNamara
4a4631b86c convert tox entries page to .ui
Change-Id: Iedc6ab145a39b3844a42b70bfa18f4af574d732d
2013-08-26 12:36:36 +01:00
Caolán McNamara
81e0c2c38c WaE: OUString::valueOf in higher debug levels
Change-Id: I2aed7907c79905158714dc1b26ae1aefc1fcccc6
2013-08-26 12:36:36 +01:00
Caolán McNamara
d6985964bc split out the custom index widget to simplify conversion to .ui
Change-Id: If909ff5e68d9212601d62fd917055cec0538e948
2013-08-26 12:36:36 +01:00
Miklos Vajna
e9275c08ac bnc#834035 DOCX export: fix hyperlinks of illustration index
We used to export raw Writer bookmarks, but that's not valid in OOXML.
Instead, it has normal bookmarks around the sequence fields, so use them
if they are available.

Change-Id: I0ef2ff7967c2802b53752c9505ef6db4cc2b8265
2013-08-26 13:11:09 +02:00
Miklos Vajna
750f0ebf97 Introduce msfilter::util::findQuotedText()
This was in writerfilter, but we'll need it soon in sw as well, so move
it down to msfilter.

Change-Id: I8efe02b6bbe8f391d9e14857ed58dbae184d5632
2013-08-26 13:11:09 +02:00
Matteo Casalin
808d3c669c String to OUString, some cleanup
Change-Id: I7d1cdabdaecae1d993730397a1757727fb40a6db
Reviewed-on: https://gerrit.libreoffice.org/5608
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-08-26 10:55:08 +00:00
Bjoern Michaelsen
ee4d7829b7 introduce gb_Package_PRESTAGEDIR
this introduces a "prestage dir" -- if a file can be found in that
directory, it will be copied over instead of build. Usecases for this
include:

- split builds:
  e.g. a part of the LibreOffice gets build by a core package and
  "writer" or "calc" package then only builds the additional missing
  pieces (while copying existing files from the earlier package build)
  please not this does not intend to produce separately installable
  instances, only to generate the build in multiple steps, to:
  - reduce filesystem usage of one build
  - paralellisation: e.g. "writer" and "calc" could build at the same
    time on two builders
  - restart capability: e.g. if a build breaks in "writer", no need to
    rebuild everything (relevant for slow and somewhat more flaky
    platforms like arm)
- staged single build:
  on a filesystem restrained builder, keeping all the objects around for
  the build can be a burden. With this, such builders can do a partial
  build (lets say: "make svx"), put the instdir aside, make clean and
  continue -- but without needing to keep space for the object files of
  the build up to svx.

It need gb_RUNNABLE_INSTDIR -- we are going there anyway, no need to
support other scenarios.

This needs more dependency breaking for most scenarios but a:

export gb_RUNNABLE_INSTDIR=T
make
cp -a instdir instdir_prestage
make clean
make sw.all
make sw.clean
export gb_Package_PRESTAGEDIR=`readlink -f instdir_prestage/unxlngx6.pro`
cd sw && make build # this does no compiles, it just copies

Change-Id: I22d4208b2fad0d8fc59426ba4c8c52122876f646
Reviewed-on: https://gerrit.libreoffice.org/5591
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-08-26 09:37:57 +00:00
Michael Meeks
170b1c663e avmedia - vlc: include iostream
Change-Id: I94cec00f12dd4287980e74ad984518faedc4bae3
2013-08-26 09:50:32 +01:00
Stephan Bergmann
3162d9d430 Remove unused STARTLANG feature
Change-Id: Ib33f2ba2541faad24779cfdfbff7cf7f8a960af2
2013-08-26 08:34:12 +02:00
Tor Lillqvist
847d60c452 Use strncmp()
Change-Id: I593ce24ce83cd3034d23297adc3de5f6de18f3a9
2013-08-26 09:03:17 +03:00
Tor Lillqvist
d06e5adc21 Be careful not to access a string out of bounds
Change-Id: Ibc43ffa0c535e0baf1bb6d8b213320da345a3d65
2013-08-26 07:52:47 +03:00
Kohei Yoshida
3c67751cd5 Unused variable.
Change-Id: Ibef6cade989995a61cdc22872a81bc97aeea86aa
2013-08-25 16:13:35 -04:00
Kohei Yoshida
8f465e2706 A little more cleanup.
Change-Id: I4cf9e6dfd4a6b9202b864693ec5861f1bae0f773
2013-08-25 16:12:19 -04:00
Kohei Yoshida
2be411acef Combine SetMatrixCellData() with SetCellData().
Change-Id: I170eca29a36e2d2db2f91bd588e912d7d56b4d4d
2013-08-25 16:12:13 -04:00
Kohei Yoshida
fd4d8cee4b Now we don't need to increment progress bar on every edit cell.
Change-Id: Id5d460c134c6683a4e876856575ce269a43ea66f
2013-08-25 14:51:11 -04:00
Kohei Yoshida
d5d96b1555 fdo#60740: Export multi-line formula results to ods without UNO API.
Change-Id: I69391a9d2ffb0afae7f40c8449196c986375db3f
2013-08-25 14:51:11 -04:00
Kohei Yoshida
a8bf709911 fdo#60740: Export cell field items without using UNO API.
Change-Id: If4c11e962f7fc66087b751a582ad026f445863dc
2013-08-25 14:51:10 -04:00
Kohei Yoshida
d81b56c7f6 fdo#60740: Handle empty paragraphs correctly.
Change-Id: I47d4f60daec82d2b6a4b5e8f20b8cb6484c55057
2013-08-25 14:51:10 -04:00
Kohei Yoshida
882bee5ede fdo#60740: Export edit cells to ods without using UNO API.
Change-Id: If571d99060f87fd00e215fd93da1654fdcb50197
2013-08-25 14:51:10 -04:00
Kohei Yoshida
0d57434180 Create sections for unformatted paragraphs too.
Change-Id: Id3486cf7faf0c03f2ce9c72f31d564d5149e5b48
2013-08-25 14:51:10 -04:00