GSoC 2016 Introduction
Hello, My name is Mihály Palenik. I'm studying at Eötvös Lóránd Science University faculty of Computer Science MSc at Budapest. I'd like to participate in GSoC this year. I'm interested in "Application Themes". I participated GSoC in 2014 and 2015 and it was successful. These <https://gerrit.libreoffice.org/#/q/owner:%22Mih%25C3%25A1ly+Palenik+%253Cpalenik.mihaly%2540gmail.com%253E%22> are my submitted commits. My irc nickname is freetank. Best regards, Mihály Palenik ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Revive personas
Hello, I'd like to revive personas, but I'm stuck with open theme xml file via Mozilla Add-ons Manager API: http://opengrok.libreoffice.org/xref/core/cui/source/options/personalization.cxx#613 . Here <https://cgit.freedesktop.org/libreoffice/core/commit/?id=a6fc653bbf38de453a540ca2ab69958dafa1d322> added a TODO. When I use - https://addons.mozilla.org/en-US/firefox/api/1.5/search/"; + searchTerm + "/theme/9 instead of - https://*services*.addons.mozilla.org/en-US/firefox/api/1.5/search/"; + searchTerm + "/9/9 I got this: *http response status code was: '403 FORBIDDEN'.* In browser I can reach the addons url. I tried to debug the code and the exception is thrown here <http://opengrok.libreoffice.org/xref/core/ucb/source/ucp/webdav-neon/NeonSession.cxx#875> and handled here <http://opengrok.libreoffice.org/xref/core/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx#242> . Anybody can help anything to continue my work? Best regards, Mihály Palenik ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-commits] core.git: cui/source cui/uiconfig
cui/source/options/optaccessibility.cxx | 23 - cui/source/options/optaccessibility.hxx |5 - cui/source/options/optgdlg.cxx | 94 - cui/source/options/optgdlg.hxx |9 -- cui/source/options/opthtml.cxx | 46 -- cui/source/options/opthtml.hxx |3 cui/source/options/optmemory.cxx|9 -- cui/source/options/optmemory.hxx|2 cui/uiconfig/ui/optaccessibilitypage.ui | 79 ++--- cui/uiconfig/ui/optgeneralpage.ui | 71 +++- cui/uiconfig/ui/opthtmlpage.ui | 83 -- cui/uiconfig/ui/optmemorypage.ui| 99 ++ cui/uiconfig/ui/optviewpage.ui | 141 +--- 13 files changed, 190 insertions(+), 474 deletions(-) New commits: commit 0b0fb87fbac36ef9fbf3dfeac0f1372617f4b3e4 Author: Mihály Palenik Date: Tue Aug 11 00:50:04 2015 +0200 Delete unnecessary global options from Options dialog Here https://wiki.documentfoundation.org/Design/Whiteboards/Options/Global are unnecessary global options. These options are set in Expert Configuration dialog under org.oppenoffice.Office.Common node. Preference name, Property, Location in Options dialog; Help, Tip, General/Help/Tips; Undo, Steps, Memory/Undo/Number of Undo Steps; Font/View, History, View/Font Lists/Show font history; Drawinglayer, TransparentSelection, View/Selection/Transparency; Drawinglayer, TransparentSelectionPercent, View/Selection/Transparency level; Accessibility, IsHelpTipsDisappear, Accessibility/Help tips disappear after ... seconds; Accessibility, HelpTipSeconds, Accessibility/Help tips disappear after ... seconds; Filter/HTML/Export, Browser, Load/Save/HTML Compatibility/Export/Export choice; Change-Id: I5152a40b5029bfbfc3850ff60305ec34b5380fb2 Reviewed-on: https://gerrit.libreoffice.org/17481 Reviewed-by: Samuel Mehrbrodt Tested-by: Samuel Mehrbrodt diff --git a/cui/source/options/optaccessibility.cxx b/cui/source/options/optaccessibility.cxx index d781ed26..4e12f54 100644 --- a/cui/source/options/optaccessibility.cxx +++ b/cui/source/options/optaccessibility.cxx @@ -41,15 +41,11 @@ SvxAccessibilityOptionsTabPage::SvxAccessibilityOptionsTabPage(vcl::Window* pPar get(m_pTextSelectionInReadonly, "textselinreadonly"); get(m_pAnimatedGraphics, "animatedgraphics"); get(m_pAnimatedTexts, "animatedtext"); -get(m_pTipHelpCB, "tiphelptimeout"); -get(m_pTipHelpNF, "tiphelptimeoutnf"); get(m_pAutoDetectHC, "autodetecthc"); get(m_pAutomaticFontColor, "autofontcolor"); get(m_pPagePreviews, "systempagepreviewcolor"); -m_pTipHelpCB->SetClickHdl(LINK(this, SvxAccessibilityOptionsTabPage, TipHelpHdl)); - #ifdef UNX // UNIX: read the gconf2 setting instead to use the checkbox m_pAccessibilityTool->Hide(); @@ -69,8 +65,6 @@ void SvxAccessibilityOptionsTabPage::dispose() m_pTextSelectionInReadonly.clear(); m_pAnimatedGraphics.clear(); m_pAnimatedTexts.clear(); -m_pTipHelpCB.clear(); -m_pTipHelpNF.clear(); m_pAutoDetectHC.clear(); m_pAutomaticFontColor.clear(); m_pPagePreviews.clear(); @@ -87,8 +81,6 @@ bool SvxAccessibilityOptionsTabPage::FillItemSet( SfxItemSet* ) //aConfig.Set... from controls m_pImpl->m_aConfig.SetIsForPagePreviews( m_pPagePreviews->IsChecked() ); -m_pImpl->m_aConfig.SetIsHelpTipsDisappear( m_pTipHelpCB->IsChecked() ); -m_pImpl->m_aConfig.SetHelpTipSeconds( (short)m_pTipHelpNF->GetValue() ); m_pImpl->m_aConfig.SetIsAllowAnimatedGraphics( m_pAnimatedGraphics->IsChecked() ); m_pImpl->m_aConfig.SetIsAllowAnimatedText( m_pAnimatedTexts->IsChecked() ); m_pImpl->m_aConfig.SetIsAutomaticFontColor( m_pAutomaticFontColor->IsChecked() ); @@ -112,8 +104,6 @@ void SvxAccessibilityOptionsTabPage::Reset( const SfxItemSet* ) //set controls from aConfig.Get... m_pPagePreviews->Check( m_pImpl->m_aConfig.GetIsForPagePreviews() ); -EnableTipHelp( m_pImpl->m_aConfig.GetIsHelpTipsDisappear() ); -m_pTipHelpNF->SetValue(m_pImpl->m_aConfig.GetHelpTipSeconds() ); m_pAnimatedGraphics->Check( m_pImpl->m_aConfig.GetIsAllowAnimatedGraphics() ); m_pAnimatedTexts->Check( m_pImpl->m_aConfig.GetIsAllowAnimatedText() ); m_pAutomaticFontColor->Check( m_pImpl->m_aConfig.GetIsAutomaticFontColor() ); @@ -126,17 +116,4 @@ void SvxAccessibilityOptionsTabPage::Reset( const SfxItemSet* ) m_pAccessibilityTool->Check(aMiscSettings.GetEnableATToolSupport()); } -IMPL_LINK(SvxAccessibilityOptionsTabPage, TipHelpHdl, CheckBox*, pBox) -{ -bool bChecked = pBox->IsChecked(); -m_pTipHelpNF->Enable(bChecked); -return 0; -} - -void SvxAccessibilityOptionsTabPage::EnableTipHelp(bool bCheck) -{ -m_pTipHelpCB->Check(bC
[GSoC] Rework the Expert Configuration dialog Week 11
Hello, Last week I deleted unnecessary options from options dialog. Under this link (https://wiki.documentfoundation.org/Design/Whiteboards/Options) they are listed. This week I will try write help page to this dialog. Best regards, Mihály Palenik ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-commits] core.git: sw/source sw/uiconfig
sw/source/ui/config/optpage.cxx | 71 -- sw/source/uibase/config/cfgitems.cxx | 22 --- sw/source/uibase/inc/cfgitems.hxx |4 - sw/source/uibase/inc/optpage.hxx |6 - sw/uiconfig/swriter/ui/optfonttabpage.ui | 55 +++-- sw/uiconfig/swriter/ui/viewoptionspage.ui | 93 ++ 6 files changed, 57 insertions(+), 194 deletions(-) New commits: commit 745c7bce5fe8b218f7d300667a5409bc7ef58c34 Author: Mihály Palenik Date: Thu Aug 6 15:16:41 2015 +0200 Delete unnecessary writer options from Options dialog Here https://wiki.documentfoundation.org/Design/Whiteboards/Options/Writer are unnecessary writer options. These options are set in Expert Configuration dialog under org.oppenoffice.Office.Writer node. Some of them have void type therefore they aren't deleted. Preference name, Property, Location in Options dialog; org.openoffice.Office.Writer/Layout/Window, HorizontalScroll, View/View/Horizontal Scrollbar; org.openoffice.Office.Writer/Layout/Window, VerticalScroll, View/View/Vertical Scrollbar; org.openoffice.Office.Writer/Layout/Window, HorizontalRuler, View/View/Horizontal Ruler; org.openoffice.Office.Writer/DefaultFont, Document, Basic Fonts (Western)/Current documentum only; org.openoffice.Office.Writer/DefaultFontCJK, Document, Basic Fonts (Asian)/Current documentum only; org.openoffice.Office.Writer/DefaultFontCTL, Document, Basic Fonts (CTL)/Current documentum only; Change-Id: Ia98fa456ec6039bff3ad13ca7668e73320d63920 Reviewed-on: https://gerrit.libreoffice.org/17542 Reviewed-by: Samuel Mehrbrodt Tested-by: Samuel Mehrbrodt diff --git a/sw/source/ui/config/optpage.cxx b/sw/source/ui/config/optpage.cxx index 2ae97be..671615d 100644 --- a/sw/source/ui/config/optpage.cxx +++ b/sw/source/ui/config/optpage.cxx @@ -90,10 +90,6 @@ SwContentOptPage::SwContentOptPage( vcl::Window* pParent, { get (m_pCrossCB, "helplines"); -get (m_pHScrollBox, "hscrollbar"); -get (m_pVScrollBox, "vscrollbar"); -get (m_pAnyRulerCB, "ruler"); -get (m_pHRulerCBox, "hruler"); get (m_pHMetric, "hrulercombobox"); get (m_pVRulerCBox, "vruler"); get (m_pVRulerRightCBox, "vrulerright"); @@ -126,7 +122,6 @@ SwContentOptPage::SwContentOptPage( vcl::Window* pParent, if(!aCJKOptions.IsVerticalTextEnabled() ) m_pVRulerRightCBox->Hide(); m_pVRulerCBox->SetClickHdl(LINK(this, SwContentOptPage, VertRulerHdl )); -m_pAnyRulerCB->SetClickHdl(LINK(this, SwContentOptPage, AnyRulerHdl)); SvxStringArray aMetricArr( SW_RES( STR_ARR_METRIC ) ); for ( size_t i = 0; i < aMetricArr.Count(); ++i ) @@ -174,10 +169,6 @@ SwContentOptPage::~SwContentOptPage() void SwContentOptPage::dispose() { m_pCrossCB.clear(); -m_pHScrollBox.clear(); -m_pVScrollBox.clear(); -m_pAnyRulerCB.clear(); -m_pHRulerCBox.clear(); m_pHMetric.clear(); m_pVRulerCBox.clear(); m_pVRulerRightCBox.clear(); @@ -234,10 +225,6 @@ void SwContentOptPage::Reset(const SfxItemSet* rSet) m_pFieldNameCB->Check (pElemAttr->bFieldName); m_pPostItCB->Check (pElemAttr->bNotes); m_pCrossCB->Check (pElemAttr->bCrosshair); -m_pHScrollBox->Check (pElemAttr->bHorzScrollbar); -m_pVScrollBox->Check (pElemAttr->bVertScrollbar); -m_pAnyRulerCB->Check (pElemAttr->bAnyRuler); -m_pHRulerCBox->Check (pElemAttr->bHorzRuler); m_pVRulerCBox->Check (pElemAttr->bVertRuler); m_pVRulerRightCBox->Check (pElemAttr->bVertRulerRight); m_pSmoothCBox->Check (pElemAttr->bSmoothScroll); @@ -246,7 +233,6 @@ void SwContentOptPage::Reset(const SfxItemSet* rSet) lcl_SelectMetricLB(m_pMetricLB, SID_ATTR_METRIC, *rSet); lcl_SelectMetricLB(m_pHMetric, FN_HSCROLL_METRIC, *rSet); lcl_SelectMetricLB(m_pVMetric, FN_VSCROLL_METRIC, *rSet); -AnyRulerHdl(m_pAnyRulerCB); } bool SwContentOptPage::FillItemSet(SfxItemSet* rSet) @@ -263,10 +249,6 @@ bool SwContentOptPage::FillItemSet(SfxItemSet* rSet) aElem.bFieldName= m_pFieldNameCB->IsChecked(); aElem.bNotes= m_pPostItCB->IsChecked(); aElem.bCrosshair= m_pCrossCB->IsChecked(); -aElem.bHorzScrollbar= m_pHScrollBox->IsChecked(); -aElem.bVertScrollbar= m_pVScrollBox->IsChecked(); -aElem.bAnyRuler = m_pAnyRulerCB->IsChecked(); -aElem.bHorzRuler= m_pHRulerCBox->IsChecked(); aElem.bVertRuler= m_pVRulerCBox->IsChecked(); aElem.bVertRulerRight = m_pVRulerRightCBox->IsChecked(); aElem.bSmoothScroll = m_pSmoothCBox->IsChecked(); @@ -310,17 +292,6 @@ IMPL_LINK(SwContentOptPage, VertRulerHdl, CheckBox*, pBox) return 0; } -IMPL_LINK( SwContentOptPage, AnyRulerHdl, CheckBox*, pBox) -{ -bool bChecked = pBox->IsChecked(); -
About .xhp files
Hello, I'd like to write help page to Expert Configuration dialog but I have some question about xhp files. First of all If I create a new xhp file where should I save it, and what is its name? Is there any reference about xhp tags? And how can I connect with appropriate dialog? Thank you in advance for your help. Best regards, Mihaly Palenik ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[GSoC] Rework the Expert Configuration dialog Week 9
Hello, Last two weeks I was on holiday. In the 9th week I fixed the alternating row colors in SvTreeListBox class. Here is the commit: http://cgit.freedesktop.org/libreoffice/core/commit/?id=af162f1c37e8c909386e72e5d8b4ff6bccfd529b Best regards, Mihály Palenik ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-commits] core.git: cui/source include/svtools svtools/source
cui/source/options/optaboutconfig.cxx |3 -- include/svtools/treelistbox.hxx |1 svtools/source/contnr/treelistbox.cxx | 51 ++ 3 files changed, 29 insertions(+), 26 deletions(-) New commits: commit af162f1c37e8c909386e72e5d8b4ff6bccfd529b Author: Mihály Palenik Date: Thu Jul 23 09:50:09 2015 +0200 Fix alternating rows in SvTreeListBox Alternating rows in SvTreeListBox is not work correctly when insert, expand or collapse. Now is work properly and set in Expert Configuration dialog. Change-Id: I58b53ae59fa7f8d9de769342a0e1bad55de18f20 Reviewed-on: https://gerrit.libreoffice.org/17310 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx index 811976c..165e9e9 100644 --- a/cui/source/options/optaboutconfig.cxx +++ b/cui/source/options/optaboutconfig.cxx @@ -179,6 +179,7 @@ CuiAboutConfigTabPage::CuiAboutConfigTabPage( vcl::Window* pParent/*, const SfxI util::SearchFlags::REG_NOT_ENDOFLINE); m_pPrefBox->SetTabs(aTabs, MAP_PIXEL); +m_pPrefBox->SetAlternatingRowColors( true ); } CuiAboutConfigTabPage::~CuiAboutConfigTabPage() @@ -479,7 +480,6 @@ void CuiAboutConfigTabPage::FillItems(const Reference< XNameAccess >& xNameAcces InsertEntry(sPath, sPath.copy(index+1), seqItems[i], sType, sValue, pParentEntry, !bLoadAll); } } -m_pPrefBox->SetAlternatingRowColors( true ); } Reference< XNameAccess > CuiAboutConfigTabPage::getConfigAccess( const OUString& sNodePath, bool bUpdate ) @@ -863,7 +863,6 @@ IMPL_LINK_NOARG( CuiAboutConfigTabPage, SearchHdl_Impl) m_pPrefBox->SortByCol(sortedCol, sortMode == SortAscending); m_pPrefBox->SetUpdateMode( true ); -m_pPrefBox->SetAlternatingRowColors( true ); return 0; } diff --git a/include/svtools/treelistbox.hxx b/include/svtools/treelistbox.hxx index 1c89cec..9ec23e4 100644 --- a/include/svtools/treelistbox.hxx +++ b/include/svtools/treelistbox.hxx @@ -267,6 +267,7 @@ class SVT_DLLPUBLIC SvTreeListBox long mnCheckboxItemWidth; bool mbContextBmpExpanded; bool mbAlternatingRowColors; +bool mbUpdateAlternatingRows; SvTreeListEntry*pHdlEntry; SvLBoxItem* pHdlItem; diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx index c7207d4..b33c31c 100644 --- a/svtools/source/contnr/treelistbox.cxx +++ b/svtools/source/contnr/treelistbox.cxx @@ -381,6 +381,7 @@ SvTreeListBox::SvTreeListBox(vcl::Window* pParent, WinBits nWinStyle) : mpImpl(new SvTreeListBoxImpl(*this)), mbContextBmpExpanded(false), mbAlternatingRowColors(false), +mbUpdateAlternatingRows(false), eSelMode(NO_SELECTION), nMinWidthInChars(0) { @@ -411,6 +412,7 @@ SvTreeListBox::SvTreeListBox(vcl::Window* pParent, const ResId& rResId) : mpImpl(new SvTreeListBoxImpl(*this)), mbContextBmpExpanded(false), mbAlternatingRowColors(false), +mbUpdateAlternatingRows(false), eSelMode(NO_SELECTION), nMinWidthInChars(0) { @@ -471,16 +473,7 @@ sal_uLong SvTreeListBox::Insert( SvTreeListEntry* pEntry, SvTreeListEntry* pPare { sal_uLong nInsPos = pModel->Insert( pEntry, pParent, nPos ); pEntry->SetBackColor( GetBackground().GetColor() ); -if(mbAlternatingRowColors) -{ -if(nPos == TREELIST_APPEND) -{ -if(Prev(pEntry) && Prev(pEntry)->GetBackColor() == GetBackground().GetColor()) -pEntry->SetBackColor( GetSettings().GetStyleSettings().GetAlternatingRowColor() ); -} -else -SetAlternatingRowColors( true ); -} +SetAlternatingRowColors( mbAlternatingRowColors ); return nInsPos; } @@ -488,16 +481,7 @@ sal_uLong SvTreeListBox::Insert( SvTreeListEntry* pEntry,sal_uLong nRootPos ) { sal_uLong nInsPos = pModel->Insert( pEntry, nRootPos ); pEntry->SetBackColor( GetBackground().GetColor() ); -if(mbAlternatingRowColors) -{ -if(nRootPos == TREELIST_APPEND) -{ -if(Prev(pEntry) && Prev(pEntry)->GetBackColor() == GetBackground().GetColor()) -pEntry->SetBackColor( GetSettings().GetStyleSettings().GetAlternatingRowColor() ); -} -else -SetAlternatingRowColors( true ); -} +SetAlternatingRowColors( mbAlternatingRowColors ); return nInsPos; } @@ -2372,6 +2356,7 @@ bool SvTreeListBox::Expand( SvTreeListEntry* pParent ) pImp->EntryExpanded( pParent ); pHdlEntry = pParent; ExpandedHdl(); +SetAlternatingRowColors( mbAlternatingRowColors ); } nFlags = pParent->GetFlags(); nFlags &= ~SvTLEntryFlags::NO_NODEBMP; @@ -2409,6 +2394,7 @@ bool SvTreeListBox::Collapse( SvTreeListEntry* pParent ) pImp->EntryCollapsed( pParent );
[Libreoffice-commits] core.git: cui/source
cui/source/options/optaboutconfig.cxx | 374 +- cui/source/options/optaboutconfig.hxx |6 2 files changed, 236 insertions(+), 144 deletions(-) New commits: commit 4d0e9102d890ce0085986ca3946aeb8d99769b4a Author: Mihály Palenik Date: Tue Jul 7 00:56:17 2015 +0200 tdf#92510 Fix search in Expert Configuration dialog When dialog find an appropriate entry, it will be insert and expanded if it is a parent node. Change-Id: Idab2823d1657acd32942177d8f674dbab3c0c8e7 Reviewed-on: https://gerrit.libreoffice.org/16806 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx index 204f1e6..9ed75c2 100644 --- a/cui/source/options/optaboutconfig.cxx +++ b/cui/source/options/optaboutconfig.cxx @@ -59,6 +59,7 @@ struct UserData { bool bIsPropertyPath; OUString sPropertyPath; +int aLineage; Reference aXNameAccess; explicit UserData( OUString const & rPropertyPath ) @@ -66,8 +67,9 @@ struct UserData , sPropertyPath(rPropertyPath) {} -explicit UserData( Reference const & rXNameAccess ) +explicit UserData( Reference const & rXNameAccess, int rIndex = 0 ) : bIsPropertyPath( false ) +, aLineage(rIndex) , aXNameAccess( rXNameAccess ) {} }; @@ -195,7 +197,8 @@ void CuiAboutConfigTabPage::dispose() } void CuiAboutConfigTabPage::InsertEntry(const OUString& rPropertyPath, const OUString& rProp, const OUString& rStatus, -const OUString& rType, const OUString& rValue, SvTreeListEntry *pParentEntry) +const OUString& rType, const OUString& rValue, SvTreeListEntry *pParentEntry, +bool bInsertToPrefBox) { SvTreeListEntry* pEntry = new SvTreeListEntry; pEntry->AddItem( new SvLBoxContextBmp( pEntry, 0, Image(), Image(), false)); //It is needed, otherwise causes crash @@ -205,11 +208,10 @@ void CuiAboutConfigTabPage::InsertEntry(const OUString& rPropertyPath, const OUS pEntry->AddItem( new SvLBoxString( pEntry, 0, rValue)); pEntry->SetUserData( new UserData(rPropertyPath) ); -m_pPrefBox->Insert( pEntry, pParentEntry ); - -SvTreeListEntry* pEntryClone = new SvTreeListEntry; -pEntryClone->Clone( pEntry ); -m_prefBoxEntries.push_back( pEntryClone ); +if(bInsertToPrefBox) +m_pPrefBox->Insert( pEntry, pParentEntry ); +else +m_prefBoxEntries.push_back( pEntry ); } void CuiAboutConfigTabPage::Reset() @@ -218,9 +220,14 @@ void CuiAboutConfigTabPage::Reset() m_vectorOfModified.clear(); m_pPrefBox->GetModel()->SetSortMode( SortNone ); +m_prefBoxEntries.clear(); +m_modifiedPrefBoxEntries.clear(); m_pPrefBox->SetUpdateMode(false); Reference< XNameAccess > xConfigAccess = getConfigAccess( "/", false ); +//Load all XNameAcces to m_prefBoxEntries +FillItems( xConfigAccess, nullptr, 0, true ); +//Load xConfigAccess' children to m_prefBox FillItems( xConfigAccess ); m_pPrefBox->SetUpdateMode(true); } @@ -245,7 +252,8 @@ bool CuiAboutConfigTabPage::FillItemSet() return bModified; } -void CuiAboutConfigTabPage::FillItems(const Reference< XNameAccess >& xNameAccess, SvTreeListEntry *pParentEntry) +void CuiAboutConfigTabPage::FillItems(const Reference< XNameAccess >& xNameAccess, SvTreeListEntry *pParentEntry, + int lineage, bool bLoadAll) { OUString sPath = Reference< XHierarchicalName >( xNameAccess, uno::UNO_QUERY_THROW )->getHierarchicalName(); @@ -269,89 +277,87 @@ void CuiAboutConfigTabPage::FillItems(const Reference< XNameAccess >& xNameAcces if (bNotLeaf) { -// not leaf node -SvTreeListEntry* pEntry = new SvTreeListEntry; -pEntry->AddItem( new SvLBoxContextBmp( pEntry, 0, SvTreeListBox::GetDefaultExpandedNodeImage(), - SvTreeListBox::GetDefaultCollapsedNodeImage(), false)); -pEntry->AddItem( new SvLBoxString( pEntry, 0, seqItems[i])); -//It is needed, without this the selection line will be truncated. -pEntry->AddItem( new SvLBoxString( pEntry, 0, "")); -pEntry->AddItem( new SvLBoxString( pEntry, 0, "")); -pEntry->AddItem( new SvLBoxString( pEntry, 0, "")); - -pEntry->SetUserData( new UserData(xNextNameAccess) ); -pEntry->EnableChildrenOnDemand(); -m_pPrefBox->Insert( pEntry, pParentEntry ); +if(bLoadAll) +FillItems(xNextNameAccess, nullptr, lineage + 1, true); +else +{ +// not leaf node +SvTreeListEntry* pEntry = new SvTreeListEntry; +pEntry->AddItem( new SvLBoxContextBmp( pEntry, 0, SvTre
[Libreoffice-commits] core.git: cui/source
cui/source/options/optaboutconfig.cxx | 35 ++ cui/source/options/optaboutconfig.hxx |1 2 files changed, 28 insertions(+), 8 deletions(-) New commits: commit ac34ba072756efd92febdb1a9d59b4d789424a25 Author: Mihály Palenik Date: Tue Jun 30 23:13:53 2015 +0200 Use expanding handler in Expert Configuration dialog Expert Configuration dialog use expanding handler instead of double click handler when expanding tree node. Change-Id: Ia35c289db46796ca61ef8898e669af6c5a0bd24d Reviewed-on: https://gerrit.libreoffice.org/16674 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx index 02acd70..204f1e6 100644 --- a/cui/source/options/optaboutconfig.cxx +++ b/cui/source/options/optaboutconfig.cxx @@ -153,6 +153,7 @@ CuiAboutConfigTabPage::CuiAboutConfigTabPage( vcl::Window* pParent/*, const SfxI m_pEditBtn->SetClickHdl( LINK( this, CuiAboutConfigTabPage, StandardHdl_Impl ) ); m_pResetBtn->SetClickHdl( LINK( this, CuiAboutConfigTabPage, ResetBtnHdl_Impl ) ); m_pPrefBox->SetDoubleClickHdl( LINK(this, CuiAboutConfigTabPage, StandardHdl_Impl) ); +m_pPrefBox->SetExpandingHdl( LINK(this, CuiAboutConfigTabPage, ExpandingHdl_Impl) ); m_pSearchBtn->SetClickHdl( LINK(this, CuiAboutConfigTabPage, SearchHdl_Impl) ); m_pPrefBox->InsertHeaderEntry(get("preference")->GetText()); @@ -279,6 +280,7 @@ void CuiAboutConfigTabPage::FillItems(const Reference< XNameAccess >& xNameAcces pEntry->AddItem( new SvLBoxString( pEntry, 0, "")); pEntry->SetUserData( new UserData(xNextNameAccess) ); +pEntry->EnableChildrenOnDemand(); m_pPrefBox->Insert( pEntry, pParentEntry ); } else @@ -547,16 +549,12 @@ IMPL_LINK_NOARG( CuiAboutConfigTabPage, ResetBtnHdl_Impl ) IMPL_LINK_NOARG( CuiAboutConfigTabPage, StandardHdl_Impl ) { -SvTreeListEntry* pEntry = m_pPrefBox->FirstSelected(); +SvTreeListEntry* pEntry = m_pPrefBox->GetHdlEntry(); +if(pEntry == nullptr) +return 0; UserData *pUserData = static_cast(pEntry->GetUserData()); -if(!pUserData->bIsPropertyPath) -{ -//if selection is not node -if(!pEntry->HasChildren()) -FillItems( pUserData->aXNameAccess, pEntry ); -} -else +if(pUserData->bIsPropertyPath) { //if selection is a node OUString sPropertyName = SvTabListBox::GetEntryText( pEntry, 1 ); @@ -814,4 +812,25 @@ IMPL_LINK_NOARG( CuiAboutConfigTabPage, SearchHdl_Impl) return 0; } +IMPL_LINK_NOARG( CuiAboutConfigTabPage, ExpandingHdl_Impl ) +{ +SvTreeListEntry* pEntry = m_pPrefBox->GetHdlEntry(); + +if(pEntry != nullptr && pEntry->HasChildrenOnDemand()) +{ +pEntry->EnableChildrenOnDemand(false); +SvTreeListEntry *pFirstChild = m_pPrefBox->FirstChild(pEntry); +if(pFirstChild) +m_pPrefBox->RemoveEntry(pFirstChild); + +if(pEntry->GetUserData() != nullptr) +{ +UserData *pUserData = static_cast(pEntry->GetUserData()); +FillItems( pUserData->aXNameAccess, pEntry ); +} +} + +return true; +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/source/options/optaboutconfig.hxx b/cui/source/options/optaboutconfig.hxx index 48f97e3..e085f5a 100644 --- a/cui/source/options/optaboutconfig.hxx +++ b/cui/source/options/optaboutconfig.hxx @@ -62,6 +62,7 @@ private: DECL_LINK( StandardHdl_Impl, void * ); DECL_LINK( ResetBtnHdl_Impl, void * ); DECL_LINK( SearchHdl_Impl, void* ); +DECL_LINK( ExpandingHdl_Impl, void* ); public: explicit CuiAboutConfigTabPage(vcl::Window* pParent); ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[GSoC] Rework the Expert Configuration dialog Week 5-6
Hello, In the 5th week I had last exam. But after the exam and in 6th week I continued my work. First I implemented expanding handler instead of double click handler and fixed the search function. Here are my commits: https://gerrit.libreoffice.org/#/c/16674/ https://gerrit.libreoffice.org/#/c/16806/ Best regards, Mihály Palenik ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[GSoC] Rework the Expert Configuration dialog Week 4
Hello! Last week I reviewed my last commit, and now the dialog load all property. I followed the old pattern. Here is the commit: http://cgit.freedesktop.org/libreoffice/core/commit/?id=eb0c9b43e7f09054a864eb44c24c43b27c0f21f5 Unfortunately the search function is not working now, and the screen reader can't read dynamically inserted entries. Best regards, Mihály Palenik ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-commits] core.git: cui/source
cui/source/options/optaboutconfig.cxx | 574 +- cui/source/options/optaboutconfig.hxx |2 2 files changed, 299 insertions(+), 277 deletions(-) New commits: commit eb0c9b43e7f09054a864eb44c24c43b27c0f21f5 Author: Mihály Palenik Date: Mon Jun 22 13:38:04 2015 +0200 Review Expert Configuration dialog's tree view. In Expert configuration dialog's tree view didn't work correctly. Now I followed the old pattern. Additionaly the entries' name are shorter. Change-Id: Ib7ecd065f02c8f3bbef94daf7f32cb68ab676ee8 Reviewed-on: https://gerrit.libreoffice.org/16411 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx index f2de149..cd1cd4b 100644 --- a/cui/source/options/optaboutconfig.cxx +++ b/cui/source/options/optaboutconfig.cxx @@ -55,6 +55,23 @@ struct Prop_Impl {} }; +struct UserData +{ +bool bIsPropertyPath; +OUString sPropertyPath; +Reference aXNameAccess; + +UserData( OUString rPropertyPath ) +: bIsPropertyPath( true ) +, sPropertyPath(rPropertyPath) +{} + +UserData( Reference rXNameAccess ) +: bIsPropertyPath( false ) +, aXNameAccess( rXNameAccess ) +{} +}; + VCL_BUILDER_FACTORY_ARGS(CuiCustomMultilineEdit,WB_LEFT|WB_VCENTER|WB_BORDER|WB_3DLOOK) void CuiCustomMultilineEdit::KeyInput( const KeyEvent& rKeyEvent ) @@ -176,7 +193,7 @@ void CuiAboutConfigTabPage::dispose() ModelessDialog::dispose(); } -void CuiAboutConfigTabPage::InsertEntry(const OUString& rProp, const OUString& rStatus, +void CuiAboutConfigTabPage::InsertEntry(const OUString& rPropertyPath, const OUString& rProp, const OUString& rStatus, const OUString& rType, const OUString& rValue, SvTreeListEntry *pParentEntry) { SvTreeListEntry* pEntry = new SvTreeListEntry; @@ -185,6 +202,7 @@ void CuiAboutConfigTabPage::InsertEntry(const OUString& rProp, const OUString& r pEntry->AddItem( new SvLBoxString( pEntry, 0, rStatus)); pEntry->AddItem( new SvLBoxString( pEntry, 0, rType)); pEntry->AddItem( new SvLBoxString( pEntry, 0, rValue)); +pEntry->SetUserData( new UserData(rPropertyPath) ); m_pPrefBox->Insert( pEntry, pParentEntry ); @@ -228,208 +246,208 @@ bool CuiAboutConfigTabPage::FillItemSet() void CuiAboutConfigTabPage::FillItems(const Reference< XNameAccess >& xNameAccess, SvTreeListEntry *pParentEntry) { +OUString sPath = Reference< XHierarchicalName >( +xNameAccess, uno::UNO_QUERY_THROW )->getHierarchicalName(); uno::Sequence< OUString > seqItems = xNameAccess->getElementNames(); for( sal_Int32 i = 0; i < seqItems.getLength(); ++i ) { Any aNode = xNameAccess->getByName( seqItems[i] ); -Reference< XNameAccess > xChildNameAccess; +bool bNotLeaf = false; + +Reference< XNameAccess > xNextNameAccess; try { -xChildNameAccess = Reference< XNameAccess >(aNode, uno::UNO_QUERY); -OUString sPath = Reference< XHierarchicalName >( -xChildNameAccess, uno::UNO_QUERY_THROW )->getHierarchicalName(); -uno::Sequence< OUString > seqChildItems = xChildNameAccess->getElementNames(); +xNextNameAccess = Reference< XNameAccess >(aNode, uno::UNO_QUERY); +bNotLeaf = xNextNameAccess.is(); +} +catch (const RuntimeException& e) +{ +SAL_WARN( "cui.options", "CuiAboutConfigTabPage: exception " << e.Message); +} -bool bIsNotLeaf = false; +if (bNotLeaf) +{ +// not leaf node +SvTreeListEntry* pEntry = new SvTreeListEntry; +pEntry->AddItem( new SvLBoxContextBmp( pEntry, 0, SvTreeListBox::GetDefaultExpandedNodeImage(), + SvTreeListBox::GetDefaultCollapsedNodeImage(), false)); +pEntry->AddItem( new SvLBoxString( pEntry, 0, seqItems[i])); +//It is needed, without this the selection line will be truncated. +pEntry->AddItem( new SvLBoxString( pEntry, 0, "")); +pEntry->AddItem( new SvLBoxString( pEntry, 0, "")); +pEntry->AddItem( new SvLBoxString( pEntry, 0, "")); + +pEntry->SetUserData( new UserData(xNextNameAccess) ); +m_pPrefBox->Insert( pEntry, pParentEntry ); +} +else +{ +// leaf node +OUString sType = aNode.getValueTypeName(); -for( sal_Int32 l = 0; l < seqChildItems.getLength(); ++l ) +OUString sValue; +switch( aNode.getValueType().getTypeClass() ) { -aNode = xChildNameAccess->getByName( seqChildItems[l] ); - -Reference< XNameAccess > xGrandChildNameAccess = Reference< XNameAccess >(aNode, uno::UNO_QUERY); -
[GSoC] Rework the Expert Configuration dialog Week 3
Hello! Last week I finished tree view in this dialog. It works fine under linux with accessibility. Here is the commit : http://cgit.freedesktop.org/libreoffice/core/commit/?id=db35b73037483cd22cd7d4ac93fe40f23fbe3967 Certainly I will review whether all entries are appeared correctly. Best regards, Mihály Palenik ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-commits] core.git: cui/source
cui/source/options/optaboutconfig.cxx | 652 +- cui/source/options/optaboutconfig.hxx |6 2 files changed, 345 insertions(+), 313 deletions(-) New commits: commit db35b73037483cd22cd7d4ac93fe40f23fbe3967 Author: Mihály Palenik Date: Tue Jun 16 11:51:10 2015 +0200 Change table to tree view in Expert Configuration dialog. Expert Configuration dialog was too slow when accessibility was used. Therefore the table was changed to tree view. In tree view the children of entries is loaded dynamically. Change-Id: I267833e46005058fdfedb6f012afe2f9b390636b Reviewed-on: https://gerrit.libreoffice.org/16307 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx index ea0e707..121060d 100644 --- a/cui/source/options/optaboutconfig.cxx +++ b/cui/source/options/optaboutconfig.cxx @@ -158,7 +158,6 @@ CuiAboutConfigTabPage::CuiAboutConfigTabPage( vcl::Window* pParent/*, const SfxI util::SearchFlags::REG_NOT_ENDOFLINE); m_pPrefBox->SetTabs(aTabs, MAP_PIXEL); -m_pPrefBox->SetAlternatingRowColors( true ); } CuiAboutConfigTabPage::~CuiAboutConfigTabPage() @@ -177,17 +176,17 @@ void CuiAboutConfigTabPage::dispose() ModelessDialog::dispose(); } -void CuiAboutConfigTabPage::InsertEntry(const OUString& rProp, const OUString& rStatus, const OUString& rType, const OUString& rValue) +void CuiAboutConfigTabPage::InsertEntry(const OUString& rProp, const OUString& rStatus, +const OUString& rType, const OUString& rValue, SvTreeListEntry *pParentEntry) { SvTreeListEntry* pEntry = new SvTreeListEntry; - pEntry->AddItem( new SvLBoxContextBmp( pEntry, 0, Image(), Image(), false)); //It is needed, otherwise causes crash pEntry->AddItem( new SvLBoxString( pEntry, 0, rProp)); pEntry->AddItem( new SvLBoxString( pEntry, 0, rStatus)); pEntry->AddItem( new SvLBoxString( pEntry, 0, rType)); pEntry->AddItem( new SvLBoxString( pEntry, 0, rValue)); -m_pPrefBox->Insert( pEntry ); +m_pPrefBox->Insert( pEntry, pParentEntry ); SvTreeListEntry* pEntryClone = new SvTreeListEntry; pEntryClone->Clone( pEntry ); @@ -227,190 +226,211 @@ bool CuiAboutConfigTabPage::FillItemSet() return bModified; } -void CuiAboutConfigTabPage::FillItems(const Reference< XNameAccess >& xNameAccess) +void CuiAboutConfigTabPage::FillItems(const Reference< XNameAccess >& xNameAccess, SvTreeListEntry *pParentEntry) { -OUString sPath = Reference< XHierarchicalName >( -xNameAccess, uno::UNO_QUERY_THROW )->getHierarchicalName(); uno::Sequence< OUString > seqItems = xNameAccess->getElementNames(); for( sal_Int32 i = 0; i < seqItems.getLength(); ++i ) { Any aNode = xNameAccess->getByName( seqItems[i] ); -bool bNotLeaf = false; - -Reference< XNameAccess > xNextNameAccess; +Reference< XNameAccess > xChildNameAccess; try { -xNextNameAccess = Reference< XNameAccess >(aNode, uno::UNO_QUERY); -bNotLeaf = xNextNameAccess.is(); -} -catch (const RuntimeException& e) -{ -SAL_WARN( "cui.options", "CuiAboutConfigTabPage: exception " << e.Message); -} +xChildNameAccess = Reference< XNameAccess >(aNode, uno::UNO_QUERY); +OUString sPath = Reference< XHierarchicalName >( +xChildNameAccess, uno::UNO_QUERY_THROW )->getHierarchicalName(); +uno::Sequence< OUString > seqChildItems = xChildNameAccess->getElementNames(); -if (bNotLeaf) -{ -// not leaf node -FillItems( xNextNameAccess ); -} -else -{ -// leaf node -OUString sType = aNode.getValueTypeName(); +bool bIsNotLeaf = false; -OUString sValue; -switch( aNode.getValueType().getTypeClass() ) +for( sal_Int32 l = 0; l < seqChildItems.getLength(); ++l ) { -case ::com::sun::star::uno::TypeClass_VOID: -break; +aNode = xChildNameAccess->getByName( seqChildItems[l] ); -case ::com::sun::star::uno::TypeClass_BOOLEAN: -sValue = OUString::boolean( aNode.get() ); -break; +Reference< XNameAccess > xGrandChildNameAccess = Reference< XNameAccess >(aNode, uno::UNO_QUERY); +if(xGrandChildNameAccess.is()) +{ +// not leaf node +if(bIsNotLeaf) +continue; +SvTreeListEntry* pEntry = new SvTreeListEntry; +pEntry->AddItem( new SvLBoxContextBmp( pEntry, 0, m_pPrefBox->GetDefaultExpandedNodeImage(), +
[GSoC] Rework the Expert Configuration dialog Week 1-2
Hello! I'm reworking the Expert Configuration dialog currently. When accessibility is used then the dialog freeze. Actually I think the problem appear when the screen reader is turned on. Because dialog's table has a lot of entry I'll try to make tree view instead of it. Now I began this conversion, but not finished yet. Unfortunately I had some exam last week that's why I didn't have much time for GSoC. Best regards, Mihály ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[GSoC] Introduction - Mihály Palenik
Hello, My name is Mihály. I am studying at Eötvös Lóránd Science University faculty of Computer Science MSc at Budapest. This year my project is 'Rework the Expert Configuration dialog' https://wiki.documentfoundation.org/Development/Gsoc/Ideas#Rework_the_Expert_Configuration_dialog . My mentor is Caolán McNamara. Best regards, Mihály Palenik ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Substring method
Hello I'd like to examine a string is part of another but in all languages. I know CollatorWrapper class which has compareString method to compare two strings using uno. I'm searching this kind of method. Best regard. Mihály Palenik ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
::com::sun::star::uno::Reference deep copy
Hello I'd like to write a copy constructor and the class has ::com::sun::star::uno::Reference member. How can I make a deep copy? Best regards Mihály Palenik ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: Compile error
Thank you your answers. It works. On Wed, Sep 24, 2014 at 3:28 PM, Michael Stahl wrote: > On 24/09/14 09:20, Miklos Vajna wrote: > > On Tue, Sep 23, 2014 at 06:28:59PM +0200, Mihály Palenik < > palenik.mih...@gmail.com> wrote: > >> > workdir/UnpackedTarball/langtag/liblangtag/.libs/liblangtag.a(liblangtag_la-lt-utils.o): > >> In function `lt_getenv': > >> workdir/UnpackedTarball/langtag/liblangtag/lt-utils.c:57: undefined > >> reference to `__secure_getenv' > > apparently glibc 2.17 changed this function from __secure_getenv to > secure_getenv; liblangtag has a configure check for both of these; if > you upgraded your glibc and then do an incremental build it will > probably use the "wrong" symbol because liblangtag is not rebuilt, and > fail... > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708061 > https://sourceware.org/glibc/wiki/Tips_and_Tricks/secure_getenv > > > Does it happen if you do 'make clean && make', not just 'make'? > > actually "make liblangtag.clean" should be enough to fix it. > > > ___ > LibreOffice mailing list > LibreOffice@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/libreoffice > ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Compile error
Hello, I use Linux and I pulled LibreOffice from master now but I got compile error: workdir/UnpackedTarball/langtag/liblangtag/.libs/liblangtag.a(liblangtag_la-lt-utils.o): In function `lt_getenv': workdir/UnpackedTarball/langtag/liblangtag/lt-utils.c:57: undefined reference to `__secure_getenv' I don't know what it is wrong. Thanks Mihály ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Dialog Widget Conversion - Week 12
Hello, In this week I converted the following: Dialogs: -DLG_PARAMETERS -RID_SCDLG_DPSHOWDETAIL -RID_DLG_FORMLINKS Tabpages: -PAGE_CONNECTION -PAGE_DBASE -PAGE_MYSQL_JDBC -PAGE_ORACLE_JDBC -PAGE_ODBC -PAGE_LDAP -PAGE_ADO -PAGE_MYSQL_ODBC I deleted an unused dialogs called RID_XMLSECTP_MACROWARN. Best regards, Mihály ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
XControl connect to .ui element
Hello, I'm making RID_TP_GENERAL TabPage conversion. It can be found in Tools -> Bibliography Database. It has an XControlContainer that include some XControl instances. How can I connect an XControl instance with an .ui element(e.g.: GtkEntry). Is it possible? Or I have to modify class to a usual way(make a lot of Edit control and connect with .ui element)? Best regards, Mihály ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
RID_TP_GENERAL conversion
Hello, I'm making RID_TP_GENERAL TabPage conversion. It can be found in Tools -> Bibliography Database. It has some variable that I don't know what type is them: - ::com::sun::star::awt::XWindow - ::com::sun::star::awt::XControlContainer - ::com::sun::star::form::XBoundComponent - ::com::sun::star::sdbc::XRowSetListener Where can I find their definition? I didn't find with opengrok. Best regards, Mihály Palenik ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Dialog Widget Conversion - Week 11
Hello, In the last GSoC weekly report I forgot to mention that I convert RID_OFADLG_OPTIONS_TREE dialog. In this week I finished DLG_DATABASE_WIZARD conversion. Tabpages: -PAGE_DBWIZARD_ADO -PAGE_DBWIZARD_DBASE -PAGE_DBWIZARD_MSACCESS -PAGE_DBWIZARD_ODBC -PAGE_DBWIZARD_USERDEFINED -PAGE_DBWIZARD_MYSQL_JDBC -PAGE_DBWIZARD_ORACLE -PAGE_DBWIZARD_JDBC -PAGE_DBWIZARD_AUTHENTIFICATION -PAGE_DBWIZARD_LDAP Dialogs: -DLG_DATABASE_TYPE_CHANGE -WIZ_RTFCOPYTABLE -RID_SVXDLG_ASSIGNCOMPONENT -RID_DLG_DEPENDENCIES Finally I deleted an unused dialog called RID_XMLSECTP_MACROWARN. Best regards, Mihály ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Dialog Widget Conversion - Week 9-10
Hello, In this week I was on holiday. Last week I began to convert DLG_DATABASE_WIZARDDLG_TEXT_CONNECTION_SETTINGS, DLG_DATABASE_WIZARD and its tabpages. I hadn't finished yet. Unfortunately another GSoC participant work in the same area that's why I have to have an extra job. Best regards, Mihály ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[GSoC] Dialog Widget Conversion - Week 8
Hello, In the last week I converted 6 dialogs. -RID_SCDLG_RETYPEPASS, -RID_CUI_DIALOG_COLORPICKER -DLG_TEMPLATE_INFORMATION -RID_DLG_LISTCOMBOWIZARD -RID_DLG_GROUPBOXWIZARD -RID_DLG_GRIDWIZARD Best regards, Mihály ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[GSoC] Dialog Widget Conversion - Week 7
Hello, In the last week I converted DLG_COLLECTION_VIEW, RID_CONDFORMAT, MD_ICONSELECTOR and MD_ICONCHANGE. In RID_CONDFORMAT there is a control called WIN_CONDITION and I also converted(but not work very well). In MD_ICONSELECTOR I implemented multiple row ToolBox and it can be scrolled. Best regards, Mihály ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
RID_CONDFORMAT conversion
Hello! I'm making RID_CONDFORMAT conversion to .ui. It contains a Control( http://opengrok.libreoffice.org/xref/core/reportdesign/source/ui/dlg/CondFormat.src#25). I'd like to convert this Control( http://opengrok.libreoffice.org/xref/core/reportdesign/source/ui/dlg/Condition.hxx#64) to .ui. It was inherited VclBuilderContainer and I allocate memory for m_pUIBuilder in ctor and use 'get' function to connect variable with ui file's widgets. It compiled but not work. I see my dialog but don't draw converted control. Did I miss out something? Best regards, Mihály ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[GSoC] Dialog Widget Conversion - Week 6
Hello, In the last week I had my BSc's final exam that's why unfortunately I didn't work. Best regards, Mihály ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[GSoC] Dialog Widget Conversion - Week 5
Hello, In the last week I converted RID_XMLSECDLG_MACROWARN, RID_SVXFLOAT_HYPERLINK_MARKWND and DLG_ASS(this is a wizard with 5 pages). Best regards, Mihály ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[GSoC] Dialog Widget Conversion - Week 4
Hello, In the last week I finished RID_SANE_DIALOG and converted GRID_DIALOG and RID_DLG_MAPPING. Best regards, Mihály ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[GSoC] Dialog Widget Conversion - Week 3
Hello, In the last week I converted RID_SANE_DIALOG (not finished). I had two hard exams last week that's why I wasn't much time for this dialog. Best regards, Mihály ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
GSoC Dialog Widget Conversion - Week 1-2
Hello, In the last two week I convert DLG_PUBLISHING dialog. This is a wizard that contains 6 pages and the second pages consists of 4 parts. Best regards, Mihály ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Compilation error
Hello! I have just downloaded the source code and make but I got compilation error. Why? I didn't modify anything. warn:linguistic:1011:1:linguistic/source/lngsvcmgr.cxx:489: no extension manager - should fire on mobile only warn:chart2:1011:1:chart2/source/view/main/ShapeFactory.cxx:2132: Exception caught. Type: N3com3sun4star3uno9ExceptionE, Message: warn:vcl.window:1011:1:vcl/source/window/window.cxx:6869: ignoring DeploymentException "component context fails to supply service 'com.sun.star.datatransfer.clipboard.SystemClipboard' of type 'com.sun.star.datatransfer.clipboard.XSystemClipboard'" warn:sfx.control:1011:1:sfx2/source/control/dispatch.cxx:1505: Childwindow slot missing: 10365 warn:sfx.control:1011:1:sfx2/source/control/dispatch.cxx:1505: Childwindow slot missing: 10365 Segmentation fault (core dumped) No core file identified in directory /home/freetank/Hasznal/LibreOfficeCore/workdir/CppunitTest/chart2_export.test.core To show backtraces for crashes during test execution, enable core files with: ulimit -c unlimited warn:linguistic:1027:1:linguistic/source/lngsvcmgr.cxx:489: no extension manager - should fire on mobile only warn:chart2:1027:1:chart2/source/view/main/ShapeFactory.cxx:2132: Exception caught. Type: N3com3sun4star3uno9ExceptionE, Message: warn:unotools.misc:1027:1:unotools/source/misc/mediadescriptor.cxx:736: caught Exception "an error occurred during file opening" while opening warn:vcl.window:1027:1:vcl/source/window/window.cxx:6869: ignoring DeploymentException "component context fails to supply service 'com.sun.star.datatransfer.clipboard.SystemClipboard' of type 'com.sun.star.datatransfer.clipboard.XSystemClipboard'" warn:sfx.control:1027:1:sfx2/source/control/dispatch.cxx:1505: Childwindow slot missing: 10365 warn:sfx.control:1027:1:sfx2/source/control/dispatch.cxx:1505: Childwindow slot missing: 10365 Segmentation fault (core dumped) No core file identified in directory /home/freetank/Hasznal/LibreOfficeCore/workdir/CppunitTest/chart2_import.test.core To show backtraces for crashes during test execution, enable core files with: ulimit -c unlimited Error: a unit test failed, please do one of: export DEBUGCPPUNIT=TRUE# for exception catching export CPPUNITTRACE="gdb --args"# for interactive debugging on Linux export CPPUNITTRACE="\"[full path to devenv.exe]\" /debugexe" # for interactive debugging in Visual Studio export VALGRIND=memcheck# for memory checking and retry using: make CppunitTest_chart2_export Error: a unit test failed, please do one of: export DEBUGCPPUNIT=TRUE# for exception catching export CPPUNITTRACE="gdb --args"# for interactive debugging on Linux export CPPUNITTRACE="\"[full path to devenv.exe]\" /debugexe" # for interactive debugging in Visual Studio export VALGRIND=memcheck# for memory checking and retry using: make CppunitTest_chart2_import make[1]: *** [/home/freetank/Hasznal/LibreOfficeCore/workdir/CppunitTest/chart2_export.test] Error 1 make[1]: *** Waiting for unfinished jobs make[1]: *** [/home/freetank/Hasznal/LibreOfficeCore/workdir/CppunitTest/chart2_import.test] Error 1 make: *** [build] Error 2 ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
dailog conversion problem
Hello! I'm making a dialog conversion. I have a ComboBox* pOldSymbols that is GtkComboBoxText in .ui file. When I runned program I got this: nwarn:vcl.layout:6634:1:include/vcl/builder.hxx:269: .ui widget "oldSymbols" needs to correspond to vcl type 8ComboBox. I saw with gdb and there is the problem: get(pOldSymbols, "oldSymbols"); Why do I get this nwarn?? Another GtkWidgets and CustomWidgets worked well in get function. Regards, Mihály Palenik ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Google Summer of Code 2014
Hello, I would like to work for LibreOffice this Google Summer of Code on "Dialog Widget Conversion". I submitted a proposal. Regards, Mihály Palenik (IRC:freetank) ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
License statement
All of my past and future contributions to LibreOffice may be licensed under the MPL/LGPLv3+ dual license. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice