Muhammad Haggag
d8cb61f5f3
dmapper: Switch paragraphs to RTL based on the value of w:BiDi.
...
This is a fix for 43398: FORMATTING: Documents opened in LibreOffice Writer incorrectly appear as right justified.
Cause: dmapper used to treat the presence of a w:BiDi element in a paragraph's properties as an indicator of RTL directionality, which is incorrect. A w:BiDi element may have a value of 0, indicating LTR.
Fix: Inspect the integral value of w:BiDi elements before switching to RTL.
2012-02-02 11:57:49 +00:00
Miklos Vajna
d1f3018b0e
fdo#43965 more \page vs \pagebb fixes
...
The previous commit even reset \pagebb at the end of the paragraph,
which is not what the spec says.
2012-01-30 23:35:14 +01:00
Miklos Vajna
2aa3d43a37
fdo#43965 fix RTF import of page break symbol
...
This was unnoticed so far as both Writer and Word output \pagebb instead
of \page when exporting page breaks.
2012-01-30 21:33:22 +01:00
Miklos Vajna
00db55ff83
writerfilter: drop unnecessary includes from DomainMapper.cxx
2012-01-25 14:29:28 +01:00
Olivier Hallot
f94399ef80
Fix for fdo43460 Part XLV getLength() to isEmpty()
...
Part XLV
Modules
writerfilter, writerperfect
2012-01-23 19:17:18 -02:00
Bapt
f908fc4ca5
use $(GPERF) instead of using gperf from path
2012-01-23 12:08:56 +01:00
Miklos Vajna
c39e891d4d
fdo#44983 Fix RTF import of \paperh and \paperw
...
These keywords should not only set the *default* paper height/width but
also set the current values.
2012-01-21 01:02:10 +01:00
Miklos Vajna
370fc96b92
Fix RTF import of dotted and word underline
...
The problem was that these are flags, not toggles.
2012-01-20 01:38:03 +01:00
Miklos Vajna
3520d6dfdd
writerfilter/documentation: describe what an sprm is
2012-01-19 20:50:45 +01:00
Luboš Luňák
9f03ad248e
a feeble attempt at at least some docs for writerfilter
2012-01-19 14:29:55 +01:00
Luboš Luňák
58de34f633
fix reading w:charset, you misdesigned writerfilter monster (fdo#34814)
2012-01-19 14:29:54 +01:00
Miklos Vajna
80852d8526
writerfilter: remove empty line before shebang
2012-01-18 02:15:10 +01:00
Miklos Vajna
f4f774a3ae
writerfilter: drop exec bit on non-script files
2012-01-18 02:15:10 +01:00
David Tardon
1f4edb5ded
WaE: narrowing conversion from unsigned int to sal_Int32
2012-01-15 20:27:27 +01:00
Matúš Kukan
58b8a4d25d
these are not old component files anymore
2012-01-15 16:11:33 +01:00
Miklos Vajna
9f15592e08
fdo#41034 improve RTF import of table cell spacings
...
1) for empty cells, not only paragraph properties, but but character properties should be emitted as well (e.g. font)
2) \sb and \sb is an attribute, not an sprm (it was ignored)
3) \sl was ~ignored due to a typo
2012-01-12 16:31:10 +01:00
Andras Timar
aab14cb9fb
fix prefix of command line switches (-- instead of -)
2012-01-11 19:25:45 +01:00
August Sodora
5a180fd905
Fix MacOSX build
2012-01-11 00:15:51 -05:00
Miklos Vajna
b5d9e500ed
microopt, avoid unnecessary call to Tell()
2012-01-11 02:06:35 +01:00
Miklos Vajna
92c7b6733e
fdo#38057 implement RTF import progressbar
2012-01-11 01:53:18 +01:00
Miklos Vajna
3dbe4c18d0
Related: fdo#42151 implement cell text flow support
2012-01-09 19:52:35 +01:00
Miklos Vajna
7ec8f13d3a
fdo#42151 fix RTF import of vertically merged table cells
...
The problem was that \row took care of states (which is right, since
\trowd wants to reset row properties to the default state), but it
should not respect state pops.
2012-01-09 15:13:59 +01:00
Takeshi Abe
b35c0ae4ff
catch exception by constant reference
2012-01-09 03:17:20 +09:00
Miklos Vajna
01292f171c
fdo#44053 fix RTF import of implicit horizontal table cell merges
2012-01-06 00:50:32 +01:00
Marcel Metz
79646372a0
Removed unnecessary tools includes.
...
Hello lo-devs,
this patch series removes a lot of unnecessary includes for the various
tools header. The patches without suffix should be applied to the core
repository, the .binfilter.patch suffix should be applied to the
binfilter repository. I've tested the build with the configuration
--enable-binfilter --enable-dbgutil --enable-debug, is this sufficient
or did I miss another important configuration, that enables some
conditional compiled code? I've only build this on linux-x86_64, but the
patch also touches some of the mac specific code like
fpicker/source/aqua/SalAquaFilePicker.mm so it would be maybe a good
idea to test this patch.
regards Marcel Metz
2012-01-05 15:31:29 +01:00
Caolán McNamara
f731dc1e35
align ifdefs of usage and definitions
2012-01-05 09:18:17 +00:00
Caolán McNamara
f80d462331
callcatcher: drop some unused methods
2012-01-05 09:18:15 +00:00
Caolán McNamara
d99c1ecdf3
regenerate list under OSL_DEBUG_LEVEL=2
2012-01-05 09:18:14 +00:00
Miklos Vajna
e71d6df413
Related: fdo#43380 fix parsing of the \cf RTF token
...
Send the real color value to dmapper, not the index, which is
meaningless outside the tokenizer.
2011-12-27 00:00:33 +01:00
Miklos Vajna
e4e77861c6
fdo#43380: fix crash in DomainMapper_Impl::SetFieldFFData
2011-12-27 00:00:18 +01:00
Miklos Vajna
ce43f9f59f
dmapper: clog -> SAL_WARN
2011-12-24 00:33:09 +01:00
Miklos Vajna
0d9d6535a9
dmapper: clog -> SAL_WARN in GraphicImport
2011-12-22 02:33:18 +01:00
Miklos Vajna
3c86591749
fdo#40937 fix RTF import of images with invalid crop data
...
Add a try-catch, so in case setting crop data fails, the size data will
be still set.
2011-12-22 02:19:00 +01:00
Miklos Vajna
acfdec468d
writerfilter: fix dbglevel=2 build
...
This basically reverts e8f980d10c
and
b0e993d42e
, while keeping callcatcher
happy.
2011-12-22 01:47:34 +01:00
August Sodora
e8f980d10c
Remove unused code
2011-12-20 15:23:33 -05:00
Cédric Bosdonnat
e040d29316
RTF/DOCX import: fixed the import of consecutive frames (n#703032)
...
When we have two consecutive paragraphs with different frame properties,
the second frame wasn't created. Now store the current paragraph
properties in order to create the frame later.
2011-12-20 17:33:41 +01:00
Miklos Vajna
133f4d750a
fdo#42109 fix RTF import of fields inside tables
2011-12-20 12:37:44 +01:00
August Sodora
b0e993d42e
callcatcher: Remove unused code
2011-12-19 23:11:29 -05:00
Luboš Luňák
d5fe99eae0
at least process sub-elements of w:customXml (fdo#35983)
2011-12-16 19:00:03 +01:00
Jesse
6a8f6c4b13
Removed extra semicolons
2011-12-15 16:38:50 +00:00
Cédric Bosdonnat
31622ae009
n#228839: Fix RTF import crasher with \keep in table properties
2011-12-14 15:45:31 +01:00
Stephan Bergmann
3684fcdc0f
configmgr.component is no longer an old one.
2011-12-14 10:42:51 +01:00
Cédric Bosdonnat
e7fc2624a1
n#703032: Fixed an RTF import crash when handling formdata in non-FORM fields
2011-12-13 15:12:24 +01:00
Cédric Bosdonnat
b1a096a7d5
RTF import: default scale for images is 100% not 0%
...
This fixes the import of pictures in n#228839 and n#77738
2011-12-13 10:36:56 +01:00
Miklos Vajna
dc78a1c44c
dmapper: when parsing NS_ooxml::LN_CT_Spacing_lineRule, pTopContext may be nil
2011-12-11 01:13:59 +01:00
Cédric Bosdonnat
1d1f049859
rtf import: Check for the first run even when getting \par
2011-12-09 22:51:00 +01:00
Michael Stahl
1a6853e422
writerfilter: fix build breakers
2011-12-09 16:44:08 +01:00
Cédric Bosdonnat
2075a648ac
Removed useless code due to the move to SAL_INFO
2011-12-09 15:16:09 +01:00
Cédric Bosdonnat
52422457d4
Writerfilter: replace OSL_TRACE(...) by SAL_INFO("writerfilter",...)
2011-12-08 21:43:56 +01:00
Bjoern Michaelsen
2acd8fbac9
in modules, when we have a env we are in stage gbuild
2011-12-07 15:53:06 +01:00