The problem was that the shapes produced by the drawingML import had
types like ooxml-triangle, and EnhancedCustomShapeTypeNames::Get() only
handles VML/binary MSO shapes (e.g. isosceles-triangle). Add an OOXML
mode, and in that case use msfilter::util::GETVMLShapeType() instead,
and only fall back to EnhancedCustomShapeTypeNames::Get() if necessary.
Change-Id: Ic93ba4719133dd3e96c17d2562642a03e559fefa
This partially reverts commit e9a7ff1a5ba9d5ba34eeca9d622d8a3a9c68ade8.
Leave the SAL_N_ELEMENTS changes in.
I forgot about the translation of those symbol names. The en-US %alpha is
%alfa in pt-br. See starmath/source/symbol.src. One list get's translated,
the other not.
For UI purpose GetUiSymbolName gives the tranlated one and for export
GetExportSymbolName gives the untranslated english string.
Feel free to implement this or maybe drop the translation of those symbols.
Conflicts:
starmath/inc/starmath.hrc
Change-Id: I74d667a727536e1caf35f32af6a5c9cc64ca7015
Reviewed-on: https://gerrit.libreoffice.org/6884
Reviewed-by: Thorsten Behrens <thb@documentfoundation.org>
Tested-by: Thorsten Behrens <thb@documentfoundation.org>
so that we can convert surrounding code from xub_StrLen to sal_Int32
Change-Id: Ib779c82a71405f855cfe72bcde2511e8153445f0
Reviewed-on: https://gerrit.libreoffice.org/6896
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
b41332475783c31136673fb44cf4c411bb0148f8 "Integrate branch of IAccessible2" had
changed it to return a string, but that neither matched the documentation of
css.accessibility.XAccessibleValue nor did it satisfy JunitTest_sc_unoapi. This
is the same underlying issue as 1cb1dca1260da2cea5b6800483e86a6d6b251844 "Revert
SwAccessibleCell::getCurrentValue to return a numeric value again" and needs
further clarification apparently.
Change-Id: Idb725724842ffa1aff811d66066912a22b2f2f6e
So no longer instantiate XLinguServiceManager (which might e.g. bootstrap
Python) unless explicitly requested, which e.g. removes a noticable delay when
switching to the Options dialog's "Security" page (which causes size
calculations of FixedText controls that use TEXT_DRAW_WORDBREAK but not
TEXT_DRAW_WORDBREAK_HYPHENATION).
Change-Id: Ib0a28d3d7d7718faf6df7a138f5a86b8b2fd7713
Useful when we just need to check if the stream has a certain namespace
defined. Calling getNamespaceURL() may throw SAXException in such case.
Change-Id: Ib2b7b202492390158270d87bab95d1793c9d8a70
1) Do not dispose m_xComposer, might still be used by our m_pCache
2) Do not create a new m_xComposer if the previous one will do, so
that we do not gratiously use a different one than our m_pCache.
Change-Id: I6540c035c9159017c694b36e676721ec3e42db51
Trying to set a name that is already in use will throw an exception (and
set a different, generated name); if there is actually no name in the
file then there's no point trying to set anything.
(regression from b69d152cfa1da868ba960345d72ba78f9f8e1b35)
Change-Id: Ie54d4a830cc23e2853a6efeb81f77dcc788192ea