Commit graph

4826 commits

Author SHA1 Message Date
Caolán McNamara
bd4f553ef0 remove some UniString ctors
Change-Id: Ic2e712f4447b733b79d980e178d9d6d9d8bf0e40
2012-06-19 09:13:23 +01:00
Chr. Rossmanith
95e1401f7f SVG: use dash parameters from svg file
Change-Id: I86b31156e1a9221d9cfdc40d5670b324ce056a89
2012-06-18 10:53:27 +02:00
Miklos Vajna
42e41ea6d6 move DTTM2DateTime and DateTimeToOString to msfilter to avoid copy&paste 2012-06-15 18:03:20 +02:00
Stephan Bergmann
4ad231a6ab -Werror=unused-variable
Change-Id: Ic4c417667d45f80215303d2171b3c61d97284547
2012-06-15 13:19:57 +02:00
Marco Cecchetti
a7bd035584 Fixed a bug related to text fields introduced on the last commit. 2012-06-15 10:14:59 +02:00
Marco Cecchetti
61360495ac Provided support for clipping-based shape transitions (barnWipe,
fourBoxWipe, ellipseWipe, pinWheelWipe). Basic support for reverse
method by subtraction.

Ported or implemented the following classes or functions: 
createShapeTransition,  ClippingAnimation.

Extended the following SVG DOM classes: SVGPathElement (prependPath
method).

Modified and  added new methods to: AnimatedElement, ClippingFunctor,
EllipseWipePath, FourBoxWipePath.
2012-06-15 10:14:59 +02:00
Marco Cecchetti
6016a68548 Enabled support for clipping-based slide transitions (barnWipe,
fourBoxWipe, ellipseWipe, pinWheelWipe).

Ported or implemented the following classes or functions:
ClippedSlideChange, PathTools.normalizePath, ClippingFunctor,
createClipPolyPolygon, BarWipePath, FourBoxWipePath,
PathTools.createPathFromEllipse, EllipseWipePath, PinWheelWipePath.

Extended the following SVG DOM classes: SVGMatrix, SVGPathElement,
SVGPathSegMovetoAbs, SVGPathSegLinetoAbs, SVGPathSegCurvetoQuadraticAbs,
SVGPathSegCurvetoCubicAbs.

Modified and  added new methods to: MetaDocument, AnimatedSlide,
SlideTransition, TransitionInfoTable.
2012-06-15 10:14:59 +02:00
Marco Cecchetti
a962bffa18 Enabled support for fade, slide wipe and push wipe slide transitions.
Ported or implemented the following classes: SlideTransition,
AnimatedSlide, SlideChangeBase, FadingSlideChange,
FadingOverColorSlideChange, MovingSlideChange.
Modified and  added new methods to: MetaSlide, SlideShow.
2012-06-15 10:14:59 +02:00
Marco Cecchetti
a4f7622bcc The new slide elements structure is created by the svg export filter
directly. Master page elements structure reverted to old one, adapted
the embedded script. Exporting a single slide is supported again.
2012-06-15 10:14:59 +02:00
Marco Cecchetti
232490f3fb In order to enable future support for slide transitions has been needed
to
modify the part of the presentation engine handling the slides
navigation feature.

A new structure for slide and master page elements has been designed.
The following new classes have been implemented: MasterPageView,
TextFieldHandler, SlideNumberFieldHandler.
The following classes have been modified: MetaDocument, MetaSlide,
MasterPage, PlaceholderShape, Thumbnail.
The following classes have been modified and renamed: TextField ->
TextFieldContentProvider, FixedTextField -> FixedTextProvider,
VariableDateTimeField -> CurrentDateTimeProvider, SlideNumberField ->
SlideNumberProvider.
2012-06-15 10:14:58 +02:00
Marco Cecchetti
d6b82f7bcb In order to fix bug 43060 the width and height attributes are exported with units (mm) for the <svg> element when a single slide/page is exported. 2012-06-15 10:14:58 +02:00
Marco Cecchetti
6e0d7ce941 Now debug printers are turned off automatically 2012-06-15 10:14:58 +02:00
Marco Cecchetti
fec47cf75e fixed wrong indentation / provided better indentation 2012-06-15 10:14:58 +02:00
Thomas Arnhold
e06d6e3956 hrc cleanup: Remove completely unused RIDs
These RID definitions aren't used at any other point. So remove
them. Unused START and END definitions were commented out for
documentation purpose.

All definitions in basctl/source/basicide/tbxctl.hrc were unused,
so I removed this file.

Change-Id: I4713188a12b9da912b2a91b85ea4e54ca1aeb994
2012-06-15 08:22:09 +02:00
Julien Nabet
5af60dc534 Fix uninitialized values
Change-Id: I62b6cb30aeab40be18e5943a27ccd1d7130ad073
2012-06-14 23:31:29 +02:00
Noel Grandin
3a27dcd0cc Convert SV_DECL_PTRARR_DEL(SvxMSDffBLIPInfos) to boost::ptr_vector
Change-Id: I6cd5793b1ba2a29cbedce7fe5a040651e1664a11
2012-06-12 23:25:10 +02:00
Noel Grandin
e19a2e50b7 Convert SV_DECL_PTRARR_DEL(SvxMSDffShapeOrders) to std::vector
I could not use boost::ptr_vector because some of the code copies
the pointers into other data-structures temporarily, which
ptr_vector does not like.

Change-Id: Ie9c8aeb4e741bfd138694929ccda451a1c0984bb
2012-06-12 23:25:09 +02:00
Noel Grandin
9536a28ede Convert SV_DECL_PTRARR_DEL(_PptSlidePersistList) to std::vector
I could have used boost::ptr_vector, but the code seems to believe
that the array can contain nulls, which ptr_vector does not like.

Change-Id: I5f56a3e96ef9baca2c192e7cfa33b8f4283709a6
2012-06-12 23:25:09 +02:00
Noel Grandin
703492eb22 Convert SV_DECL_PTRARR_DEL(PptFontEntityAtomList) to boost::ptr_vector
Change-Id: Ie7aa19b7ef5c25b2547a9fd29810fb56427edac0
2012-06-12 23:25:09 +02:00
Jan Holesovsky
6d78c490b0 Get rid of GRADIENT_* defines, they conflict with Windows GDI types.
Change-Id: Ia0bc37f81b7213b20fc5093beb46d7a05b1ac931
2012-06-12 16:31:43 +02:00
Caolán McNamara
8f5629fd5a remove EraseLeadingChars and EraseTrailingChars
Change-Id: Ib9797fe97cd008cc6508ce8cec47dc5373416892
2012-06-11 14:46:46 +01:00
Tor Lillqvist
1e26c56373 Bin pointless <vcl/sv.h> header
It only included <tools/solar.h>, so include that directly instead.

Change-Id: Ic5db474c16ca33dcdcaabb5b5f00535b4b27dc8f
2012-06-10 19:29:06 +03:00
Thomas Arnhold
3770bbbdba Remove superfluous empty lines on top
More than two lines are removed for readability.

Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
2012-06-09 04:57:58 +02:00
Thomas Arnhold
13887f4848 Remove superfluous include comments
Change-Id: Icd57ca7fd89e30c190c1b06dbe67c30bea8d1b59
2012-06-09 04:51:38 +02:00
Julien Nabet
3cf78fa315 Check for assignment to self for =operator
Change-Id: If5c223e8b2f02938fa7e5d694d07f1e3f036c177
2012-06-09 01:07:44 +02:00
Takeshi Abe
f0c7544df9 nuke dead code
Change-Id: I0ea47ee535ba0e903bae0de227acd311ca96aa03
2012-06-06 23:05:59 +09:00
Noel Grandin
0fcd1a73f0 fdo#46808, Adapt UNO services to new style, Part 7, updating ::create
Update code to use factory method URLTransformer::create

Change-Id: I3fd2e838497bcfd8fc949615c0e7d60a6ea47118
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-06 10:53:34 +02:00
Noel Grandin
8a95074eae fdo#46808, Adapt UNO services to new style, Part 7, updating ::create
Update code to use factory method TextSearch::create

Change-Id: I7a8b607ed397158ca1e2b834ce61b8b196c8019a
2012-06-06 10:01:22 +02:00
Noel Grandin
392a483e10 fdo#46808, Adapt UNO services to new style, Part 7, updating ::create
Update code to use factory method PathSubstitutions::create

Change-Id: I3721bd93c36b207d849eea19102f5ac61cadd205
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-06 10:01:22 +02:00
Kohei Yoshida
20e9663e33 Fix the description.
Change-Id: Ib30a77808b9f4726e72f57e9d9ea73c71f5cac34
2012-06-05 16:29:53 -04:00
Kohei Yoshida
eed0a0b26b Prioritize external filters over the internal ones.
Change-Id: I2407a2ebc01f39655b30f7eb1e65deb912f2e606
2012-06-05 15:55:30 -04:00
Fridrich Štrba
dc4b91d310 Adding Microsoft Publisher Import filter
Change-Id: Iec9c9c5419a40e7ad64af057f1bbb426ca3163b0
2012-06-05 14:04:07 +02:00
Jan Holesovsky
9afb6e1e38 Use BMP_SCALE_LANCZOS instead of BMP_SCALE_INTERPOLATE.
Where we explicitly ask for better quality, use BMP_SCALE_LANCZOS, instead of
BMP_SCALE_INTERPOLATE.

Change-Id: I28ddf3290204532a8660e09ee9ab0949b6ce1c73
2012-06-05 11:28:07 +02:00
Norbert Thiebaud
695e793619 targeted string re-work
Change-Id: I2ee4fbb1e166a926b36b100c47e6da4cf39d51b4
2012-06-02 13:53:22 -05:00
Norbert Thiebaud
df9ecb71c7 targeted string re-work
Change-Id: I44518bb1b464bb0b458c0b5f1c249ef160ea3b26
2012-06-01 09:41:50 -05:00
Norbert Thiebaud
a30795ce51 targeted string re-work
Change-Id: I96ce39a3982d7d638283c18a5913c1df13979b1f
2012-06-01 09:41:50 -05:00
Jesús Corrius
d554198328 Make Win32 LibO installable side by side with other StarOffice derivatives 2012-05-31 18:19:08 +02:00
Takeshi Abe
d95d58af08 nuke unused namespace
Change-Id: Ic00cdfce4172af0a2f0aa1aa33ef5e386d407976
2012-06-01 01:04:50 +09:00
Julien Nabet
e519306d49 Some cppcheck cleaning
More information on this thread:
http://nabble.documentfoundation.org/Advice-needed-about-some-cppcheck-reports-td3986408.html

Change-Id: Ib70532ad72e8418e1036bd52c07dc6452508cd12
2012-05-30 21:08:11 +02:00
Caolán McNamara
41961997be merge three base64 encoders/decoders together
Change-Id: Ic123c081fcf6ddcf5d61c5d5a3eab01db470014c
2012-05-30 15:43:27 +01:00
Kevin Hunter
ddc36f8914 cppcheck: Reduce variable scope
Change-Id: I11f7642346ccc1949d5716b32444df86541eabf8
2012-05-30 03:11:08 -04:00
Michael Meeks
8c55f7542b targetted re-work
Change-Id: I64a38e22f776914605fe3903312524d8827e29a2
2012-05-29 13:00:39 +01:00
Luboš Luňák
5845298e61 fix horizontal rule width in .doc documents (bnc#757118)
MSO uses undocumented properties that seem to map to o:hr and o:hrpct
from .docx (including differences between .docx spec and implementation),
so treat horizontal rule width the same way in .doc too. Also remove
the guesswork for #i17200# that is not quite correct and no longer needed.

Change-Id: Ibec543fa1679ca0b20e86ef6b4f77147b18dff7e
2012-05-28 18:06:15 +02:00
Caolán McNamara
6e12f367d5 reduce static_initialization_and_destruction chain
Change-Id: Ic709bb128a82016b1bbc2c43cf4fe7ad091e7b1a
2012-05-28 13:03:01 +01:00
Julien Nabet
6b074ddd68 Fix typos + fix prefer prefix++ for iter
Change-Id: Ic535667b3705fc707966e403edc32681a3c315e9
2012-05-28 13:53:17 +02:00
Julien Nabet
0575c329b5 Remove stray */
Change-Id: I550021c693c0971b952a708f51a0196cbe1fc8dc
2012-05-28 11:48:43 +02:00
Kohei Yoshida
6540cc8ee0 Removed Lotus 1.2.3 filter/type for Writer.
Lotus 1.2.3 is a spreadsheet.  We don't need this for Writer.

Change-Id: I7fce85a6e211c0bf1ef6e95e758b4dc8cfcae033
2012-05-25 16:10:47 -04:00
Kohei Yoshida
0c782558ae Rank format types in order of complexity.
This way we can run detection services in the correct order; from
more complex to less complex, since the more complex structure is
much easier to test and reject.

Change-Id: Iee2d3e2e4f2834f95e6e89975f646e3928114b11
2012-05-25 16:01:52 -04:00
Kohei Yoshida
5865205472 The logic behind these two flags no longer makes sense.
Change-Id: Ie2fada1c641d2bc313ddb14903083beab08f8a98
2012-05-25 14:57:35 -04:00
Kohei Yoshida
9036eea41f Removed writer_Text_encoded type; merged it with generic_Text.
Change-Id: I95c04f954026047e48976451eb755340d005d773
2012-05-25 13:29:35 -04:00