Age | Commit message (Collapse) | Author |
|
When the image is in the background, just show the normal text cursor,
since we're able to select text as well in that situation.
Change-Id: I4b4303834245e402d40567cff4a2bf53a0a13e5e
|
|
Also remove the #if 0 I forgot to remove previously.
Change-Id: I2cc5e1407c509414c8395d0fd63ab3b379bef04f
|
|
Change-Id: Ica3bf96289d142be2ef19d3a0bb3a4006ef5317d
|
|
i.e. word overrides emdash and endash to be word boundary characters
for the purposes of counting words. And there are some who want
to treat =,- etc similarly.
Default to a configuration that gives the same results as Word for
word counting.
Change-Id: Ia8ce6ac12011a1d6e547f11644c76163c4c993c5
|
|
Change-Id: I4dce0dfaf6f1c94024dd60df51d70a259689d6d9
|
|
The problem was that we tried to insert a page break before reaching the
first section break, where section properties are sent.
Additionally, the continuous section break at the end of the doc caused
trouble, so ignore it explicitly.
Change-Id: I22bc355994991beeadb41d26b44ce3e2beedbdb2
|
|
This way tests like "there is a textbox containing foo on the 3rd page"
are possible.
Also, make sure the XPath expression always matches a single node.
Change-Id: Iac82b389e1910db2257240a3764ec3c7ebaa5a02
|
|
Change-Id: I2b9f618ba6869fabf7c5ae2339421688aab127c7
|
|
Clicking on an empty header/footer only displays the separator as
creating empty header/footer could cause important layout recomputing on
long documents.
Change-Id: I800c5dd27744772833dee0da4269e7591bd0a10b
|
|
Set the counts directly on the word count dialog when we have them
precalculated from updating the status bar
Change-Id: Idd64f20097af661dd4938af7fcc8506eca076e9c
|
|
we want to count the numbering/bullet of otherwise empty paragraphs
Change-Id: I6cdf5348bcbb97081afc743d24e6c4ffb355d085
|
|
Change-Id: I68e477464139b183b802cc3200a3b980d1ee72f3
|
|
Change-Id: I19b3ba7c978e02ce865360f0411007525012149c
|
|
Change-Id: I7bdf16fc6d042e5ecd404c604a8b7c31c1ac7bc1
|
|
Change-Id: Ib0fd2097af4f45ec838b96e8214dfe913a3b47df
|
|
Bad integer cast made reserve throw an std::length_error exception
Change-Id: Iafdf859dd13e8b44ad61ee7e02eb11370f8260fb
|
|
Change-Id: I3c949e9f536b81bf405cf03992e2a9bbe0a2b0d4
|
|
This HTML mode is never disabled for any HTML export options. Thus
it is not necessary to check for it. Completes the cleanup started
in commit feeb57e0a63cdcd81898050d059e7933f62c5292
Change-Id: I3ea27ea52cdc355f19d0d2fb33ac92262df5d13f
Reviewed-on: https://gerrit.libreoffice.org/488
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
|
|
Change-Id: I5bdcad692678b9debb77db4ec08223d38e5c01c5
|
|
this adds "Page " to the page number info in the statusbar and to the
scrollbar's tooltip in the page preview mode.
Change-Id: Ia1dda0e98777465ef87364f12437449ca7787510
|
|
SwCaptionOptPage can be added either to SwCaptionOptDlg or OfaTreeOptionsDialog
Change-Id: I0cedfc27f8d1f1bbf5e19dce2f438fc782cd5832
|
|
Wrong fix: GetParent can return pointer to SwCaptionOptDlg which is
derived from SfxSingleTabDialog.
This reverts commit a5546942ec70fca551401ae61eee00b66a92f81d.
|
|
it turns out that GetParent() returns pointer to OfaTreeOptionsDialog,
not SfxSingleTabDialog. Disabling OK button in the options dialog does
not make any sense, so the patch removes that code.
Change-Id: I76618d89f904a6eac80fc08072dcde007b2d9c34
|
|
Because the "fix" for i#8288 only set the point of the cursor and not
the mark, it can happen that after a Replace All weird things are
selected; fix that (and i#8288 properly) by using the SwCrsrShell stack,
and don't do it when searching in the selection.
This cannot be done in SwCrsrShell itself because ExecSearch sets the
cursor to the beginning/end of the document already.
(regression from cda75d6f358d438f7ed36ed7fa296ac23e3c4a04)
Change-Id: Ie9f8d7da2fa26000a0237c24f8742e47ffa29213
|
|
Change-Id: I9fede393b5a0fb6bd2fe0425f6a4b60b754aeb0b
|
|
Since 4623c603bde7678004fe6019f9d9e4b816a3d6c6 the assertions in
lcl_IsLessStart/lcl_IsLessEnd trigger spuriously, because the comparison
is invoked always now even on identical pointers, while the SvArray only
invoked it if the 2 hints didn't have the same address; move the
assertion to SwpHintsArray::Check().
Change-Id: Ida6c8e268452343ed3e90410636703c6baffbabd
|
|
Change-Id: Ib2f73d679ac4a6164142a370ce6d55c6de41117c
|
|
Change-Id: Ibb543b8da8c89c7fa3799fada03c787dabe2b3cb
|
|
Introduced by b95d203bc17c83ec0fe5139f519d53ed1d842d3a .
Change-Id: I2497ee7cd55776fbd801d07470968e5aa47e971a
|
|
Change-Id: Ie8322b93745c48970766c2033a23cca2c710a516
|
|
Change-Id: Idafd1b7506dac77307190df275fb8ed35d40e5e5
|
|
There are few small things that do not survive the roundtrip completely
accurately, they should be checked somewhen when there's time. But it's
better to have these as actual tests rather than just documents somewhere.
Change-Id: Ic3732ab8450376820867950438d89e324f391eeb
|
|
Change-Id: I400559c531382f90626b72b2c8702d670fa5a40b
|
|
obsolete remnant of obsolete dmake build system
Change-Id: Ief3f6bde9bbaeac5fe9b25d025b9b076b9a6ef3e
|
|
For some reason older gcc versions don't manage to dynamic_cast
to the necessary cast. I'm not quite sure why, forcing sal/osl/unx/module.cxx
to always use RTLD_GLOBAL does not seem to help. Most probably
compiler bug. Changing the cast to two simpler ones helps.
|
|
The DOCX filter imports floating tables as frames containing a table.
Word ignores the margins of paragraphs next to such a table, Writer does
not. Add a compatibility flag the import filter can set that triggers
this weird behaviour.
Change-Id: Iaaa1d2a2e2f9d0eaea17832b2e418f9a845efffd
|
|
Clicking on the header/footer area will show the separator. Clicking on
an empty header/footer area will add a temporary one that we try hard to
remove when clicking outside
Change-Id: I8f29f8fd80b2d808257636bf94ec4e2e46f6028e
|
|
Change-Id: I531e47538f308ee43e0fe8d7db59f525e45942c3
|
|
Since CWS swrefactormarks2 the SwXBookmarks collection handles not only
bookmarks but at least cross-ref marks as well, which then bother users
when they show up in the Insert->Hyperlink dialog; remove non-bookmarks
again.
(regression from df6d312ca537402463e4eb0530f22b956600fc02)
Change-Id: I6a64ba8a43468dd3ce1569e944371d3ef71f8824
|
|
error: attempt to copy-construct an iterator from a singular iterator.
(regression from 39b8a5f87f55abe53488c9c3c35b65fb0df84cde)
Change-Id: Iab29f4c356ea1cb5ca0f687bcfc5e54f185fbba3
|
|
First: localization tool can not recognize id because
of empty line between id and its definition
Second: same problem because of comment between type and id
Change-Id: If42af406fab252ccae0a6bbc478bab8130210b21
|
|
This change replaces lcl_IsSkippableWhitespace with a call to ICU's u_isspace, which covers all Unicode separators. It also updates and fixes one of the SwScanner unit tests.
Bug details:
SwScanner::NextWord skips whitespace before calling into ICU's BreakIterator. The function used to identify whitespace (lcl_IsSkippableWhitespace) doesn't cover the full category of Unicode separators (code [Zs], 18 in total. See: http://www.fileformat.info/info/unicode/category/Zs/index.htm).
Since 0xA0 (no-break space) is not identified as whitespace and not skipped, we end up calling ICU starting at the position 0xA0, asking it to get us the boundary of the next word forward. ICU sees that it's called at the end of a word, and reverses the query direction to backward, and returns the word before. This causes NextWord to think we've hit the end of the string and call it a day, terminating word count for the rest of the line.
Change-Id: I29c89ddb0b26e88da822501253898856b28e3fa5
Reviewed-on: https://gerrit.libreoffice.org/453
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
|
|
Change-Id: Ife2f42b3a917ece10dc7ee9fcd83f1558084c4f1
Reviewed-on: https://gerrit.libreoffice.org/454
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
|
|
Arguably such annoyingly thin double borders don't make much sense
anyway, because they're essentially 2 hairlines with ~no space between,
but unfortunately older LO versions are able to create them;
since the refactoring in 2d045cdb69176b280812dda0b813371cf1ac72e2,
which changed the BorderWidthImpl::Get* methods to return 0 due to
rounding, they were ignored at least in the HTML import, which is a
regression.
So add a special purpose hack that essentially rounds up the first line
to 1 but not the other lines so the visual result is a hairline single
border.
Change-Id: I20ac4675bcf67ea58a6931a40bff3605390e9c0d
|
|
The problem was that when we only had a table inside the frame, the
DelFullPara() call removed the last paragraph of the first cell, and
returned no error. Instead, check if we had to remove paragraphs both
before and after, and if so, use the manual remove all the time.
Change-Id: I9a3591ce9a92a2aca7d2f65b62fdf641f54e4f05
|
|
In case the textrange contains a single table, the DelFullPara() call to
remove the ending fake paragraph failed. When this happens, we now find
the paragraph in question manually to delete it.
Change-Id: I7055d4489192a8a694aef118f7646d8db87a64df
|
|
This fixes the end of hyperlinks appearing after field ends (while the
start of hyperlink is after field start too).
Change-Id: If21b8973baaca183e0103e3a70ed98b99aa59392
|
|
Change-Id: Id9bbb2bbcafe335eada3f36ae103a9074a56848f
|
|
Change-Id: If777dcb0e0142229df737c2f1e3e6ecb61f64168
|
|
Change-Id: Icad5dfcf8b9962623ac9f8954672a50a232bb9be
|