[Libreoffice-bugs] [Bug 88277] Meta: SVG fileOpen filter (Draw)
https://bugs.documentfoundation.org/show_bug.cgi?id=88277 Yousuf (Jay) Philipschanged: What|Removed |Added CC||philip...@hotmail.com Depends on||79854, 79261, 84296 --- Comment #8 from Yousuf (Jay) Philips --- Adding some of my svgOpen bugs. Bug 79854 - FILEOPEN: opening this svg file in LibO Draw doesnt show correctly Bug 79261 - FILEOPEN: SVG not rendered correctly Bug 84296 - FILEOPEN: Opening svg on Windows gives error -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97582] INSERT: Rims of SVG car missing
https://bugs.documentfoundation.org/show_bug.cgi?id=97582 Yousuf (Jay) Philipschanged: What|Removed |Added Blocks||88278 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97539] INSERT: SVG clippath not fully supported
https://bugs.documentfoundation.org/show_bug.cgi?id=97539 Yousuf (Jay) Philipschanged: What|Removed |Added Blocks||88278 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97513] In Pivot tables, compute sum for numbers and counts for other formats by default
https://bugs.documentfoundation.org/show_bug.cgi?id=97513 --- Comment #5 from Heiko Tietze--- I was looking for a reason to change it in general. The more variants we have in the program, like ifthen sum or count, the harder is it for users to figure out why things happens - and the complexity of the code increases. So the question is why not always (row/col, with/without NAN) calculate the number of values? -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-ux-advise] [Bug 97513] In Pivot tables, compute sum for numbers and counts for other formats by default
https://bugs.documentfoundation.org/show_bug.cgi?id=97513 --- Comment #5 from Heiko Tietze--- I was looking for a reason to change it in general. The more variants we have in the program, like ifthen sum or count, the harder is it for users to figure out why things happens - and the complexity of the code increases. So the question is why not always (row/col, with/without NAN) calculate the number of values? -- You are receiving this mail because: You are on the CC list for the bug. ___ Libreoffice-ux-advise mailing list Libreoffice-ux-advise@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise
[Libreoffice-bugs] [Bug 97555] unsuitable colour feedback when selecting multiple sheet in calc
https://bugs.documentfoundation.org/show_bug.cgi?id=97555 --- Comment #4 from riccardo.arzen...@yacme.com --- I really like the idea of a black corner folded. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 38915] Multiple soffice.bin soffice.exe
https://bugs.documentfoundation.org/show_bug.cgi?id=38915 Michael Meekschanged: What|Removed |Added CC||sberg...@redhat.com --- Comment #17 from Michael Meeks --- It is some interesting research from aptitude - in general, I'd suggest that someone clueful in this area (eg. Stephan) looks at his re-ordering of those two lines, and that we commit a smaller patch (with git there is no need for all that commenting in-line) - and credit aptitude for the insight in the commit msg text. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-ux-advise] [Bug 97555] unsuitable colour feedback when selecting multiple sheet in calc
https://bugs.documentfoundation.org/show_bug.cgi?id=97555 --- Comment #4 from riccardo.arzen...@yacme.com --- I really like the idea of a black corner folded. -- You are receiving this mail because: You are on the CC list for the bug. ___ Libreoffice-ux-advise mailing list Libreoffice-ux-advise@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise
[Libreoffice-bugs] [Bug 97513] In Pivot tables, compute sum for numbers and counts for other formats by default
https://bugs.documentfoundation.org/show_bug.cgi?id=97513 --- Comment #6 from raal--- (In reply to Heiko Tietze from comment #5) > So the question is why not always (row/col, with/without NAN) calculate the > number of values? Because when you change the default (from SUM to COUNT), users will be angry. When you do what Milan suggested, it's clear enhancement. btw. that's the behaviour how Excel works. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-ux-advise] [Bug 97513] In Pivot tables, compute sum for numbers and counts for other formats by default
https://bugs.documentfoundation.org/show_bug.cgi?id=97513 --- Comment #6 from raal--- (In reply to Heiko Tietze from comment #5) > So the question is why not always (row/col, with/without NAN) calculate the > number of values? Because when you change the default (from SUM to COUNT), users will be angry. When you do what Milan suggested, it's clear enhancement. btw. that's the behaviour how Excel works. -- You are receiving this mail because: You are on the CC list for the bug. ___ Libreoffice-ux-advise mailing list Libreoffice-ux-advise@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise
[Libreoffice-bugs] [Bug 94632] Light sifr and breeze icon themes for dark OS themes
https://bugs.documentfoundation.org/show_bug.cgi?id=94632 --- Comment #18 from Heiko Tietze--- (In reply to Jean-François Fortin Tam from comment #17) > It may be worth considering automatically toggling the use of the "inverted" > variant when detecting that the user is running with the "prefer dark > variant" GTK3 setting active (this can be found in the appearance settings > in gnome-tweak-tool, for example). ... And if someone has figured out how to change the theme under Windows? Or take KDE, which is a big tweaking machine on its own. What I mean is you cannot trust in a certain tool. But it should be rather an easy hack to calculate the brightness from the system's background color, and adjust the icon set when set to automatic. I'm using this code l:=ColorToRGB(Value); if (l and $00FF) shr 16+ (l and $FF00) shr 8+ (l and $00FF) > 500 then Result:=clBlack else Result:=clWhite; -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97626] copy field increments numbers
https://bugs.documentfoundation.org/show_bug.cgi?id=97626 --- Comment #2 from John--- Created attachment 122448 --> https://bugs.documentfoundation.org/attachment.cgi?id=122448=edit 2 spreadsheets one is the array and the other the data field to find the spreadsheets showing the VLOOKUP error are attached; I do not have the spreadsheet where I attempted to copy the Field data down through the 1st column I did not attempt any other Fx's or other items in which the error occurred so I don't know if this type of "incrementing" is found elsewhere I am on Libre 4.4.7.2 and Win 10 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 94614] crash on page style organizer tab, on the default template and russian localisation
https://bugs.documentfoundation.org/show_bug.cgi?id=94614 raalchanged: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #31 from raal --- (In reply to kompilainenn from comment #30) > (In reply to raal from comment #29) > > (In reply to VictorVG from comment #27) > > > Additional information: > > > > > > This bug exist and confirmed on version 5.0.2.2 - 5.0.3.2 and possible > > > resolved on v5.0.4.1. > > > > Hello er, > > could you test with version 5.0.4? Thanks > > in 5.0.4 bug is fixed. Thanks, closing -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97652] New: Incorrect calculation
https://bugs.documentfoundation.org/show_bug.cgi?id=97652 Bug ID: 97652 Summary: Incorrect calculation Product: LibreOffice Version: unspecified Hardware: All OS: Windows (All) Status: UNCONFIRMED Severity: normal Priority: medium Component: Calc Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: goss...@sky.com Created attachment 122450 --> https://bugs.documentfoundation.org/attachment.cgi?id=122450=edit Spreadsheet showing birthdays I created a spreadsheet for advising dates of family birthdays/marriages, and days to next (attached). This works correctly when opened in Excel. When opened in Libre Office Calc, it shows a curious error in the last three rows, column G (-35,927 days to next anniversary!). Try it. John -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 94835] RTF file cannot be opened (crash)
https://bugs.documentfoundation.org/show_bug.cgi?id=94835 Timurchanged: What|Removed |Added Keywords||regression CC||gti...@gmail.com --- Comment #11 from Timur --- Oliver, would you be so kind to backport this to 5.0? Thank you. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97566] INSERT: SVG redraw at different zoom/resize levels crops content
https://bugs.documentfoundation.org/show_bug.cgi?id=97566 Yousuf (Jay) Philipschanged: What|Removed |Added Blocks||88278 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97583] INSERT: SVG doesnt support blur
https://bugs.documentfoundation.org/show_bug.cgi?id=97583 Yousuf (Jay) Philipschanged: What|Removed |Added Blocks||88278 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97576] INSERT: SVG font glyphs ignored
https://bugs.documentfoundation.org/show_bug.cgi?id=97576 Yousuf (Jay) Philipschanged: What|Removed |Added Blocks||88278 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 88278] Meta: insert SVG image filter (all modules)
https://bugs.documentfoundation.org/show_bug.cgi?id=88278 Yousuf (Jay) Philipschanged: What|Removed |Added Depends on||97651 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97651] New: INSERT: SVG tag not supported
https://bugs.documentfoundation.org/show_bug.cgi?id=97651 Bug ID: 97651 Summary: INSERT: SVG tag not supported Product: LibreOffice Version: 4.0.6.2 release Hardware: All OS: All Status: UNCONFIRMED Keywords: filter:svgInsert Severity: normal Priority: medium Component: graphics stack Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: philip...@hotmail.com Blocks: 88278 Steps: 1) Open Writer 2) Insert https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/image.svg 3) Notice that no image loads in the blue square. The SVG code for the image is as follows. http://farm1.static.flickr.com/234/535566372_33c1025c7b_o.jpg"/> Version: 5.2.0.0.alpha0+ Build ID: 6d68e88a0fc5a54bbb826379163bd0b9c6eae0fb CPU Threads: 2; OS Version: Linux 4.2; UI Render: default; TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-02-08_08:05:38 Locale: en-US (en_US.UTF-8) -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-commits] core.git: svx/source
svx/source/accessibility/AccessibleTextHelper.cxx |2 - svx/source/table/accessiblecell.cxx |2 + svx/source/table/accessibletableshape.cxx | 34 ++ svx/source/table/cell.cxx | 10 ++ svx/source/table/cell.hxx |1 5 files changed, 48 insertions(+), 1 deletion(-) New commits: commit 1fda8bf08123b521d9ad77eb542d7d1a3c63f54a Author: Justin LuthDate: Sat Jan 16 08:12:47 2016 +0300 tdf#96685 - set focus of accessible table cells Newly created accessible cells were not inheriting the focus setting of their peer. Also, IsTextEditActive was way too strict to determine whether a table cell was active or not. Typed text with the cursor in the cell was not enough to mark the cell as active for example. Finally, accessible nodes were not being created as additional cells gained focus for the first time. Change-Id: I5be4b1d660f01fc4de7281a319895a2c73e74c48 Reviewed-on: https://gerrit.libreoffice.org/21121 Tested-by: Jenkins Reviewed-by: Jacobo Aragunde Pérez diff --git a/svx/source/accessibility/AccessibleTextHelper.cxx b/svx/source/accessibility/AccessibleTextHelper.cxx index 03570b0..f8a724a 100644 --- a/svx/source/accessibility/AccessibleTextHelper.cxx +++ b/svx/source/accessibility/AccessibleTextHelper.cxx @@ -502,7 +502,7 @@ namespace accessibility { sdr::table::CellRef xCell = pAccessibleCell->getCellRef(); if ( xCell.is() ) -return xCell->IsTextEditActive(); +return xCell->IsActiveCell(); } } if( pViewForwarder->IsValid() ) diff --git a/svx/source/table/accessiblecell.cxx b/svx/source/table/accessiblecell.cxx index af68170..8059d97 100644 --- a/svx/source/table/accessiblecell.cxx +++ b/svx/source/table/accessiblecell.cxx @@ -85,6 +85,8 @@ void AccessibleCell::Init() // non-empty text -> use full-fledged edit source right away mpText = new AccessibleTextHelper( o3tl::make_unique(mxCell->GetObject(), mxCell.get(), *pView, *pWindow) ); +if( mxCell.is() && mxCell.get()->IsActiveCell() ) +mpText->SetFocus(); mpText->SetEventSource(this); } diff --git a/svx/source/table/accessibletableshape.cxx b/svx/source/table/accessibletableshape.cxx index 66b01f0..1c76765 100644 --- a/svx/source/table/accessibletableshape.cxx +++ b/svx/source/table/accessibletableshape.cxx @@ -85,6 +85,7 @@ public: sal_Int32 mRowCount, mColCount; //get the cached AccessibleCell from XCell Reference< AccessibleCell > getAccessibleCell (Reference< XCell > xCell); +Reference< AccessibleCell > getAccessibleCell (sal_Int32 nRow, sal_Int32 nColumn) throw (IndexOutOfBoundsException, RuntimeException); }; @@ -150,6 +151,27 @@ Reference< AccessibleCell > AccessibleTableShapeImpl::getAccessibleCell (Referen return Reference< AccessibleCell >(); } +Reference< AccessibleCell > AccessibleTableShapeImpl::getAccessibleCell (sal_Int32 nRow, sal_Int32 nColumn) +throw (IndexOutOfBoundsException, RuntimeException) +{ +Reference< XCell > xCell( mxTable->getCellByPosition( nColumn, nRow ) ); +Reference< AccessibleCell > xChild = getAccessibleCell( xCell ); + +if( !xChild.is() && mxTable.is() ) +{ +sal_Int32 nChildIndex = mxTable->getColumnCount() * nRow + nColumn; +CellRef xCellRef( dynamic_cast< Cell* >( xCell.get() ) ); + +rtl::Reference< AccessibleCell > xAccessibleCell( new AccessibleCell( mxAccessible, xCellRef, nChildIndex, mrShapeTreeInfo ) ); + +xAccessibleCell->Init(); +maChildMap[xCell] = xAccessibleCell; + +xChild = Reference< AccessibleCell >( xAccessibleCell.get() ); +} +return xChild; +} + Reference< XAccessible > AccessibleTableShapeImpl::getAccessibleChild(sal_Int32 nChildIndex) throw (IndexOutOfBoundsException, RuntimeException) @@ -979,6 +1001,18 @@ AccessibleCell* AccessibleTableShape::GetActiveAccessibleCell() if (xAccCell.is()) pAccCell = xAccCell.get(); } +else +{ +try +{ +CellPos rPos; +pTableObj->getActiveCellPos( rPos ); +xAccCell = mxImpl->getAccessibleCell( rPos.mnRow, rPos.mnCol ); +if ( xAccCell.is() ) +pAccCell = xAccCell.get(); +} +catch ( IndexOutOfBoundsException& ) {} +} } } } diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx index b2d1604..1946a81 100644 ---
[Libreoffice-bugs] [Bug 81234] [META] RTF filter issues
https://bugs.documentfoundation.org/show_bug.cgi?id=81234 Timurchanged: What|Removed |Added Depends on||9 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Bug 88462] convert manual XInterface implementations into ::cppu::WeakComponentImplHelper
https://bugs.documentfoundation.org/show_bug.cgi?id=88462 --- Comment #5 from kerem--- I sent following for this patch; https://gerrit.libreoffice.org/#/c/22213/ -- You are receiving this mail because: You are on the CC list for the bug. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-bugs] [Bug 97626] copy field increments numbers
https://bugs.documentfoundation.org/show_bug.cgi?id=97626 raalchanged: What|Removed |Added Status|NEEDINFO|UNCONFIRMED Ever confirmed|1 |0 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 95555] FILEOPEN RTF Frames overlap in document created by Oracle Reports
https://bugs.documentfoundation.org/show_bug.cgi?id=9 Timurchanged: What|Removed |Added CC||gti...@gmail.com Blocks||81234 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-commits] core.git: 3 commits - xmlsecurity/source
xmlsecurity/source/helper/xsecctl.cxx | 21 +++-- xmlsecurity/source/helper/xsecctl.hxx |2 +- xmlsecurity/source/helper/xsecsign.cxx | 33 +++-- 3 files changed, 43 insertions(+), 13 deletions(-) New commits: commit 1688228bec7f5cc4e7c252dea0ef5002bf26cec9 Author: Miklos VajnaDate: Mon Feb 8 16:22:42 2016 +0100 xmlsecurity: export OOXML Change-Id: I7c5055e3bfaa81cae4c91842e9e3681d41d5c3b6 diff --git a/xmlsecurity/source/helper/xsecctl.cxx b/xmlsecurity/source/helper/xsecctl.cxx index cffb298..dad4c39 100644 --- a/xmlsecurity/source/helper/xsecctl.cxx +++ b/xmlsecurity/source/helper/xsecctl.cxx @@ -1024,13 +1024,17 @@ void XSecController::exportOOXMLSignature(const uno::ReferenceendElement(TAG_DIGESTMETHOD); } xDocumentHandler->startElement(TAG_DIGESTVALUE, uno::Reference(new SvXMLAttributeList())); -xDocumentHandler->endElement(TAG_DIGESTVALUE); xDocumentHandler->characters(rReference.ouDigestValue); +xDocumentHandler->endElement(TAG_DIGESTVALUE); xDocumentHandler->endElement(TAG_REFERENCE); } } xDocumentHandler->endElement(TAG_SIGNEDINFO); + +xDocumentHandler->startElement(TAG_SIGNATUREVALUE, uno::Reference(new SvXMLAttributeList())); +xDocumentHandler->characters(rInformation.ouSignatureValue); +xDocumentHandler->endElement(TAG_SIGNATUREVALUE); } SignatureInformation XSecController::getSignatureInformation( sal_Int32 nSecurityId ) const commit dd641965351b2b83e4ffc7ba7a97ace318765dcb Author: Miklos Vajna Date: Mon Feb 8 16:12:58 2016 +0100 xmlsecurity: fix reference type of OOXML idSignedProperties Change-Id: I5a2924c3c0af02a4630921bae6117f11655206c2 diff --git a/xmlsecurity/source/helper/xsecctl.cxx b/xmlsecurity/source/helper/xsecctl.cxx index cd1f7e3..cffb298 100644 --- a/xmlsecurity/source/helper/xsecctl.cxx +++ b/xmlsecurity/source/helper/xsecctl.cxx @@ -1000,10 +1000,23 @@ void XSecController::exportOOXMLSignature(const uno::Reference pAttributeList(new SvXMLAttributeList()); -pAttributeList->AddAttribute("Type", "http://www.w3.org/2000/09/xmldsig#Object;); +if (rReference.ouURI != "#idSignedProperties") +pAttributeList->AddAttribute("Type", "http://www.w3.org/2000/09/xmldsig#Object;); +else +pAttributeList->AddAttribute("Type", "http://uri.etsi.org/01903#SignedProperties;); pAttributeList->AddAttribute(ATTR_URI, rReference.ouURI); xDocumentHandler->startElement(TAG_REFERENCE, uno::Reference(pAttributeList.release())); } +if (rReference.ouURI == "#idSignedProperties") +{ +xDocumentHandler->startElement(TAG_TRANSFORMS, uno::Reference(new SvXMLAttributeList())); +std::unique_ptr pAttributeList(new SvXMLAttributeList()); +pAttributeList->AddAttribute(ATTR_ALGORITHM, ALGO_C14N); +xDocumentHandler->startElement(TAG_TRANSFORM, uno::Reference(pAttributeList.release())); +xDocumentHandler->endElement(TAG_TRANSFORM); +xDocumentHandler->endElement(TAG_TRANSFORMS); +} + { std::unique_ptr pAttributeList(new SvXMLAttributeList()); pAttributeList->AddAttribute(ATTR_ALGORITHM, ALGO_XMLDSIGSHA256); commit 349a0ddc316bfab61a0989eb7658fe82972fbd43 Author: Miklos Vajna Date: Mon Feb 8 16:05:26 2016 +0100 xmlsecurity: write correct number of non-manifest OOXML references Change-Id: I1d8556487608e5a0bee2ae5f7a4b25a60579f4a9 diff --git a/xmlsecurity/source/helper/xsecctl.hxx b/xmlsecurity/source/helper/xsecctl.hxx index a67dc34..9aad6c6 100644 --- a/xmlsecurity/source/helper/xsecctl.hxx +++ b/xmlsecurity/source/helper/xsecctl.hxx @@ -356,7 +356,7 @@ private: static OUString createId(); com::sun::star::uno::Reference< com::sun::star::xml::crypto::sax::XReferenceResolvedListener > prepareSignatureToWrite( -InternalSignatureInformation& signatureInfo ); +InternalSignatureInformation& signatureInfo, sal_Int32 nStorageFormat = 0 ); /* * For signature verification diff --git a/xmlsecurity/source/helper/xsecsign.cxx b/xmlsecurity/source/helper/xsecsign.cxx index 4f1e523..778381e 100644 --- a/xmlsecurity/source/helper/xsecsign.cxx +++ b/xmlsecurity/source/helper/xsecsign.cxx @@ -28,6 +28,7 @@ #include #include #include +#include #include #include @@ -58,7 +59,7 @@ OUString XSecController::createId() } cssu::Reference< cssxc::sax::XReferenceResolvedListener > XSecController::prepareSignatureToWrite( -InternalSignatureInformation& internalSignatureInfor ) +InternalSignatureInformation& internalSignatureInfor, sal_Int32
[Libreoffice-bugs] [Bug 88462] convert manual XInterface implementations into ::cppu::WeakComponentImplHelper
https://bugs.documentfoundation.org/show_bug.cgi?id=88462 --- Comment #5 from kerem--- I sent following for this patch; https://gerrit.libreoffice.org/#/c/22213/ -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 54227] TABLES: single decimal tab in a paragraph in a table adjust text BEFORE the tabulation
https://bugs.documentfoundation.org/show_bug.cgi?id=54227 hastokke...@bigfoot.com changed: What|Removed |Added Version|3.5.6.2 release |Inherited From OOo -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97538] INSERT: SVG image cropped
https://bugs.documentfoundation.org/show_bug.cgi?id=97538 Yousuf (Jay) Philipschanged: What|Removed |Added Blocks||88278 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97531] INSERT: Gradients in SVG shown as solid color
https://bugs.documentfoundation.org/show_bug.cgi?id=97531 Yousuf (Jay) Philipschanged: What|Removed |Added Blocks||88278 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97534] INSERT: SVG smoothness of lines change on zoom level and refresh
https://bugs.documentfoundation.org/show_bug.cgi?id=97534 Yousuf (Jay) Philipschanged: What|Removed |Added Blocks||88278 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97536] INSERT: SVG shapes have light outlines
https://bugs.documentfoundation.org/show_bug.cgi?id=97536 Yousuf (Jay) Philipschanged: What|Removed |Added Blocks||88278 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97585] INSERT: SVG background not shown
https://bugs.documentfoundation.org/show_bug.cgi?id=97585 Yousuf (Jay) Philipschanged: What|Removed |Added Blocks||88278 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97541] INSERT: Part of SVG shape not rendered
https://bugs.documentfoundation.org/show_bug.cgi?id=97541 Yousuf (Jay) Philipschanged: What|Removed |Added Blocks||88278 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97537] INSERT: SVG text color and style incorrect
https://bugs.documentfoundation.org/show_bug.cgi?id=97537 Yousuf (Jay) Philipschanged: What|Removed |Added Blocks||88278 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97543] INSERT: SVG and attributes ignored
https://bugs.documentfoundation.org/show_bug.cgi?id=97543 Yousuf (Jay) Philipschanged: What|Removed |Added Blocks||88278 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 79856] SVG regression in vector letters
https://bugs.documentfoundation.org/show_bug.cgi?id=79856 Yousuf (Jay) Philipschanged: What|Removed |Added Blocks||88278 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 88278] Meta: insert SVG image filter (all modules)
https://bugs.documentfoundation.org/show_bug.cgi?id=88278 Yousuf (Jay) Philipschanged: What|Removed |Added CC||aniste...@gmail.com, ||philip...@hotmail.com Depends on||93522, 97531, 97534, 97536, ||97537, 97538, 97539, 97541, ||97542, 97543, 97566, 97576, ||97581, 97582, 97583, 97585, ||79856 --- Comment #8 from Yousuf (Jay) Philips --- Currently testing all the sample SVGs found in this w3.org folder https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/ and filling bug reports for problems i notice and documenting the results of each tested file here https://docs.google.com/spreadsheets/d/1ACX6w2SoJ5VXMQgG7mCZGx_iRHasr4c0y1Z5qzB2tTY/edit?usp=sharing Here is the list of bug reports i've opened so far related to this testing. 97531 - INSERT: Gradients in SVG shown as solid color 97534 - INSERT: SVG smoothness of lines change on zoom level and refresh 97536 - INSERT: SVG shapes have light outlines 97537 - INSERT: SVG text color and style incorrect 97538 - INSERT: SVG image cropped 97539 - INSERT: SVG clippath not fully supported 97541 - INSERT: Part of SVG shape not rendered 97542 - INSERT: SVG text fill color not used 97543 - INSERT: SVG and attributes ignored 97566 - INSERT: SVG redraw at different zoom/resize levels crops content 97576 - INSERT: SVG font glyphs ignored 97581 - INSERT: unknown lines appearing in SVG shape 97582 - INSERT: Rims of SVG car missing 97583 - INSERT: SVG doesnt support blur 97585 - INSERT: SVG background not shown -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97542] INSERT: SVG text fill color not used
https://bugs.documentfoundation.org/show_bug.cgi?id=97542 Yousuf (Jay) Philipschanged: What|Removed |Added Blocks||88278 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97581] INSERT: unknown lines appearing in SVG shape
https://bugs.documentfoundation.org/show_bug.cgi?id=97581 Yousuf (Jay) Philipschanged: What|Removed |Added Blocks||88278 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 93522] Inserting SVG doesnt perform file format checking
https://bugs.documentfoundation.org/show_bug.cgi?id=93522 Yousuf (Jay) Philipschanged: What|Removed |Added Blocks||88278 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97543] INSERT: SVG and attributes ignored
https://bugs.documentfoundation.org/show_bug.cgi?id=97543 Xisco Faulíchanged: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - sc/source
sc/source/core/inc/arraysumfunctor.hxx | 22 ++ sc/source/core/tool/interpr6.cxx | 10 ++ 2 files changed, 32 insertions(+) New commits: commit aa064e8209e57ac91f16305d38e657d12a42093f Author: Tor LillqvistDate: Fri Feb 5 14:58:11 2016 +0200 tdf#97587: Treat plain NaNs as zero in the software interpreter for SUM The NaNs that have been stored in the arrays by ScColumn::FetchVectorRefArray() and other code correspond to empty cells. For the purpose of SUM they should be treated as zero. Change-Id: I8ac0c8afdf71da415ed120f9f8f6d51a8b5edb15 Reviewed-on: https://gerrit.libreoffice.org/22199 Tested-by: Jenkins Reviewed-by: Michael Meeks Tested-by: Michael Meeks diff --git a/sc/source/core/inc/arraysumfunctor.hxx b/sc/source/core/inc/arraysumfunctor.hxx index 200fdc6..3955fd9 100644 --- a/sc/source/core/inc/arraysumfunctor.hxx +++ b/sc/source/core/inc/arraysumfunctor.hxx @@ -12,6 +12,7 @@ #define INCLUDED_SC_SOURCE_CORE_INC_ARRAYSUMFUNCTOR_HXX #include +#include #include #if defined(LO_SSE2_AVAILABLE) @@ -65,6 +66,27 @@ public: for (; i < mnSize; ++i) fSum += mpArray[i]; +// If the sum is a NaN, some of the terms were empty cells, probably. +// Re-calculate, carefully +if (!rtl::math::isFinite(fSum)) +{ +sal_uInt32 nErr = reinterpret_cast< sal_math_Double * >()->nan_parts.fraction_lo; +if (nErr & 0x) +{ +fSum = 0; +for (i = 0; i < mnSize; i++) +{ +if (!rtl::math::isFinite(mpArray[i])) +{ +nErr = reinterpret_cast< const sal_math_Double * >([i])->nan_parts.fraction_lo; +if (!(nErr & 0x)) +fSum += mpArray[i]; // Let errors encoded as NaNs propagate ??? +} +else +fSum += mpArray[i]; +} +} +} return fSum; } diff --git a/sc/source/core/tool/interpr6.cxx b/sc/source/core/tool/interpr6.cxx index 5bf4533..e7e321b 100644 --- a/sc/source/core/tool/interpr6.cxx +++ b/sc/source/core/tool/interpr6.cxx @@ -412,6 +412,16 @@ void IterateMatrix( case ifSUM: { ScMatrix::IterateResult aRes = pMat->Sum(bTextAsZero); +// If the first value is a NaN, it probably means it was an empty cell, +// and should be treated as zero. +if ( !rtl::math::isFinite(aRes.mfFirst) ) +{ +sal_uInt32 nErr = reinterpret_cast< sal_math_Double * >()->nan_parts.fraction_lo; +if (nErr & 0x) +{ +aRes.mfFirst = 0; +} +} if ( fMem ) fRes += aRes.mfFirst + aRes.mfRest; else ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-bugs] [Bug 72438] LibreLogo: icons in Logo toolbar replaced by text only
https://bugs.documentfoundation.org/show_bug.cgi?id=72438 --- Comment #13 from Thomas Krumbein--- Bug is still present in all 5.x versions on Windows. Only the first created document will show Icons in the toolbar - all later created new documents will have only Helptext instead of Icons. See picture attached (secondDok_LibreLogo.jpg) -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 96267] LibreLogo initialisation fails
https://bugs.documentfoundation.org/show_bug.cgi?id=96267 Thomas Krumbeinchanged: What|Removed |Added Status|NEEDINFO|UNCONFIRMED Ever confirmed|1 |0 --- Comment #9 from Thomas Krumbein --- Sorry for delay. No different Python installation. Only python with comes with LibreOffice. Standard LibO Windows build has the version python 3.3 included. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97637] Beanshell Editor: Tab width too large
https://bugs.documentfoundation.org/show_bug.cgi?id=97637 Samuel Mehrbrodt (CIB)changed: What|Removed |Added Blocks||97639 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97636] Beanshell Editor: Add Undo/Redo functionality
https://bugs.documentfoundation.org/show_bug.cgi?id=97636 Samuel Mehrbrodt (CIB)changed: What|Removed |Added Blocks||97639 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97638] Beanshell Editor: Add syntax highlighting
https://bugs.documentfoundation.org/show_bug.cgi?id=97638 Samuel Mehrbrodt (CIB)changed: What|Removed |Added Blocks||97639 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97639] [META] Beanshell Editor bugs and enhancements
https://bugs.documentfoundation.org/show_bug.cgi?id=97639 Samuel Mehrbrodt (CIB)changed: What|Removed |Added CC||samuel.mehrbr...@cib.de Depends on||97635, 97636, 97637, 97638, ||97640 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97640] Beanshell Editor: Use fixed font
https://bugs.documentfoundation.org/show_bug.cgi?id=97640 Samuel Mehrbrodt (CIB)changed: What|Removed |Added Blocks||97639 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97640] New: Beanshell Editor: Use fixed font
https://bugs.documentfoundation.org/show_bug.cgi?id=97640 Bug ID: 97640 Summary: Beanshell Editor: Use fixed font Product: LibreOffice Version: Inherited From OOo Hardware: All OS: All Status: UNCONFIRMED Severity: enhancement Priority: medium Component: LibreOffice Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: samuel.mehrbr...@cib.de A fixed font should be used for the Beanshell editor. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97635] Beanshell Editor: Shift-Tab doesn't work
https://bugs.documentfoundation.org/show_bug.cgi?id=97635 Samuel Mehrbrodt (CIB)changed: What|Removed |Added Blocks||97639 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-commits] core.git: sw/inc sw/source
sw/inc/view.hxx | 10 ++ sw/source/uibase/uiview/view.cxx |3 ++- sw/source/uibase/uiview/viewport.cxx | 10 ++ sw/source/uibase/uno/unotxdoc.cxx|3 ++- 4 files changed, 24 insertions(+), 2 deletions(-) New commits: commit 8045c3931878c75da8e5229899ccbc895ccbed8a Author: Jan HolesovskyDate: Mon Feb 8 13:48:13 2016 +0100 sw lok: For PgDown/PgUp, don't set the VisArea, instead use a dedicated var. The m_aVisArea may be changed by many other means (called internally from LibreOffice), so let's introduce a dedicated offset for PgUp / PgDown handling overwriting the computed value (if set). Change-Id: I7c869b1e3582145b58f0185f4df2882d07a81ddf diff --git a/sw/inc/view.hxx b/sw/inc/view.hxx index b271c6d..2086779 100644 --- a/sw/inc/view.hxx +++ b/sw/inc/view.hxx @@ -255,6 +255,10 @@ class SW_DLLPUBLIC SwView: public SfxViewShell m_bMakeSelectionVisible : 1, // transport the bookmark selection m_bAnnotationMode; ///< The real cursor position is inside an annotation. +/// LibreOfficeKit has to force the page size for PgUp/PgDown +/// functionality based on the user's view, instead of using the m_aVisArea. +SwTwips m_nLOKPageUpDownOffset; + // methods for searching // set search context SAL_DLLPRIVATE bool SearchAndWrap(bool bApi = false); @@ -553,6 +557,12 @@ public: OUStringGetPageStr(sal_uInt16 nPhyNum, sal_uInt16 nVirtNum, const OUString& rPgStr); +/// Force page size for PgUp/PgDown to overwrite the computation based on m_aVisArea. +void ForcePageUpDownOffset(SwTwips nTwips) +{ +m_nLOKPageUpDownOffset = nTwips; +} + // hand over Shell SfxShell *GetCurShell() { return m_pShell; } SwDocShell *GetDocShell(); diff --git a/sw/source/uibase/uiview/view.cxx b/sw/source/uibase/uiview/view.cxx index c5d6a6b..17256a5 100644 --- a/sw/source/uibase/uiview/view.cxx +++ b/sw/source/uibase/uiview/view.cxx @@ -713,7 +713,8 @@ SwView::SwView( SfxViewFrame *_pFrame, SfxViewShell* pOldSh ) m_bInDtor(false), m_bOldShellWasPagePreview(false), m_bIsPreviewDoubleClick(false), -m_bAnnotationMode(false) +m_bAnnotationMode(false), +m_nLOKPageUpDownOffset(0) { static bool bRequestDoubleBuffering = getenv("VCL_DOUBLEBUFFERING_ENABLE"); if (bRequestDoubleBuffering) diff --git a/sw/source/uibase/uiview/viewport.cxx b/sw/source/uibase/uiview/viewport.cxx index 326d251..5ecfd62 100644 --- a/sw/source/uibase/uiview/viewport.cxx +++ b/sw/source/uibase/uiview/viewport.cxx @@ -542,6 +542,11 @@ bool SwView::GetPageScrollUpOffset( SwTwips ) const rOff = rOff - m_aVisArea.Top(); else if( GetWrtShell().GetCharRect().Top() < (m_aVisArea.Top() + nYScrl)) rOff += nYScrl; + +// in the LOK case, force the value set by the API +if (comphelper::LibreOfficeKit::isActive() && m_nLOKPageUpDownOffset > 0) +rOff = -m_nLOKPageUpDownOffset; + return true; } @@ -558,6 +563,11 @@ bool SwView::GetPageScrollDownOffset( SwTwips ) const else if( GetWrtShell().GetCharRect().Bottom() > ( m_aVisArea.Bottom() - nYScrl )) rOff -= nYScrl; + +// in the LOK case, force the value set by the API +if (comphelper::LibreOfficeKit::isActive() && m_nLOKPageUpDownOffset > 0) +rOff = m_nLOKPageUpDownOffset; + return rOff > 0; } diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index aedf88c..383f6ee 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -3192,7 +3192,8 @@ void SwXTextDocument::setClientVisibleArea(const Rectangle& rRectangle) if (!pView) return; -pView->SetVisArea(rRectangle); +// set the PgUp/PgDown offset +pView->ForcePageUpDownOffset(2 * rRectangle.GetHeight() / 3); } Pointer SwXTextDocument::getPointer() ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-bugs] [Bug 72438] LibreLogo: icons in Logo toolbar replaced by text only
https://bugs.documentfoundation.org/show_bug.cgi?id=72438 --- Comment #14 from Thomas Krumbein--- Created attachment 122434 --> https://bugs.documentfoundation.org/attachment.cgi?id=122434=edit two documents - second without Icons -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 94865] MENU: Duplicate accelerators in en_US version
https://bugs.documentfoundation.org/show_bug.cgi?id=94865 --- Comment #14 from Commit Notification--- akki95 committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=775a51cec9c439cca83d0c9bac7bb7a9c66ec5c6 tdf#94865: MENU: Duplicate accelerators in en_US version It will be available in 5.2.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Bug 94865] MENU: Duplicate accelerators in en_US version
https://bugs.documentfoundation.org/show_bug.cgi?id=94865 --- Comment #14 from Commit Notification--- akki95 committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=775a51cec9c439cca83d0c9bac7bb7a9c66ec5c6 tdf#94865: MENU: Duplicate accelerators in en_US version It will be available in 5.2.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. -- You are receiving this mail because: You are on the CC list for the bug. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-bugs] [Bug 97639] [META] Beanshell Editor bugs and enhancements
https://bugs.documentfoundation.org/show_bug.cgi?id=97639 Samuel Mehrbrodt (CIB)changed: What|Removed |Added Depends on||97641 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97641] Beanshell Editor: Translations missing
https://bugs.documentfoundation.org/show_bug.cgi?id=97641 Samuel Mehrbrodt (CIB)changed: What|Removed |Added CC||samuel.mehrbr...@cib.de Blocks||97639 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97641] New: Beanshell Editor: Translations missing
https://bugs.documentfoundation.org/show_bug.cgi?id=97641 Bug ID: 97641 Summary: Beanshell Editor: Translations missing Product: LibreOffice Version: Inherited From OOo Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: medium Component: LibreOffice Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: samuel.mehrbr...@cib.de The frame title and the buttons are not translated. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 34467] FORMATTING: Fit to Frame for text boxes is broken
https://bugs.documentfoundation.org/show_bug.cgi?id=34467 --- Comment #47 from Regina Henschel--- (In reply to Thomas Krumbein from comment #46) > (In reply to Regina Henschel from comment #45) > > If you use "ODF 1.2" and not "ODF 1.2 extended" for save and load, then the > > feature "fit to frame" will work as in older versions. > > Sorry Regina - I just checked this on Win 10 with LibO 5.0.3 - this is not > right. > > "Fit to frame" does still not work. No change to prior versions. It works here for LO 5.2 and for LO4.2. The essential part is, that you have to _save_ it in "ODF 1.2". When you then reload the file, you will see that it fits to frame. The reason for the trouble is, that "ODF 1.2 extended" writes the attribute value "shrink-to-fit" for the attribute "draw:fit-to-size". Strict ODF 1.2 only allows "true" or "false" as values and "ODF 1.2" indeed writes "true" as value. So if you have ever saved it in "ODF 1.2 extended", it has the wrong value and you first have to repair it. You can exchange "shrink-to-fit" with "true" directly in the file source if you want. But opening and saving in "ODF 1.2" works as well. I have written issue #97630 for a suggestion to get both features. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97643] Cannot insert a new record within a table or create a relationship (FK/PK) between two fields
https://bugs.documentfoundation.org/show_bug.cgi?id=97643 --- Comment #2 from Jonathan Camilleri--- Comment on attachment 122438 --> https://bugs.documentfoundation.org/attachment.cgi?id=122438 screenshot No option to edit or insert visible, is this due to the maximum length that a fieldname can have or the special characters? -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.0' - sw/inc sw/source
sw/inc/view.hxx | 10 ++ sw/source/uibase/uiview/view.cxx |3 ++- sw/source/uibase/uiview/viewport.cxx | 10 ++ sw/source/uibase/uno/unotxdoc.cxx|3 ++- 4 files changed, 24 insertions(+), 2 deletions(-) New commits: commit 17fa758487c848b1f2ff06971cb64f4de7ac1a07 Author: Jan HolesovskyDate: Mon Feb 8 13:48:13 2016 +0100 sw lok: For PgDown/PgUp, don't set the VisArea, instead use a dedicated var. The m_aVisArea may be changed by many other means (called internally from LibreOffice), so let's introduce a dedicated offset for PgUp / PgDown handling overwriting the computed value (if set). Change-Id: I7c869b1e3582145b58f0185f4df2882d07a81ddf diff --git a/sw/inc/view.hxx b/sw/inc/view.hxx index b8c1c1a..2593408 100644 --- a/sw/inc/view.hxx +++ b/sw/inc/view.hxx @@ -269,6 +269,10 @@ class SW_DLLPUBLIC SwView: public SfxViewShell m_bMakeSelectionVisible : 1, // transport the bookmark selection m_bAnnotationMode; ///< The real cursor position is inside an annotation. +/// LibreOfficeKit has to force the page size for PgUp/PgDown +/// functionality based on the user's view, instead of using the m_aVisArea. +SwTwips m_nLOKPageUpDownOffset; + // methods for searching // set search context SAL_DLLPRIVATE bool SearchAndWrap(bool bApi = false); @@ -589,6 +593,12 @@ public: OUStringGetPageStr(sal_uInt16 nPhyNum, sal_uInt16 nVirtNum, const OUString& rPgStr); +/// Force page size for PgUp/PgDown to overwrite the computation based on m_aVisArea. +void ForcePageUpDownOffset(SwTwips nTwips) +{ +m_nLOKPageUpDownOffset = nTwips; +} + // hand over Shell SfxShell *GetCurShell() { return m_pShell; } SwDocShell *GetDocShell(); diff --git a/sw/source/uibase/uiview/view.cxx b/sw/source/uibase/uiview/view.cxx index c0fb104..a9aed68 100644 --- a/sw/source/uibase/uiview/view.cxx +++ b/sw/source/uibase/uiview/view.cxx @@ -722,7 +722,8 @@ SwView::SwView( SfxViewFrame *_pFrame, SfxViewShell* pOldSh ) m_bInDtor(false), m_bOldShellWasPagePreview(false), m_bIsPreviewDoubleClick(false), -m_bAnnotationMode(false) +m_bAnnotationMode(false), +m_nLOKPageUpDownOffset(0) { // According to discussion with MBA and further // investigations, no old SfxViewShell will be set as parameter , diff --git a/sw/source/uibase/uiview/viewport.cxx b/sw/source/uibase/uiview/viewport.cxx index 39e908d..b819706 100644 --- a/sw/source/uibase/uiview/viewport.cxx +++ b/sw/source/uibase/uiview/viewport.cxx @@ -542,6 +542,11 @@ bool SwView::GetPageScrollUpOffset( SwTwips ) const rOff = rOff - m_aVisArea.Top(); else if( GetWrtShell().GetCharRect().Top() < (m_aVisArea.Top() + nYScrl)) rOff += nYScrl; + +// in the LOK case, force the value set by the API +if (comphelper::LibreOfficeKit::isActive() && m_nLOKPageUpDownOffset > 0) +rOff = -m_nLOKPageUpDownOffset; + return true; } @@ -558,6 +563,11 @@ bool SwView::GetPageScrollDownOffset( SwTwips ) const else if( GetWrtShell().GetCharRect().Bottom() > ( m_aVisArea.Bottom() - nYScrl )) rOff -= nYScrl; + +// in the LOK case, force the value set by the API +if (comphelper::LibreOfficeKit::isActive() && m_nLOKPageUpDownOffset > 0) +rOff = m_nLOKPageUpDownOffset; + return rOff > 0; } diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index b1f41c5..1f7fbf9 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -3225,7 +3225,8 @@ void SwXTextDocument::setClientVisibleArea(const Rectangle& rRectangle) if (!pView) return; -pView->SetVisArea(rRectangle); +// set the PgUp/PgDown offset +pView->ForcePageUpDownOffset(2 * rRectangle.GetHeight() / 3); } Pointer SwXTextDocument::getPointer() ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: 7 commits - writerperfect/Library_wpftcalc.mk writerperfect/Library_wpftdraw.mk writerperfect/Library_wpftimpress.mk writerperfect/Library_wpftwriter.mk writerperfect/q
writerperfect/Library_wpftcalc.mk |1 writerperfect/Library_wpftdraw.mk |1 writerperfect/Library_wpftimpress.mk |1 writerperfect/Library_wpftwriter.mk |1 writerperfect/qa/unit/DirectoryStreamTest.cxx |2 writerperfect/source/calc/MSWorksCalcImportFilter.cxx | 43 +--- writerperfect/source/calc/MSWorksCalcImportFilter.hxx | 10 writerperfect/source/calc/MWAWCalcImportFilter.cxx| 41 +-- writerperfect/source/calc/MWAWCalcImportFilter.hxx| 10 writerperfect/source/calc/NumbersImportFilter.cxx | 41 +-- writerperfect/source/calc/NumbersImportFilter.hxx | 10 writerperfect/source/calc/wpftcalc.component | 11 - writerperfect/source/calc/wpftcalc_genericfilter.cxx | 68 -- writerperfect/source/draw/CDRImportFilter.cxx | 41 +-- writerperfect/source/draw/CDRImportFilter.hxx | 10 writerperfect/source/draw/CMXImportFilter.cxx | 41 +-- writerperfect/source/draw/CMXImportFilter.hxx | 10 writerperfect/source/draw/FreehandImportFilter.cxx| 41 +-- writerperfect/source/draw/FreehandImportFilter.hxx| 10 writerperfect/source/draw/MSPUBImportFilter.cxx | 43 +--- writerperfect/source/draw/MSPUBImportFilter.hxx | 10 writerperfect/source/draw/MWAWDrawImportFilter.cxx| 41 +-- writerperfect/source/draw/MWAWDrawImportFilter.hxx| 10 writerperfect/source/draw/PageMakerImportFilter.cxx | 41 +-- writerperfect/source/draw/PageMakerImportFilter.hxx | 10 writerperfect/source/draw/VisioImportFilter.cxx | 41 +-- writerperfect/source/draw/VisioImportFilter.hxx | 10 writerperfect/source/draw/WPGImportFilter.cxx | 41 +-- writerperfect/source/draw/WPGImportFilter.hxx | 10 writerperfect/source/draw/wpftdraw.component | 26 +- writerperfect/source/draw/wpftdraw_genericfilter.cxx | 103 -- writerperfect/source/impress/KeynoteImportFilter.cxx | 39 +-- writerperfect/source/impress/KeynoteImportFilter.hxx | 13 - writerperfect/source/impress/MWAWPresentationImportFilter.cxx | 39 +-- writerperfect/source/impress/wpftimpress.component|8 writerperfect/source/impress/wpftimpress_genericfilter.cxx| 59 - writerperfect/source/writer/AbiWordImportFilter.cxx | 43 +--- writerperfect/source/writer/AbiWordImportFilter.hxx | 10 writerperfect/source/writer/EBookImportFilter.cxx | 43 +--- writerperfect/source/writer/EBookImportFilter.hxx | 10 writerperfect/source/writer/MSWorksImportFilter.cxx | 43 +--- writerperfect/source/writer/MSWorksImportFilter.hxx | 10 writerperfect/source/writer/MWAWImportFilter.cxx | 41 +-- writerperfect/source/writer/MWAWImportFilter.hxx | 10 writerperfect/source/writer/PagesImportFilter.cxx | 41 +-- writerperfect/source/writer/PagesImportFilter.hxx | 10 writerperfect/source/writer/WordPerfectImportFilter.cxx | 55 + writerperfect/source/writer/WordPerfectImportFilter.hxx | 13 - writerperfect/source/writer/wpftwriter.component | 20 + writerperfect/source/writer/wpftwriter_genericfilter.cxx | 88 50 files changed, 360 insertions(+), 1014 deletions(-) New commits: commit 41b4e7a0a5ca13b1971fad51ce6fef881dcfbf1a Author: David TardonDate: Mon Feb 8 08:47:12 2016 +0100 wpftdraw: use service constructor Change-Id: I4bc9bc2bd9fe3429701160db408303cd0b0c9714 diff --git a/writerperfect/source/draw/CDRImportFilter.cxx b/writerperfect/source/draw/CDRImportFilter.cxx index 0c697bd7..9b0a0dd 100644 --- a/writerperfect/source/draw/CDRImportFilter.cxx +++ b/writerperfect/source/draw/CDRImportFilter.cxx @@ -43,37 +43,27 @@ bool CDRImportFilter::doDetectFormat(librevenge::RVNGInputStream , OUStri return false; } -OUString CDRImportFilter_getImplementationName() -throw (RuntimeException) -{ -return OUString("com.sun.star.comp.Draw.CDRImportFilter"); -} - -Sequence< OUString > CDRImportFilter_getSupportedServiceNames() -throw (RuntimeException) -{ -Sequence < OUString > aRet(2); -OUString *pArray = aRet.getArray(); -pArray[0] = "com.sun.star.document.ImportFilter"; -pArray[1] = "com.sun.star.document.ExtendedTypeDetection"; -return aRet; -} - // XServiceInfo OUString SAL_CALL CDRImportFilter::getImplementationName() throw (RuntimeException, std::exception) { -return CDRImportFilter_getImplementationName(); +return
[Libreoffice-bugs] [Bug 94913] Microsoft Word Citations
https://bugs.documentfoundation.org/show_bug.cgi?id=94913 --- Comment #6 from Beluga--- (In reply to Andrey L from comment #5) > Any updates? Is it possible to accelerate bugfix for fee? Yes. Contact some of these guys: https://www.documentfoundation.org/certification/developers/ -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 41722] conditional formatting does not export to excel
https://bugs.documentfoundation.org/show_bug.cgi?id=41722 Duncanchanged: What|Removed |Added Status|RESOLVED|UNCONFIRMED Version|3.4.3 release |5.0.1.2 release Resolution|INVALID |--- Ever confirmed|1 |0 OS|Linux (All) |Windows (All) --- Comment #6 from Duncan --- I am having an issue which matches this description. I have changed the version and hardware to refelct my system. For reference the original report was in 3.4.3 on linux. I will redescribe the issue: When saving a document in xlsx (office open version) format with conditional formatting that changes the style of cells based on their text content (contains string), then opening the document in MS Excel (tested with 2007 and 2010), the conditional formatting is not shown. If the user creates conditional formatting in msxl and opens it in calc the formatting is shown correctly. If the user changes anything on this page in calc and then saves, then opens again in msxl the formatting is gone again. In the msxl conditional formatting 'manage rules' menu all the rules are present as normal, but none of them are working. If the edit rule screen is opened for each rule and then closed again with the 'ok' button (no actual changes necessary), the formatting reappears and shows correctly. Saving in msxl and opening in calc does not result in any issue. This feels like a microsoft bug to me but if it is then I am out of luck so here's hoping. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97635] New: Beanshell Editor: Tab doesn't work
https://bugs.documentfoundation.org/show_bug.cgi?id=97635 Bug ID: 97635 Summary: Beanshell Editor: Tab doesn't work Product: LibreOffice Version: Inherited From OOo Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: medium Component: LibreOffice Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: samuel.mehrbr...@cib.de In the Beanshell Editor, indenting code with Tab doesn't work. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-commits] core.git: 16 commits - basctl/sdi idl/inc idl/source include/sfx2 sc/sdi sd/sdi sfx2/sdi sfx2/source starmath/sdi svx/sdi sw/sdi
basctl/sdi/basslots.sdi |3 - idl/inc/basobj.hxx | 36 + idl/inc/bastype.hxx | 25 - idl/inc/command.hxx |2 idl/inc/database.hxx | 15 ++--- idl/inc/globals.hxx |4 - idl/inc/lex.hxx | 12 ++-- idl/inc/module.hxx |9 --- idl/inc/object.hxx |8 +- idl/inc/slot.hxx | 90 +++-- idl/inc/types.hxx| 56 +++- idl/source/objects/basobj.cxx| 23 +--- idl/source/objects/bastype.cxx |9 --- idl/source/objects/module.cxx| 29 +- idl/source/objects/object.cxx| 28 +- idl/source/objects/slot.cxx | 75 ++- idl/source/objects/types.cxx | 105 +++ idl/source/prj/database.cxx | 29 +- idl/source/prj/globals.cxx |2 include/sfx2/msg.hxx | 12 +--- sc/sdi/scslots.sdi |9 --- sc/sdi/tabvwsh.sdi | 17 -- sd/sdi/sdgslots.sdi |9 --- sd/sdi/sdslots.sdi |9 --- sfx2/sdi/sfxslots.sdi|3 - sfx2/source/control/bindings.cxx | 10 +-- sfx2/source/control/msg.cxx |8 +- sfx2/source/control/objface.cxx |6 +- sfx2/source/control/shell.cxx|2 starmath/sdi/smslots.sdi |3 - svx/sdi/svxslots.sdi |3 - sw/sdi/swslots.sdi |9 --- 32 files changed, 220 insertions(+), 440 deletions(-) New commits: commit c4f056c01b674046c8d1852ae5e5ce0d48b0714f Author: Noel GrandinDate: Mon Feb 8 13:48:55 2016 +0200 disambiguate the two GetType methods Change-Id: I922af3a2ebe8cdaa6465542a5d6de365e1bc6dff diff --git a/idl/inc/types.hxx b/idl/inc/types.hxx index 09c8a7c..48d3331 100644 --- a/idl/inc/types.hxx +++ b/idl/inc/types.hxx @@ -80,7 +80,7 @@ public: sal_uLong GetAttrCount() const { return aAttrList.size(); } voidSetType( MetaTypeType nT ); -MetaTypeTypeGetType() const { return nType; } +MetaTypeTypeGetMetaTypeType() const { return nType; } SvMetaType *GetBaseType() const; SvMetaType *GetReturnType() const; boolIsItem() const { return bIsItem; } diff --git a/idl/source/objects/object.cxx b/idl/source/objects/object.cxx index ecc2691..f95ea36 100644 --- a/idl/source/objects/object.cxx +++ b/idl/source/objects/object.cxx @@ -109,7 +109,7 @@ void SvMetaClass::ReadContextSvIdl( SvIdlDataBase & rBase, bool SvMetaClass::ReadSvIdl( SvIdlDataBase & rBase, SvTokenStream & rInStm ) { sal_uLong nTokPos = rInStm.Tell(); -if( SvMetaType::ReadHeaderSvIdl( rBase, rInStm ) && GetType() == MetaTypeType::Class ) +if( SvMetaType::ReadHeaderSvIdl( rBase, rInStm ) && GetMetaTypeType() == MetaTypeType::Class ) { bool bOk = true; if( rInStm.Read( ':' ) ) diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx index cb8ce82..d2cddd7 100644 --- a/idl/source/objects/slot.cxx +++ b/idl/source/objects/slot.cxx @@ -84,12 +84,12 @@ bool SvMetaSlot::GetHidden() const bool SvMetaSlot::IsVariable() const { SvMetaType * pType = GetType(); -return pType->GetType() != MetaTypeType::Method; +return pType->GetMetaTypeType() != MetaTypeType::Method; } bool SvMetaSlot::IsMethod() const { -bool b = GetType()->GetType() == MetaTypeType::Method; +bool b = GetType()->GetMetaTypeType() == MetaTypeType::Method; b |= nullptr != GetMethod(); return b; } @@ -338,7 +338,7 @@ bool SvMetaSlot::Test( SvIdlDataBase & rBase, SvTokenStream & rInStm ) if( bOk ) { SvMetaType * pType = GetType(); -if( pType->GetType() == MetaTypeType::Method ) +if( pType->GetMetaTypeType() == MetaTypeType::Method ) pType = pType->GetReturnType(); if( !pType->IsItem() ) { diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx index d4eaf65..392b0b0 100644 --- a/idl/source/objects/types.cxx +++ b/idl/source/objects/types.cxx @@ -114,7 +114,7 @@ sal_uLong SvMetaAttribute::MakeSfx( OStringBuffer& rAttrArray ) DBG_ASSERT( pType, "no type for attribute" ); SvMetaType * pBaseType = pType->GetBaseType(); DBG_ASSERT( pBaseType, "no base type for attribute" ); -if( pBaseType->GetType() == MetaTypeType::Struct ) +if( pBaseType->GetMetaTypeType() == MetaTypeType::Struct ) return pBaseType->MakeSfx( rAttrArray ); else { @@ -162,14 +162,14 @@ void SvMetaType::SetType( MetaTypeType nT ) SvMetaType * SvMetaType::GetBaseType() const { -if( GetRef() && GetType() == MetaTypeType::Base ) +if( GetRef() && GetMetaTypeType() == MetaTypeType::Base ) return static_cast(GetRef())->GetBaseType(); return
[Libreoffice-commits] core.git: 2 commits - xmlsecurity/source
xmlsecurity/source/helper/xmlsignaturehelper.cxx |3 + xmlsecurity/source/helper/xsecctl.cxx|6 ++ xmlsecurity/source/helper/xsecctl.hxx|5 ++ xmlsecurity/source/helper/xsecsign.cxx | 57 +++ 4 files changed, 71 insertions(+) New commits: commit 95d45e8a19babfc319b3e92ee89bb13fd9924631 Author: Miklos VajnaDate: Mon Feb 8 12:41:07 2016 +0100 xmlsecurity: export OOXML Change-Id: I1cac26d1133722285abe038085ad81dc16be6d8f diff --git a/xmlsecurity/source/helper/xsecctl.cxx b/xmlsecurity/source/helper/xsecctl.cxx index cc6a2e1..fcbd828 100644 --- a/xmlsecurity/source/helper/xsecctl.cxx +++ b/xmlsecurity/source/helper/xsecctl.cxx @@ -975,6 +975,12 @@ void XSecController::exportSignature( xDocumentHandler->endElement( tag_Signature ); } +void XSecController::exportOOXMLSignature(const uno::Reference& xDocumentHandler, const SignatureInformation& /*rInformation*/) +{ +xDocumentHandler->startElement(TAG_SIGNEDINFO, uno::Reference(new SvXMLAttributeList())); +xDocumentHandler->endElement(TAG_SIGNEDINFO); +} + SignatureInformation XSecController::getSignatureInformation( sal_Int32 nSecurityId ) const { SignatureInformation aInf( 0 ); diff --git a/xmlsecurity/source/helper/xsecctl.hxx b/xmlsecurity/source/helper/xsecctl.hxx index ff7ee0e..967e603 100644 --- a/xmlsecurity/source/helper/xsecctl.hxx +++ b/xmlsecurity/source/helper/xsecctl.hxx @@ -506,6 +506,8 @@ public: /// Writes XML elements inside a single OOXML signature's element. bool WriteOOXMLSignature(const css::uno::Reference& xDocumentHandler); +/// Exports an OOXML signature, called by WriteOOXMLSignature(). +static void exportOOXMLSignature(const css::uno::Reference& xDocumentHandler, const SignatureInformation& rInformation); }; #endif diff --git a/xmlsecurity/source/helper/xsecsign.cxx b/xmlsecurity/source/helper/xsecsign.cxx index 8b658df..4f1e523 100644 --- a/xmlsecurity/source/helper/xsecsign.cxx +++ b/xmlsecurity/source/helper/xsecsign.cxx @@ -357,10 +357,59 @@ bool XSecController::WriteSignature( return rc; } -bool XSecController::WriteOOXMLSignature(const uno::Reference& /*xDocumentHandler*/) +bool XSecController::WriteOOXMLSignature(const uno::Reference& xDocumentHandler) { bool bRet = false; +SAL_WARN_IF(!xDocumentHandler.is(), "xmlsecurity.helper", "empty xDocumentHandler reference"); + +// Chain the SAXEventKeeper to the SAX chain. +chainOn(/*bRetrievingLastEvent=*/true); + +if (m_nStatusOfSecurityComponents == INITIALIZED) +{ +m_bIsSAXEventKeeperSticky = true; +m_xSAXEventKeeper->setNextHandler(xDocumentHandler); + +try +{ +// Export the signature template. +cssu::Reference xSEKHandler(m_xSAXEventKeeper, uno::UNO_QUERY); + +for (size_t i = 0; i < m_vInternalSignatureInformations.size(); ++i) +{ +InternalSignatureInformation& rInformation = m_vInternalSignatureInformations[i]; + +// Prepare the signature creator. +rInformation.xReferenceResolvedListener = prepareSignatureToWrite(rInformation); + +exportOOXMLSignature(xSEKHandler, rInformation.signatureInfor); +} + +m_bIsSAXEventKeeperSticky = false; +chainOff(); + +bRet = true; +} +catch (const xml::sax::SAXException&) +{ +m_pErrorMessage = ERROR_SAXEXCEPTIONDURINGCREATION; +} +catch(const io::IOException&) +{ +m_pErrorMessage = ERROR_IOEXCEPTIONDURINGCREATION; +} +catch(const uno::Exception&) +{ +m_pErrorMessage = ERROR_EXCEPTIONDURINGCREATION; +} + +m_xSAXEventKeeper->setNextHandler(nullptr); +m_bIsSAXEventKeeperSticky = false; +} +else +m_pErrorMessage = ERROR_CANNOTCREATEXMLSECURITYCOMPONENT; + return bRet; } commit 1eda4ad5bab6ac65c0c61bbbef6946129566b7cc Author: Miklos Vajna Date: Mon Feb 8 12:29:28 2016 +0100 xmlsecurity: initial WriteOOXMLSignature() Change-Id: I368a0254a8c8eff0ec7c56ecec4c0a462ae32252 diff --git a/xmlsecurity/source/helper/xmlsignaturehelper.cxx b/xmlsecurity/source/helper/xmlsignaturehelper.cxx index bea6ed7..f653248 100644 --- a/xmlsecurity/source/helper/xmlsignaturehelper.cxx +++ b/xmlsecurity/source/helper/xmlsignaturehelper.cxx @@ -506,6 +506,9 @@ bool XMLSignatureHelper::CreateAndWriteOOXMLSignature(css::uno::ReferencestartElement(TAG_SIGNATURE, uno::Reference(pAttributeList)); mbError = false; +uno::Reference xDocumentHandler(xSaxWriter, uno::UNO_QUERY); +if (!mpXSecController->WriteOOXMLSignature(xDocumentHandler)) +mbError = true; xSaxWriter->endElement(TAG_SIGNATURE); xSaxWriter->endDocument(); diff --git
[Libreoffice-bugs] [Bug 34467] FORMATTING: Fit to Frame for text boxes is broken
https://bugs.documentfoundation.org/show_bug.cgi?id=34467 --- Comment #46 from Thomas Krumbein--- (In reply to Regina Henschel from comment #45) > If you use "ODF 1.2" and not "ODF 1.2 extended" for save and load, then the > feature "fit to frame" will work as in older versions. Sorry Regina - I just checked this on Win 10 with LibO 5.0.3 - this is not right. "Fit to frame" does still not work. No change to prior versions. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 83299] Format > Sections is disabled when the cursor is inside a protected section
https://bugs.documentfoundation.org/show_bug.cgi?id=83299 --- Comment #17 from e...@doxos.eu --- I re-tried with my attachment 105494 and LO 5.0.3rc2 still exhibits the erroneous behavior -- I can fill the form fields (darker ones), but whenever I try to modify something outside of the fields (such as editing the - text), I get a popup saying: "Write-protected content cannot be be changed. / No modifications will be accepted.". No change from 4.x. With Mohammed's document (attachment 116204), Format/Section is disabled as well, but I can edit the document freely. I'd call this bug in Word import (since the section structure is missing in the ODT), but unless someone else has the issue, I won't reopen the bug. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97616] bad conditional formatting
https://bugs.documentfoundation.org/show_bug.cgi?id=97616 Aldochanged: What|Removed |Added Attachment #122422|0 |1 is obsolete|| --- Comment #4 from Aldo --- Created attachment 122432 --> https://bugs.documentfoundation.org/attachment.cgi?id=122432=edit File ods -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-commits] core.git: include/svx sc/source sd/source svx/source sw/source
include/svx/svdmodel.hxx |4 sc/source/ui/unoobj/docuno.cxx|1 - sd/source/ui/unoidl/unomodel.cxx |2 -- svx/source/svdraw/svdmodel.cxx|6 -- sw/source/uibase/uno/unotxdoc.cxx |2 -- 5 files changed, 15 deletions(-) New commits: commit b7e8306c09d926ad26bbcfd3ea331fff738d0f98 Author: Miklos VajnaDate: Mon Feb 8 11:00:21 2016 +0100 svx: SdrModel::mbTiledRendering is never read Change-Id: I8571032b5c43a47872cb3364613ffb936624aa2d diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx index 4288fac..1759527 100644 --- a/include/svx/svdmodel.hxx +++ b/include/svx/svdmodel.hxx @@ -174,8 +174,6 @@ protected: SdrOutliner*pChainingOutliner; // an Outliner for chaining overflowing text sal_uIntPtr nDefTextHgt;// Default text height in logical units VclPtr pRefOutDev; // ReferenceDevice for the EditEngine -/// Set if we are doing tiled rendering. -bool mbTiledRendering; LibreOfficeKitCallback mpLibreOfficeKitCallback; void* mpLibreOfficeKitData; /// Set if we are in the middle of a tiled search. @@ -337,8 +335,6 @@ public: // ReferenceDevice for the EditEngine void SetRefDevice(OutputDevice* pDev); OutputDevice*GetRefDevice() const { return pRefOutDev.get(); } -/// Set if we are doing tiled rendering. -void setTiledRendering(bool bTiledRendering); /// The actual implementation of the vcl::ITiledRenderable::registerCallback() API. void registerLibreOfficeKitCallback(LibreOfficeKitCallback pCallback, void* pLibreOfficeKitData); /// Gets the LOK callback registered by registerLibreOfficeKitCallback(). diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index 8806a88..7620b63 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -924,7 +924,6 @@ Pointer ScModelObj::getPointer() void ScModelObj::initializeForTiledRendering(const css::uno::Sequence& /*rArguments*/) { SolarMutexGuard aGuard; -pDocShell->GetDocument().GetDrawLayer()->setTiledRendering(true); // show us the text exactly ScInputOptions aInputOptions(SC_MOD()->GetInputOptions()); diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index cf0a32c..bca7885 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -2368,8 +2368,6 @@ void SdXImpressDocument::initializeForTiledRendering(const css::uno::SequenceGetViewShell()->GetViewFrame()->GetDispatcher()->Execute(SID_VIEWSHELL0, SfxCallMode::SYNCHRON | SfxCallMode::RECORD); -mpDoc->setTiledRendering(true); - if (DrawViewShell* pViewShell = GetViewShell()) { DrawView* pDrawView = pViewShell->GetDrawView(); diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx index f17a4ff..d992ab2 100644 --- a/svx/source/svdraw/svdmodel.cxx +++ b/svx/source/svdraw/svdmodel.cxx @@ -126,7 +126,6 @@ void SdrModel::ImpCtor(SfxItemPool* pPool, ::comphelper::IEmbeddedHelper* _pEmbe pDrawOutliner=nullptr; pHitTestOutliner=nullptr; pRefOutDev=nullptr; -mbTiledRendering = false; mpLibreOfficeKitCallback = nullptr; mpLibreOfficeKitData = nullptr; mbTiledSearching = false; @@ -812,11 +811,6 @@ void SdrModel::SetRefDevice(OutputDevice* pDev) RefDeviceChanged(); } -void SdrModel::setTiledRendering(bool bTiledRendering) -{ -mbTiledRendering = bTiledRendering; -} - void SdrModel::registerLibreOfficeKitCallback(LibreOfficeKitCallback pCallback, void* pData) { mpLibreOfficeKitCallback = pCallback; diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index a6e4719..aedf88c 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -3232,8 +3232,6 @@ void SwXTextDocument::initializeForTiledRendering(const css::uno::SequenceGetDoc(); SwViewShell* pViewShell = pDoc->getIDocumentLayoutAccess().GetCurrentViewShell(); ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-bugs] [Bug 41722] conditional formatting does not export to excel
https://bugs.documentfoundation.org/show_bug.cgi?id=41722 --- Comment #8 from Duncan--- Created attachment 122436 --> https://bugs.documentfoundation.org/attachment.cgi?id=122436=edit Conditional formatting example saved with MS Office Opening this in either office program shows the formatting correctly -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 41722] conditional formatting does not export to excel
https://bugs.documentfoundation.org/show_bug.cgi?id=41722 --- Comment #7 from Duncan--- Created attachment 122435 --> https://bugs.documentfoundation.org/attachment.cgi?id=122435=edit Conditional formatting example saved with LibreOffice Opening this in MS Excel does not show any conditional formatting -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97635] Beanshell Editor: Tab doesn't work
https://bugs.documentfoundation.org/show_bug.cgi?id=97635 Samuel Mehrbrodt (CIB)changed: What|Removed |Added CC||samuel.mehrbr...@cib.de Severity|normal |enhancement -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97635] Beanshell Editor: Shift-Tab doesn't work
https://bugs.documentfoundation.org/show_bug.cgi?id=97635 Samuel Mehrbrodt (CIB)changed: What|Removed |Added Summary|Beanshell Editor: Tab |Beanshell Editor: Shift-Tab |doesn't work|doesn't work --- Comment #1 from Samuel Mehrbrodt (CIB) --- Oops .. Tab does work, but Shift-Tab doesn't. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 94851] Images are not printed (paper and PDF) with OpenGL activated
https://bugs.documentfoundation.org/show_bug.cgi?id=94851 Timurchanged: What|Removed |Added Keywords|bibisectRequest | Hardware|x86-64 (AMD64) |All -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97591] Clipboard contains wrong target for RTF
https://bugs.documentfoundation.org/show_bug.cgi?id=97591 Christian Röschchanged: What|Removed |Added Status|NEEDINFO|UNCONFIRMED Ever confirmed|1 |0 --- Comment #3 from Christian Rösch --- Problem also exists in latest downloadable version: Version: 5.0.4.2 Build ID: 2b9802c1994aa0b7dc6079e128979269cf95bc78 Locale: en-US (en_US.UTF-8) -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-commits] core.git: download.lst
download.lst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit c64ea526dc71da6e3aad188ac71e58047ed74b5a Author: Caolán McNamaraDate: Mon Feb 8 09:35:52 2016 + update graphite to 1.3.5 Change-Id: I3287d51430d7a0901dd8bbf2458b845bcf92a8d2 diff --git a/download.lst b/download.lst index bb13908..051c20e 100644 --- a/download.lst +++ b/download.lst @@ -53,7 +53,7 @@ export FREETYPE_TARBALL := dbf2caca1d3afd410a29217a9809d397-freetype-2.4.8.tar.b export GLEW_TARBALL := 3941e9cab2f4f9d8faee3e8d57ae7664-glew-1.12.0.zip export GLM_TARBALL := bae83fa5dc7f081768daace6e199adc3-glm-0.9.4.6-libreoffice.zip export GLYPHY_TARBALL := 5d303fb955beb9bf112267316ca9d021-glyphy-0.2.0.tar.bz2 -export GRAPHITE_TARBALL := 5c0c9ac0996fbb4a0e17780ff5441959-graphite2-minimal-1.3.4.tgz +export GRAPHITE_TARBALL := 28935e208c311761c29983c739db08d8-graphite2-minimal-1.3.5.tgz export HARFBUZZ_MD5SUM := 0e27e531f4c4acff601ebff0957755c2 export HARFBUZZ_TARBALL := harfbuzz-0.9.40.tar.bz2 export HSQLDB_TARBALL := 17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-bugs] [Bug 94913] Microsoft Word Citations
https://bugs.documentfoundation.org/show_bug.cgi?id=94913 Andrey Lchanged: What|Removed |Added CC||andreyl@gmail.com --- Comment #5 from Andrey L --- Any updates? Is it possible to accelerate bugfix for fee? -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97636] New: Beanshell Editor: Add Undo/Redo functionality
https://bugs.documentfoundation.org/show_bug.cgi?id=97636 Bug ID: 97636 Summary: Beanshell Editor: Add Undo/Redo functionality Product: LibreOffice Version: Inherited From OOo Hardware: All OS: All Status: UNCONFIRMED Severity: enhancement Priority: medium Component: LibreOffice Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: samuel.mehrbr...@cib.de -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97639] [META] Beanshell Editor bugs and enhancements
https://bugs.documentfoundation.org/show_bug.cgi?id=97639 Samuel Mehrbrodt (CIB)changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0 |1 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-commits] core.git: sal/cppunittester sd/source sw/source vcl/headless xmlsecurity/source
sal/cppunittester/cppunittester.cxx |2 +- sd/source/ui/animations/CategoryListBox.hxx |2 +- sw/source/core/unocore/unotbl.cxx|2 +- vcl/headless/svpgdi.cxx |4 ++-- xmlsecurity/source/helper/ooxmlsecparser.hxx |2 +- 5 files changed, 6 insertions(+), 6 deletions(-) New commits: commit 16b93ae648f3e9675eeb6980925957e2ccbcfdf2 Author: Caolán McNamaraDate: Mon Feb 8 10:33:02 2016 + cppcheck: noExplicitConstructor Change-Id: I74585aa5a50cd335f4fd0a3ba4fed230b98993c3 diff --git a/sal/cppunittester/cppunittester.cxx b/sal/cppunittester/cppunittester.cxx index 22af500..fa0c5793 100644 --- a/sal/cppunittester/cppunittester.cxx +++ b/sal/cppunittester/cppunittester.cxx @@ -173,7 +173,7 @@ namespace { struct test_name_compare { -test_name_compare(const std::string& rName): +explicit test_name_compare(const std::string& rName): maName(rName) { } diff --git a/sd/source/ui/animations/CategoryListBox.hxx b/sd/source/ui/animations/CategoryListBox.hxx index 4b9debb..f044ac4 100644 --- a/sd/source/ui/animations/CategoryListBox.hxx +++ b/sd/source/ui/animations/CategoryListBox.hxx @@ -9,7 +9,7 @@ namespace sd { class CategoryListBox : public ListBox { public: -CategoryListBox( vcl::Window* pParent ); +explicit CategoryListBox( vcl::Window* pParent ); virtual ~CategoryListBox(); virtual voidMouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE; diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx index 31372e1..6f88f48 100644 --- a/sw/source/core/unocore/unotbl.cxx +++ b/sw/source/core/unocore/unotbl.cxx @@ -1974,7 +1974,7 @@ public: unsigned short m_nRows; unsigned short m_nColumns; -Impl(SwFrameFormat *const pFrameFormat) +explicit Impl(SwFrameFormat *const pFrameFormat) : SwClient(pFrameFormat) , m_Listeners(m_Mutex) , m_pPropSet(aSwMapProvider.GetPropertySet(PROPERTY_MAP_TEXT_TABLE)) diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx index 5baa761..b99ea09 100644 --- a/vcl/headless/svpgdi.cxx +++ b/vcl/headless/svpgdi.cxx @@ -103,7 +103,7 @@ namespace class SourceHelper { public: -SourceHelper(const SalBitmap& rSourceBitmap) +explicit SourceHelper(const SalBitmap& rSourceBitmap) { const SvpSalBitmap& rSrcBmp = static_cast(rSourceBitmap); @@ -142,7 +142,7 @@ namespace class MaskHelper { public: -MaskHelper(const SalBitmap& rAlphaBitmap) +explicit MaskHelper(const SalBitmap& rAlphaBitmap) { const SvpSalBitmap& rMask = static_cast(rAlphaBitmap); const BitmapBuffer* pMaskBuf = rMask.GetBuffer(); diff --git a/xmlsecurity/source/helper/ooxmlsecparser.hxx b/xmlsecurity/source/helper/ooxmlsecparser.hxx index 73ac0b2..dbb0151 100644 --- a/xmlsecurity/source/helper/ooxmlsecparser.hxx +++ b/xmlsecurity/source/helper/ooxmlsecparser.hxx @@ -45,7 +45,7 @@ class OOXMLSecParser: public cppu::WeakImplHelper bool m_bReferenceUnresolved; public: -OOXMLSecParser(XSecController* pXSecController); +explicit OOXMLSecParser(XSecController* pXSecController); virtual ~OOXMLSecParser(); // XDocumentHandler ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-bugs] [Bug 97643] New: Cannot insert a new record within a table or create a relationship (FK/PK) between two fields
https://bugs.documentfoundation.org/show_bug.cgi?id=97643 Bug ID: 97643 Summary: Cannot insert a new record within a table or create a relationship (FK/PK) between two fields Product: LibreOffice Version: 5.0.4.2 release Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: medium Component: Base Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: camilleri@gmail.com Created attachment 122437 --> https://bugs.documentfoundation.org/attachment.cgi?id=122437=edit attachment I created a new table named 'payment-agent' but I have no way of inserting a new record or creating a relationship between entity.payment-agent-id and payment-agent.payment-agent-id. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 95310] Application menu items to start with temporary or new user profile
https://bugs.documentfoundation.org/show_bug.cgi?id=95310 Yousuf (Jay) Philipschanged: What|Removed |Added CC||libreoffice-ux-advise@lists ||.freedesktop.org, ||philip...@hotmail.com, ||qu...@runcibility.com Summary|Enhancement: Disable|Application menu items to |profile 'one time' menu |start with temporary or new |item|user profile --- Comment #6 from Yousuf (Jay) Philips --- Definitely a useful feature and one that i had thought about suggesting. Being able to test whether a bug is available with a new user profile without having to rename the current profile, test, and then rename it back would be quite useful for QA. On a different note, I have reported a number of bugs where the corrupted user profile would stop me from opening LibreOffice, so having a menu item resetting the user profile would be extremely useful to regular end users. I would assume the activation of both these options would be accessible by commandline switches, similar to the below. `$ ./soffice --temp-profile` `$ ./soffice --new-profile` -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97632] New: Export PDF "selection" option do no work
https://bugs.documentfoundation.org/show_bug.cgi?id=97632 Bug ID: 97632 Summary: Export PDF "selection" option do no work Product: LibreOffice Version: 5.0.2.2 release Hardware: x86-64 (AMD64) OS: Linux (All) Status: UNCONFIRMED Severity: normal Priority: medium Component: Impress Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: matthieu.pe...@gmail.com Created attachment 122431 --> https://bugs.documentfoundation.org/attachment.cgi?id=122431=edit Example file that fail "selection" restricted the export hi, way to reproduce ! * Open Impress * Create a diagram with several object (e.g. square, connectors). * Select several (all) objects in the sheet. * Export to pdf using "selection" option. => the created PDF is not trimmed to the previously selected elements (complete sheet is exported). -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97616] bad conditional formatting
https://bugs.documentfoundation.org/show_bug.cgi?id=97616 Aldochanged: What|Removed |Added Status|RESOLVED|REOPENED Resolution|NOTABUG |--- Assignee|libreoffice-b...@lists.free |studiom...@teletu.it |desktop.org | Ever confirmed|0 |1 --- Comment #5 from Aldo --- Created attachment 122433 --> https://bugs.documentfoundation.org/attachment.cgi?id=122433=edit image of the screen This is what I see on the screen -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
Re: Problem with assertXPath and doubles
Hi, On Mon, Feb 08, 2016 at 12:19:11AM +0100, Xisco Faulíwrote: > assertXPath(pDocument, "/primitive2D/transform/mask/unifiedtransparence", > "transparence", "0.5"); The XPath asserter works with XML attributes, the attribute value is always a string. The code that generates that XML is in test/source/primitive2dxmldump.cxx, maybe check if that's what casts the double to int before converting it to a string. Regards, Miklos signature.asc Description: Digital signature ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-bugs] [Bug 97543] INSERT: SVG and attributes ignored
https://bugs.documentfoundation.org/show_bug.cgi?id=97543 Yousuf (Jay) Philipschanged: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #4 from Yousuf (Jay) Philips --- Verified. Please backport to 5.1. :D Version: 5.2.0.0.alpha0+ Build ID: 6d68e88a0fc5a54bbb826379163bd0b9c6eae0fb CPU Threads: 2; OS Version: Linux 4.2; UI Render: default; TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-02-08_08:05:38 Locale: en-US (en_US.UTF-8) -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-commits] core.git: basic/source include/basic sfx2/source
basic/source/basmgr/basmgr.cxx |7 +++ basic/source/uno/modsizeexceeded.cxx |4 ++-- basic/source/uno/scriptcont.cxx |2 +- include/basic/basmgr.hxx |2 +- include/basic/modsizeexceeded.hxx|3 ++- sfx2/source/appl/appbaslib.cxx |2 +- sfx2/source/doc/objstor.cxx |2 +- sfx2/source/inc/appbaslib.hxx|3 ++- 8 files changed, 13 insertions(+), 12 deletions(-) New commits: commit 4c411636d9f3e8be085ca02af6fad448838834b1 Author: Noel GrandinDate: Sat Feb 6 16:06:48 2016 +0200 sequence->vector in basic Change-Id: Ic42f7218bda81effe870d950f666ba7653d60c66 Reviewed-on: https://gerrit.libreoffice.org/22177 Reviewed-by: Noel Grandin Tested-by: Noel Grandin diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx index fce79ca..c558e8b 100644 --- a/basic/source/basmgr/basmgr.cxx +++ b/basic/source/basmgr/basmgr.cxx @@ -1508,7 +1508,7 @@ uno::Any BasicManager::SetGlobalUNOConstant( const sal_Char* _pAsciiName, const return aOldValue; } -bool BasicManager::LegacyPsswdBinaryLimitExceeded( uno::Sequence< OUString >& _out_rModuleNames ) +bool BasicManager::LegacyPsswdBinaryLimitExceeded( std::vector< OUString >& _out_rModuleNames ) { try { @@ -1531,7 +1531,7 @@ bool BasicManager::LegacyPsswdBinaryLimitExceeded( uno::Sequence< OUString >& _o uno::Sequence< OUString > aElementNames( xScriptLibrary->getElementNames() ); sal_Int32 nLen = aElementNames.getLength(); -uno::Sequence< OUString > aBigModules( nLen ); +std::vector< OUString > aBigModules( nLen ); sal_Int32 nBigModules = 0; const OUString* pElementNames = aElementNames.getConstArray(); @@ -1545,8 +1545,7 @@ bool BasicManager::LegacyPsswdBinaryLimitExceeded( uno::Sequence< OUString >& _o if ( nBigModules ) { -aBigModules.realloc( nBigModules ); -_out_rModuleNames = aBigModules; + _out_rModuleNames.swap(aBigModules); return true; } } diff --git a/basic/source/uno/modsizeexceeded.cxx b/basic/source/uno/modsizeexceeded.cxx index 3723511..a0cf139 100644 --- a/basic/source/uno/modsizeexceeded.cxx +++ b/basic/source/uno/modsizeexceeded.cxx @@ -26,10 +26,10 @@ using namespace com::sun::star; using namespace cppu; using namespace osl; -ModuleSizeExceeded::ModuleSizeExceeded( const uno::Sequence< OUString >& sModules ) +ModuleSizeExceeded::ModuleSizeExceeded( const std::vector< OUString >& sModules ) { script::ModuleSizeExceededRequest aReq; -aReq.Names = sModules; +aReq.Names = comphelper::containerToSequence(sModules); m_aRequest <<= aReq; diff --git a/basic/source/uno/scriptcont.cxx b/basic/source/uno/scriptcont.cxx index f548c0a..ab49180 100644 --- a/basic/source/uno/scriptcont.cxx +++ b/basic/source/uno/scriptcont.cxx @@ -574,7 +574,7 @@ bool SfxScriptLibraryContainer::implStorePasswordLibrary( SfxLibrary* pLib, cons // Only need to handle the export case here, // save/saveas etc are handled in sfxbasemodel::storeSelf & // sfxbasemodel::impl_store -uno::Sequence aNames; +std::vector aNames; if ( bExport && pBasicMgr->LegacyPsswdBinaryLimitExceeded(aNames) ) { if ( xHandler.is() ) diff --git a/include/basic/basmgr.hxx b/include/basic/basmgr.hxx index d64259a..c9227ee 100644 --- a/include/basic/basmgr.hxx +++ b/include/basic/basmgr.hxx @@ -194,7 +194,7 @@ public: @param _out_rModuleNames takes the names of modules whose size exceeds the legacy limit */ -boolLegacyPsswdBinaryLimitExceeded( css::uno::Sequence< OUString >& _out_rModuleNames ); +boolLegacyPsswdBinaryLimitExceeded( std::vector< OUString >& _out_rModuleNames ); bool HasExeCode( const OUString& ); /// determines whether the Basic Manager has a given macro, given by fully qualified name boolHasMacro( OUString const& i_fullyQualifiedName ) const; diff --git a/include/basic/modsizeexceeded.hxx b/include/basic/modsizeexceeded.hxx index 1ddec37..5f9cc18 100644 --- a/include/basic/modsizeexceeded.hxx +++ b/include/basic/modsizeexceeded.hxx @@ -23,12 +23,13 @@ #include #include #include +#include class BASIC_DLLPUBLIC ModuleSizeExceeded : public ::cppu::WeakImplHelper1< css::task::XInteractionRequest > { // C++ interface public: -ModuleSizeExceeded( const css::uno::Sequence& sModules ); +ModuleSizeExceeded( const std::vector& sModules ); bool isAbort() const; bool isApprove() const; diff --git a/sfx2/source/appl/appbaslib.cxx b/sfx2/source/appl/appbaslib.cxx index 78e0def..a49aa7d 100644 --- a/sfx2/source/appl/appbaslib.cxx +++ b/sfx2/source/appl/appbaslib.cxx @@ -156,7 +156,7 @@ void
[Libreoffice-commits] core.git: basic/source
basic/source/inc/namecont.hxx |4 ++-- basic/source/uno/namecont.cxx | 33 +++-- 2 files changed, 17 insertions(+), 20 deletions(-) New commits: commit 310b65e5e93c500ac5ae3981120809df09230e56 Author: Noel GrandinDate: Sat Feb 6 09:35:45 2016 +0200 sequence->vector in basic Change-Id: Ic1b72a6c5e9df5d0fa65626ec1d8eda6a2d2feec Reviewed-on: https://gerrit.libreoffice.org/22176 Reviewed-by: Noel Grandin Tested-by: Noel Grandin diff --git a/basic/source/inc/namecont.hxx b/basic/source/inc/namecont.hxx index 0978c1d..1032797 100644 --- a/basic/source/inc/namecont.hxx +++ b/basic/source/inc/namecont.hxx @@ -72,8 +72,8 @@ class NameContainer : public ::cppu::BaseMutex, public NameContainer_BASE typedef std::unordered_map < OUString, sal_Int32, OUStringHash > NameContainerNameMap; NameContainerNameMap mHashMap; -css::uno::Sequence< OUString > mNames; -css::uno::Sequence< css::uno::Any > mValues; +std::vector< OUString > mNames; +std::vector< css::uno::Any > mValues; sal_Int32 mnElementCount; css::uno::Type mType; diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx index 472b74e..bf385ee 100644 --- a/basic/source/uno/namecont.cxx +++ b/basic/source/uno/namecont.cxx @@ -35,6 +35,7 @@ #include #include #include +#include #include "namecont.hxx" #include @@ -120,14 +121,14 @@ Any NameContainer::getByName( const OUString& aName ) throw NoSuchElementException(); } sal_Int32 iHashResult = (*aIt).second; -Any aRetAny = mValues.getConstArray()[ iHashResult ]; +Any aRetAny = mValues[ iHashResult ]; return aRetAny; } Sequence< OUString > NameContainer::getElementNames() throw(RuntimeException, std::exception) { -return mNames; +return comphelper::containerToSequence(mNames); } sal_Bool NameContainer::hasByName( const OUString& aName ) @@ -154,8 +155,8 @@ void NameContainer::replaceByName( const OUString& aName, const Any& aElement ) throw NoSuchElementException(); } sal_Int32 iHashResult = (*aIt).second; -Any aOldElement = mValues.getConstArray()[ iHashResult ]; -mValues.getArray()[ iHashResult ] = aElement; +Any aOldElement = mValues[ iHashResult ]; +mValues[ iHashResult ] = aElement; // Fire event @@ -205,11 +206,9 @@ void NameContainer::insertNoCheck(const OUString& aName, const Any& aElement) throw IllegalArgumentException(); } -sal_Int32 nCount = mNames.getLength(); -mNames.realloc( nCount + 1 ); -mValues.realloc( nCount + 1 ); -mNames.getArray()[ nCount ] = aName; -mValues.getArray()[ nCount ] = aElement; +sal_Int32 nCount = mNames.size(); +mNames.push_back( aName ); +mValues.push_back( aElement ); mHashMap[ aName ] = nCount; mnElementCount++; @@ -257,19 +256,17 @@ void NameContainer::removeByName( const OUString& aName ) } sal_Int32 iHashResult = (*aIt).second; -Any aOldElement = mValues.getConstArray()[ iHashResult ]; +Any aOldElement = mValues[ iHashResult ]; mHashMap.erase( aIt ); -sal_Int32 iLast = mNames.getLength() - 1; +sal_Int32 iLast = mNames.size() - 1; if( iLast != iHashResult ) { -OUString* pNames = mNames.getArray(); -Any* pValues = mValues.getArray(); -pNames[ iHashResult ] = pNames[ iLast ]; -pValues[ iHashResult ] = pValues[ iLast ]; -mHashMap[ pNames[ iHashResult ] ] = iHashResult; +mNames[ iHashResult ] = mNames[ iLast ]; +mValues[ iHashResult ] = mValues[ iLast ]; +mHashMap[ mNames[ iHashResult ] ] = iHashResult; } -mNames.realloc( iLast ); -mValues.realloc( iLast ); +mNames.resize( iLast ); +mValues.resize( iLast ); mnElementCount--; // Fire event ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.0' - sw/source
sw/source/uibase/uiview/view.cxx |1 + 1 file changed, 1 insertion(+) New commits: commit d9959d3763e155b45d7bd2181bb81803566517be Author: Marco CecchettiDate: Mon Feb 8 11:26:29 2016 +0100 sw - m_eLastSearchCommand initialization Change-Id: Iafd72a05a745207dfff7663eeeb7bc697b5b8fd1 diff --git a/sw/source/uibase/uiview/view.cxx b/sw/source/uibase/uiview/view.cxx index 590774a..c0fb104 100644 --- a/sw/source/uibase/uiview/view.cxx +++ b/sw/source/uibase/uiview/view.cxx @@ -716,6 +716,7 @@ SwView::SwView( SfxViewFrame *_pFrame, SfxViewShell* pOldSh ) m_nLastPasteDestination( static_cast(0x) ), m_nLeftBorderDistance( 0 ), m_nRightBorderDistance( 0 ), +m_eLastSearchCommand( static_cast(0x) ), m_bWheelScrollInProgress(false), m_bInMailMerge(false), m_bInDtor(false), ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-bugs] [Bug 97639] New: [META] Beanshell Editor bugs and enhancements
https://bugs.documentfoundation.org/show_bug.cgi?id=97639 Bug ID: 97639 Summary: [META] Beanshell Editor bugs and enhancements Product: LibreOffice Version: Inherited From OOo Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: medium Component: LibreOffice Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: samuel.mehrbr...@cib.de -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97638] New: Beanshell Editor: Add syntax highlighting
https://bugs.documentfoundation.org/show_bug.cgi?id=97638 Bug ID: 97638 Summary: Beanshell Editor: Add syntax highlighting Product: LibreOffice Version: Inherited From OOo Hardware: All OS: All Status: UNCONFIRMED Severity: enhancement Priority: medium Component: LibreOffice Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: samuel.mehrbr...@cib.de Beanshell editor should have syntax highlighting for Java -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97643] Cannot insert a new record within a table or create a relationship (FK/PK) between two fields
https://bugs.documentfoundation.org/show_bug.cgi?id=97643 --- Comment #1 from Jonathan Camilleri--- Created attachment 122438 --> https://bugs.documentfoundation.org/attachment.cgi?id=122438=edit screenshot -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97644] New: Next to complete fail after switching on 'Use OpenGL for all rendering'.
https://bugs.documentfoundation.org/show_bug.cgi?id=97644 Bug ID: 97644 Summary: Next to complete fail after switching on 'Use OpenGL for all rendering'. Product: LibreOffice Version: 5.1.0.3 rc Hardware: All OS: Windows (All) Status: UNCONFIRMED Severity: normal Priority: medium Component: LibreOffice Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: j...@psilosoph.de Created attachment 122439 --> https://bugs.documentfoundation.org/attachment.cgi?id=122439=edit the mentioned file supplied by the user 'Lem3' in the mentioned thread; renamed by 'Lupp' For some issues I regularly keep OpenGL rendering not selected for some time now. Trying to help a user with an issue described by this thread: http://en.libreofficeforum.org/node/10136 I had to switch on OpenGL rendering. This resulted in a mess. Version: 5.1.0.3 (x64) Build ID: 5e3e00a007d9b3b6efb6797a8b8e57b51ab1f737 CPU Threads: 4; OS Version: Windows 6.29; UI Render: default; Locale: de-DE (de_DE) (In addition) UI language: English (Great Britain) Steps to reproduce the problem (uncertain; I did not try a second time.) 1. Have OpenGL switched off. (V5.1.0.3 on Win 8.1 2. Open the attached file I downloded myself from the link in post #5 of the mentioned thread. 3. (At least I did choosing column N: Check the claims of the poster; negative!) 4. Select OpenGL rendering under 'View' since this was the poster's setting. 5. Close the document and close LibO. 6. Doubleclick the downloaded example file. Expected: LibO should start, open, and render the contained Document. Observed: LibO starts (partially?). The Window title is set to the filename. The document is not rendered (no view of it at all). No menu is present. No PickList preview. No lefthand column with controls. 7. Reset the user profile Expected: Problem solved so far. Observed: No remedy! 8. Repair the LibO installation. Some extra steps. Restore your user profile specifics. In my case: Success, fortunately. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97631] New: cell with =24/2 formatted as date causes saved file to violate specification
https://bugs.documentfoundation.org/show_bug.cgi?id=97631 Bug ID: 97631 Summary: cell with =24/2 formatted as date causes saved file to violate specification Product: LibreOffice Version: 5.0.4.2 release Hardware: All OS: Linux (All) Status: UNCONFIRMED Severity: normal Priority: medium Component: Calc Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: matkoni...@gmail.com To reproduce: create a new file put =24/2 into A1 cell format A1 cell as time (Format | Number Format | Time) save as test.ods Time format may be also achieved by putting 23:00 in A2 and copying format from A2 to A1 cell. This cell is saved as "00:00:00" what appears to violate specification - see http://books.evc-cit.info/odbook/ch05.html#table-number-cells-section Problem encountered as it crashed python library processing .ods files - see https://github.com/pyexcel/pyexcel-ods/issues/6 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 83890] HTML export numbering confusion
https://bugs.documentfoundation.org/show_bug.cgi?id=83890 --- Comment #4 from Commit Notification--- Marc Bessières committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=c24aa380eaeb792d6b7125e54eab833d8b65dbc7 tdf#83890 sw html export: fix missing start numbering attribute It will be available in 5.2.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 83890] HTML export numbering confusion
https://bugs.documentfoundation.org/show_bug.cgi?id=83890 Commit Notificationchanged: What|Removed |Added Whiteboard|| target:5.2.0 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97587] Software interpreter for SUM treats empty cells as #VALUE!
https://bugs.documentfoundation.org/show_bug.cgi?id=97587 --- Comment #8 from Commit Notification--- Tor Lillqvist committed a patch related to this issue. It has been pushed to "libreoffice-5-1": http://cgit.freedesktop.org/libreoffice/core/commit/?id=aa064e8209e57ac91f16305d38e657d12a42093f=libreoffice-5-1 tdf#97587: Treat plain NaNs as zero in the software interpreter for SUM It will be available in 5.1.1. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs