With this, if .uno:ClassificationApply is invoked from e.g. a macro, the
toolbar listbox is updated to reflect the classification of the
document. Previously the listbox wasn't updated.
Change-Id: I45a7c6ee2f3b06e048fa119264c615e78bc46b37
For columns we use ScDocument::GetColWidth(), which returns 0 for hidden
columsn. Do the same for rows: so instead of using GetOriginalHeight(),
use GetRowHeight(), and then 0 size will be reported for hidden rows as
well.
Change-Id: Ic23b6af744bbc8e194e1906614adebe5ba0c7ced
2f7f818eea "Add Microsoft Word for
DOS conversion" changed this to CP1251 by mistake.
Change-Id: I5d51d8518322a7e542ae8931cf7e72053d89f971
Reviewed-on: https://gerrit.libreoffice.org/22787
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
The RTF spec is quite terse on how the form filed result should be
interpreted, but the binary equivalent documents properly that
checkboxes have 3 valid states: 0, 1 and 25, the later meaning
undefined. Use the default value in that case.
Change-Id: I672bf8d1f63d7880227b7fa7b5c81f91e1877b2a
When SUMming in the software interpreter involved trailing empty
cells, code tried to read beyond numeric array limit.
Change-Id: I50c1148e7e79d02bedb02a771df172035112915c
Reviewed-on: https://gerrit.libreoffice.org/22791
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
This happens when using the Drawing toolbar in Writer, the "Text Box"
button. SdrCreateView::SetCurrentObj() already has the right fallback
code in the "else" branch.
Change-Id: Icddfa77ce10eddbfb2dc7165ce11ac6dec80b1ee
Project: translations 4e3651a5d0e16bd39067227b9279f5cc98fbc127
update translations for 5.1.1 rc3
and force-fix errors using pocheck
Change-Id: I8412ae3789ee98f87f49cf975097f4ffa3f7e3b2
If a formula cell group was split during deletion and the group also
listened into the range where a cell was deleted, the group wasn't
notified of the deletion.
Change-Id: I858f5d4c0b647636611133fc32f3df7fbdaf7288
...where external/libxmlsec/ExternalProject_xmlsec.mk uses win32/configure.js
instead of configure. But that inconsistency generally got hidden on Windows by
xmlsecurity/inc/pch/precompiled_xsec_xmlsec.hxx including the raw xmlsec include
files instead of xmlsecurity/xmlsec-wrapper.h, so only gets noticed when using
--disable-pch (as is needed when building with clang-cl).
TODO: Don't know how to fix bin/update_pch so that precompiled_xsec_xmlsec.hxx
doesn't get broken again on the next update.
Change-Id: If385066a1e0f949d943aab7e9a5e969fbf0d0794
When the toolbar control is first shown, we don't have an object shell
yet, so can't insert items to the listbox. Set the same initial size as
SvxFontNameBox_Impl has, should be good enough for us, too.
Change-Id: I12cc72d26353ec3a4d2d3fc5c72f3171c276d3dc
This way the listbox selections shows the state of the document model,
instead of showing an empty selection by default, as it is for empty,
non-classified documents.
Change-Id: Ibda0565e3ca9ec6611d8e256a78747437b52c42a
A category name was stored in m_aName and also as a label value with key
name PROP_BACNAME(). Fix this by always using m_aName, and doing the
conversion in both directions in
SfxClassificationHelper::Impl::pushToObjectShell() and the
SfxClassificationHelper() ctor, as document metadata wants to work with
only key-vaulue pairs.
Change-Id: Iad386840038966e4483e3503c5fcdc046ca9effc