Commit Graph

345152 Commits

Author SHA1 Message Date
Takeshi Abe
d39178ff6c Drop unused #include
Change-Id: Id1badf4ae68d322a6e05e900aa63bdb124387bab
2014-02-17 11:26:31 +09:00
Tomaž Vajngerl
84acb10f54 fdo#71669 Poportionally scale images by default in Writer
When holding "shift" at resizing, objects are resized proportional.
With this commit, proportional resizing for images is the default
behavior and "free" resizing is enabled when holding "shift". The
behavior for other objects is unchanged.

Change-Id: I484455a8bd3edb879c75b9a27988cebeb843678b
2014-02-16 23:13:02 +01:00
Matteo Casalin
3ec96dc587 sal_Bool to bool
Change-Id: Ifc98bc3afff33670fbde724a0d8e8df842dda641
2014-02-16 22:55:30 +01:00
Matteo Casalin
a915d7d505 sal_Bool to bool and minor optimizations
Change-Id: Iddee0b723ce8a0ac9020b0b048a31212dc377430
2014-02-16 22:52:31 +01:00
Matteo Casalin
781b17a577 sal_Bool to bool
Change-Id: I98da667e406aef18e0f8b8bdb9b380cf76b36952
2014-02-16 22:52:30 +01:00
Matteo Casalin
54cbd46dc5 Avoid assignment in complex if condition
Change-Id: Ibaff0eb54b67e946d07e5a626f5af04ac46132cc
2014-02-16 22:52:30 +01:00
Matteo Casalin
09baf61570 sal_Bool to bool
Change-Id: I866ba6d09512411ee18dc83a2601a262d1649338
2014-02-16 22:52:29 +01:00
Matteo Casalin
8b3d4df3c8 sal_Bool to bool
Change-Id: I799196d2d9d52711937d56c018e70a1b453bce45
2014-02-16 22:52:29 +01:00
Matteo Casalin
87214657ba sal_Bool to bool
Change-Id: I5f09b1832fa453299c4f8a455d2f3499225550a1
2014-02-16 22:52:29 +01:00
Matteo Casalin
ace255680e Use Relax return value (==IsOn) and make code cleaner
Change-Id: Ie76672d8ee354b00358d0f441ab141c9de244bd4
2014-02-16 22:52:29 +01:00
Matteo Casalin
d66a5cd08d sal_Bool to bool
Change-Id: I784c7762253dcf84a8c487480f8ac2c45dcdb1ee
2014-02-16 22:52:28 +01:00
Matteo Casalin
f983221091 sal_Bool to bool
Change-Id: I19fd47f773d2b88dec2bff2abe25aee1c7b76e0d
2014-02-16 22:52:28 +01:00
Matteo Casalin
d611fbc216 Remove unused member bLeftSide
Change-Id: I1bc07653f4a999756b3208dc5f3f91362e3e9f7f
2014-02-16 22:52:28 +01:00
Matteo Casalin
0815bb096e sal_Bool to bool
Change-Id: Iecd2e0fcf3b10fc60b814121fbfe1ba9234c9109
2014-02-16 22:52:28 +01:00
Matteo Casalin
ab5d60574b sal_Bool to bool
Change-Id: I53c5e04afe64bcd666b895f217ea9e1c36156eec
2014-02-16 22:52:27 +01:00
Matteo Casalin
c18d47537c Small code cleanup
Change-Id: I3e39e48a42fd593b03e971dd032e46c5287897a7
2014-02-16 22:52:27 +01:00
Matteo Casalin
964e820357 Use unnamed namespace for IsNastyFollow
Change-Id: I67ccc093cd692a07761514af887e18184d5aa99b
2014-02-16 22:52:27 +01:00
Matteo Casalin
cc4f8ca8bb sal_Bool to bool
Change-Id: I170da2a744b17ef33e999cbbb4dff871faac9ec2
2014-02-16 22:52:27 +01:00
Matteo Casalin
d892f37178 sal_Bool to bool
Change-Id: I1a752ffcf023411bdbb8c983623cb93757fe9824
2014-02-16 22:52:26 +01:00
Matteo Casalin
32d5fa2cc0 sal_Bool to bool
Change-Id: I3aa78011065bcdfa834b810966c6542aa70e0112
2014-02-16 22:52:26 +01:00
Matteo Casalin
4e36974dcc sal_Bool to bool, sal_uInt8 to sal_Int32
Change-Id: Icb6081ea018ee28fc932db0425dfd980021e7eb8
2014-02-16 22:52:26 +01:00
Matteo Casalin
48aa3dd3dd sal_Bool to bool
Change-Id: Ic03470163e90f2f86b4d6fab8942834a0801d83f
2014-02-16 22:52:25 +01:00
Philipp Riemer
3a7858552a fix compile error
Change-Id: Ia5c73f4c1f05a92c18b70d87f67a884b88bc6708
2014-02-16 21:39:20 +01:00
Philipp Riemer
69d0280e70 deleted code that was commented out in sw/source/core/layout/
Change-Id: Id1acb0ef8a668c61cdfd852040f44023b37bda37
2014-02-16 20:22:08 +01:00
Philipp Riemer
c6a842ebc8 fdo#62475 - remove visual noise
Change-Id: I36e970c2ed13c50e5f6cebf95aa36ca8194a01ce
2014-02-16 20:22:08 +01:00
Philipp Riemer
aba99b4ae4 work on existing comments
- (un)doxygenize
- move to right position
- /** */ => /// if only one line

Change-Id: I786953b7f6c83d384b0685c7dc2e5f98d4152b50
2014-02-16 20:22:08 +01:00
Philipp Riemer
5d6abb55d2 fdo#39468: Translate German comments in sw/source/core/layout/
Change-Id: Ia0a8443c6989d7938e479a88e3899fb611106544
2014-02-16 20:22:07 +01:00
Miklos Vajna
6570eec5da writerfilter: PBrc{Top,Left,Bottom,Right} -> CT_PBdr_{top,left,bottom,right}
Change-Id: I955d905dfccb4b02afebbf0552a55713dc22e49c
2014-02-16 18:06:44 +01:00
Zolnai Tamás
c7c761455f drawingML export: make WritePolyPolygon robuster
Make sure a:cubicBezTo conatins three a:pt elements.

escherex: It seems a cubic bezier curve last point has
a POLY_NORMAL flag and not POLY_CONTROL.

Change-Id: Id6dc2160c7ae171a720e4a1aa9161cef2b3b9413
2014-02-16 17:45:37 +01:00
Zolnai Tamás
6357031a32 DOCX import: floating tables belong to the same paragraph
When two floating tables were belong to the same paragraph,
import makes one of them anchored to the other instead of
anchorig both to the corresponding paragraph.

Modifications:
- Check the whole text range for anchored frames not
just one point of it.
- Save frame format's name because SwFrmFmt pointers can
become invalid.

Change-Id: Ide7c894065b619095a8e713ff0622bbea4f199b6
2014-02-16 17:44:51 +01:00
Zolnai Tamás
05955dd209 DOCX export: nested text frames
In Word it is not allowed to anchor a shape to
an onther shape.
That's why this code write text boxes only on the first level,
nested frames is also written out on the same level because
writeDMLText/WriteVMLText will push nested frames
into m_aFramesOfParagraph's back.

Change-Id: Ie1956ac9ac0ed56ff9611ff9763eb454f02558b9
2014-02-16 17:35:14 +01:00
David Tardon
2418fd471e add SAL_CALL to definitions too
Change-Id: Id7c05aeb7e14a49cdb1fd6a889ddbb17e31ad368
2014-02-16 15:16:10 +01:00
David Tardon
5895b954aa move SAL_CALL to the right place
Change-Id: I5081220e8880c9608daa482690b99e9738afc30e
2014-02-16 15:15:33 +01:00
Markus Mohrhard
fe28f7026c fix windows build
Change-Id: I2c6e94c7662719cd5f6dccaa19cf7451b036f0f9
2014-02-16 14:16:40 +01:00
David Tardon
0ed4126d50 fix windows build
Change-Id: I5d53537ec7055c041fb9e308bc17af3ca55a43a9
2014-02-16 12:41:56 +01:00
Julien Nabet
eeee164f67 cppcheck: redundantAssignment
Let's not forget the result of RegDeleteValueA call

Change-Id: I9458040bc3a8960ab740ee3c5211eaa9ba24b1aa
Reviewed-on: https://gerrit.libreoffice.org/7772
Tested-by: David Tardon <dtardon@redhat.com>
Reviewed-by: David Tardon <dtardon@redhat.com>
2014-02-16 10:45:43 +00:00
Markus Mohrhard
6454bb6934 fix crash when dumping OpenGL dummy shapes
CTRL + F12 is working now partly for the OpenGL shapes

Change-Id: Ia4d0499d0df683202d9e2f56de96b22abcd9e367
2014-02-16 04:34:44 +01:00
Markus Mohrhard
24f51d315c text position for legend improvements
Change-Id: I06d8baf8cfe59999cd6b417fc6e70c1bd6eede27
2014-02-16 02:54:13 +01:00
Markus Mohrhard
a5e48409e9 improve bubble positioning
Change-Id: Ifeecb23b0f2ee3218b052aaf688dcd51bcc30d58
2014-02-16 02:54:13 +01:00
Markus Mohrhard
5afc5d1bfd improve text positioning
Change-Id: I9a6d99105ae32a2e03e4756983a87cb4ad174ea2
2014-02-16 02:54:13 +01:00
Philipp Riemer
13dffbb750 fdo#51304: Remove @author annotation in sw/source/core
Change-Id: I4d4eb9758e1aebcdd37fe38671d60f1713487119
2014-02-15 21:51:54 +01:00
Miklos Vajna
90e2bdcdcc writerfilter: sprm:PI{lvl,lfo} -> ooxml:CT_NumPr_{ilvl,numId}
Change-Id: I96cdf20d3ef53bda100dd2d06a18b74d374bab42
2014-02-15 21:48:54 +01:00
Philipp Riemer
9df6f4b717 fixed indentation for consistent code layout in sw/source/core/layout/
Change-Id: Iec2ad7d542a107458ab20144e53639997d9e54e6
2014-02-15 21:22:51 +01:00
Philipp Riemer
c0377a78d2 deleted code that was commented out in sw/source/core/layout/
Change-Id: Idd251a1b82dd8795b7c0087e1e4b9aeed53b2d82
2014-02-15 21:22:51 +01:00
Philipp Riemer
9401852921 fix comment (referenced class was renamed)
Change-Id: I7537061da3f4110d5f472719065f54d714604fa8
2014-02-15 21:22:50 +01:00
Philipp Riemer
feb2b95e70 (un)doxygen-ize comments in sw/source/core/layout/
Change-Id: Ia7bcbb6e16e78e2fe9d14cd11052293baebca3d2
2014-02-15 21:22:50 +01:00
Philipp Riemer
0ffc090d80 fdo#62475 - remove visual noise
- remove "borders"
- move method explanations if misplaced
- rewrite for Doxygen if needed
- "shrink" multiple blank lines

Change-Id: Ia4678b7f2456de70eb307e9c0d80c4ecd068048b
2014-02-15 21:22:50 +01:00
Alexandre Vicenzi
d024fe60dc fdo#63154 Remove unused solar.h reference in sd.
Change-Id: I3dca2ffe3f94bedfea954bd83e84c724fb564ec9
Reviewed-on: https://gerrit.libreoffice.org/8063
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
2014-02-15 15:27:01 +00:00
Kohei Yoshida
9a5ce676ed fdo#74512: Fix the ODS export as well.
Change-Id: I54a2b2f405f9172d2ec5646346ef4e8a7ae27cb2
2014-02-15 10:14:12 -05:00
Kohei Yoshida
f45ce98958 fdo#74512: Add export test for this.
Change-Id: I7582ff84c3a31f294f241ca642915361509768a1
2014-02-15 10:14:11 -05:00