Age | Commit message (Collapse) | Author | Files | Lines |
|
Use vector<shared_ptr> instead of ptr_vector.
Change-Id: I4e7d0735cbb036c608f697f7418109a2c497982f
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
|
|
Change-Id: Ia0bc37f81b7213b20fc5093beb46d7a05b1ac931
Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
We were ignoring redlined (deleted) text when counting characters, but not when counting
words or characters without spaces. We now mask all redlined/hidden content from the
expanded node text before operating on it.
Change-Id: If882a6dde883a2ba0ca99909ca7ac2b9abd4a1fb
|
|
Change-Id: I3358fad4949c2c21ecf63983a36b7c8428df9f06
|
|
Regression from commit ed8b5f2d -- to be safe, reverted only for fly
frames in headers.
Change-Id: Ia538b69bb913567c7d087d40afc7f0a141b7a0ed
|
|
Regression from commit 2ad707b3, which only updated the import, but
forgot to remove the fake "in background" property on export.
Change-Id: I2b42c5fa7873d946b10d311800049586bc214071
|
|
The border widths are tripled on import, because that is effectively
what SetWidth does for DOUBLE borders; set a divisor of 3 similar to
e2ffb71305c5f085eec6d396651c76d6daee3406
70a6a4d425558340bb49507975343a3e0a1bdde8
Change-Id: I40b175bedc1ed2d564be126bf9e6870b43474aba
(cherry picked from commit 36e43b52992735c622833e923faa63774b9e2f76)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
|
|
There was a typo in the character counting code of text nodes. When a numbered list is detected, the code attempts to add the character count of the "item number" to the total count, but ends up overwriting it instead (uses '=' instead of '+='). This resulted in the item number strings to be the only ones counted in a numbered list.
Change-Id: I9d96311065f66026dd4f05d3cd5ae61e2c0dafb4
(cherry picked from commit a585863f013aa4207270e11f5e031126adf1ed4a)
|
|
Word vs. Writer difference: if the only portion in a line is a fly
(as-character shape) and the height of the fly is smaller than the
height of the line, then Writer sets the height to the height of the
fly. Word takes the max of the two values.
We already have IgnoreTabsAndBlanksForLineCalculation for Word compat
wrt. line height calculation, use that here as well.
Change-Id: Iebe1bc697d6f19a03d15a1e5fd25ab4d5f4898fd
(cherry picked from commits 563df5d0c3c696912f211e74dd4dbda1aa720ae7 and
11a54814be785766d797cc83cfdacd2368ea642c)
|
|
Change-Id: Ia42060d415516a1ba8e23f913875786fe27c9710
|
|
Change-Id: I99a4a2a3fc6e20f9c8d35213609075f2269eab2f
|
|
The dmapper part was already fixed in commit
9486851baea59d16c449d79bd61a38f6e686cfe0 for DOCX, this fixes the RTF
tokenizer.
Change-Id: Iaca706e50367bb744f5a03e15134bda1646df8fc
(cherry picked from commit b9508dd55f82d35f09a58021dc001cf79b390e08)
|
|
Change-Id: Ia80e0bc0540259f9a752452ad677c645c97fc7f5
|
|
This will turn the mouse cursor into an arrow cursor when the word count
is updated, which seems odd.
Change-Id: I136824a554cc31e302193cce58241cdf4e4dd281
(cherry picked from commit 78b61b4d944db7f00093d7ee250d234694f1d5b5)
|
|
(Also fixes fdo#50540 View area jumps when start drawing)
The word count code for the status bar was calling EndAction, which scrolls the view to focus on the cursor.
We were calling it directly (Start/EndAction) and indirectly (through SwWrtShell::GetUpdatedDocStat). I removed the
direct calls and replaced the SwWrtShell call with SwDoc::GetUpdatedDocStat, which doesn't call Start/EndAction.
Change-Id: I764e8c2d9c10f8eb685d36d0e26142cf3fee628c
(cherry picked from commit a8080cad1089431a2d97903f73623eabe2eb23a7)
|
|
Change-Id: I4c11c82df0fdbf0040729323dc1fda2ece7f2582
|
|
Change-Id: I0584f4d158225dc28518fb67185d0a704bfe10d1
|
|
Change-Id: I0f237c360cfaa02c6492cbd95ebfd07657e04fd0
|
|
This reverts commit 2a22e664811e10ca58ec66ba8fd10b1a6185c178.
i don't have an opinion whether this commit is wrong or right,
but nobody has time to investigate the layout changes that it causes,
so since it's not a regression itself it's safest to revert it.
|
|
Change-Id: I952fa56cb8cef0321688ccd117659c8603f71e16
|
|
Change-Id: Ic012ba427febb305269d9138dd918455aa49c712
|
|
Make "export extended ODF" consistently mean "version > ODF1.2".
Future ODF versions need manual review anyway, of the various
changes/additions we ship.
Change-Id: I0f6c1646b306e18f0abcdd1a1802fece821b2e93
|
|
Change-Id: I504d3b0ac6250b88ca3de3cad179a7caec35e2a5
|
|
If a word is in sentence case then the auto-completed word should
be in the same case i.e. if the auto-complete list contains the
word "LIBRE" then "Lib" should auto-complete to "Libre" rather
than "LibRE". See OpenOffice bug 22961.
Also implement better i18n handling for calander month and day
names. Previously, if a month or day name was not ASCII then it
would only auto-complete if it exactly matched the names retrieved
from the internal calander i.e. had be a case sensitive match.
Change-Id: I0c4543bd9e912072bce1ceaf4adecd41b55b576b
|
|
Note that the replacement vector stores all strings first and then
sort and "unique" are applied (ASCII treated as case-insensitive).
Previously strings were inserted sequentially and only the first
version of a string would be stored (case-insensitive ASCII
comparision). This should have no material impact as the strings
retreived from SwAutoCompleteWord are already unique (case-
insensitive ASCII comparison) and the capitalization of the string
is generally changed anyway to match the capitalization of the word
to be auto-completed. Also, there appears to be no logical reason
to store the first inserted version of a string over of the first
version post-sort.
Change-Id: I132865bbb9b382d417fb2cff9de351fdb2cbfb13
|
|
Update calls to factories to use new ::create methods
Change-Id: I01d4417820f52718836c92faf3c2fae0dc96b30d
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
|
|
Change-Id: I7924da4bff73ca8f82c76eb8cb211401530acdeb
|
|
|
|
|
|
|
|
* re-indentatation by -4 spaces
* delete ASCII art separators
|
|
|
|
|
|
sw/source/core/inc consistent
Also tranlate German comments in these files at the same time.
|
|
Change-Id: I19de73d0d2bdbe5322c928e93eca556eecabb09c
|
|
So use Checkable = TRUE
Change-Id: I13ca3cec05ed6fddb00b142bc70c892a75cd45ec
|
|
Change-Id: Ieb2e362853f146f58370a60511cc75ab64fe439e
|
|
Change-Id: I7efb3bce9a3a6f6c029d99de2264e00bb1bc7c93
|
|
Change-Id: I72bd86baaccb6f0604f04217046b1b523a02aa62
|
|
Change-Id: Ifebc06daf56ee0e4dc29d592afba5a07575c99af
|
|
Change-Id: Ib88169968d164c88703505da022887ea8d53c721
|
|
Change-Id: I9d7a761a0f479c30269e289796244572c0ed8d86
|
|
Change-Id: Ic7f91c035d3e7f0e792d2e9ab217e1fc4ebcf697
|
|
Change-Id: I890dfe9fbd7b5a850daaa0d2b4d5040a5ddbefd7
|
|
Change-Id: Idd43d44dd7fc4bb33be2de5b855a7741de88ec51
|
|
Change-Id: I76f7cb8aa5b15ac03786e7294ef03ad62741987c
|
|
Change-Id: I897739c4623123c32433d0e10fd301e073bb496e
|
|
Change-Id: I7ecc27535622d7ee63251005f0768ea3cb47623b
|
|
|
|
Change-Id: Ieedc214a0810b9ecbe69c5308ee3bdcf98ae461a
|