[Libreoffice-commits] core.git: sc/source

2018-07-05 Thread Manuj Vashist
 sc/source/ui/miscdlgs/dataproviderdlg.cxx |   59 +++---
 1 file changed, 55 insertions(+), 4 deletions(-)

New commits:
commit eac72845f5c9aac0fb346b2d48cee697006c057b
Author: Manuj Vashist 
Date:   Mon Jul 2 04:21:03 2018 +0530

Added Delete Column Transformation in Data Provider Dialog

Change-Id: Ibebd92c426d1653642c5b9d037d6368636561fcd
Reviewed-on: https://gerrit.libreoffice.org/56786
Reviewed-by: Markus Mohrhard 
Tested-by: Markus Mohrhard 

diff --git a/sc/source/ui/miscdlgs/dataproviderdlg.cxx 
b/sc/source/ui/miscdlgs/dataproviderdlg.cxx
index 8e07d04b8145..a94a5d4d41e1 100644
--- a/sc/source/ui/miscdlgs/dataproviderdlg.cxx
+++ b/sc/source/ui/miscdlgs/dataproviderdlg.cxx
@@ -271,6 +271,59 @@ void ScDataTransformationBaseControl::setAllocation(const 
Size &rAllocation)
 setLayoutPosSize(*maGrid, Point(0, 0), rAllocation);
 }
 
+class ScDeleteColumnTransformationControl : public 
ScDataTransformationBaseControl
+{
+private:
+VclPtr maColumnNums;
+
+public:
+ScDeleteColumnTransformationControl(vcl::Window* pParent);
+~ScDeleteColumnTransformationControl() override;
+
+virtual void dispose() override;
+
+virtual std::shared_ptr getTransformation() 
override;
+};
+
+ScDeleteColumnTransformationControl::ScDeleteColumnTransformationControl(vcl::Window*
 pParent):
+ScDataTransformationBaseControl(pParent, 
"modules/scalc/ui/deletecolumnentry.ui")
+{
+get(maColumnNums, "ed_columns");
+}
+
+ScDeleteColumnTransformationControl::~ScDeleteColumnTransformationControl()
+{
+disposeOnce();
+}
+
+void ScDeleteColumnTransformationControl::dispose()
+{
+maColumnNums.clear();
+
+ScDataTransformationBaseControl::dispose();
+}
+
+std::shared_ptr 
ScDeleteColumnTransformationControl::getTransformation()
+{
+OUString aColumnString = maColumnNums->GetText();
+std::vector aSplitColumns = 
comphelper::string::split(aColumnString, ';');
+std::set ColNums;
+for (auto& rColStr : aSplitColumns)
+{
+sal_Int32 nCol = rColStr.toInt32();
+if (nCol <= 0)
+continue;
+
+if (nCol > MAXCOL)
+continue;
+
+// translate from 1-based column notations to internal Calc one
+ColNums.insert(nCol - 1);
+}
+
+return std::make_shared(ColNums);
+}
+
 class ScSplitColumnTransformationControl : public 
ScDataTransformationBaseControl
 {
 private:
@@ -497,10 +550,8 @@ void ScDataProviderDlg::cancelAndQuit()
 
 void ScDataProviderDlg::deleteColumn()
 {
-VclPtr mpText = VclPtr::Create(mpList);
-mpText->SetText("Delete Column");
-mpText->SetSizePixel(Size(400, 20));
-mpList->addEntry(mpText);
+VclPtr pDeleteColumnEntry = 
VclPtr::Create(mpList);
+mpList->addEntry(pDeleteColumnEntry);
 }
 
 void ScDataProviderDlg::splitColumn()
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: sc/qa sc/source sc/uiconfig sc/UIConfig_scalc.mk

2018-07-08 Thread Manuj Vashist
 sc/UIConfig_scalc.mk |1 
 sc/qa/unit/datatransformation_test.cxx   |8 -
 sc/source/ui/dataprovider/datatransformation.cxx |  124 ---
 sc/source/ui/inc/dataproviderdlg.hxx |1 
 sc/source/ui/inc/datatransformation.hxx  |4 
 sc/source/ui/miscdlgs/dataproviderdlg.cxx|   79 ++
 sc/uiconfig/scalc/ui/texttransformationentry.ui  |  109 
 7 files changed, 261 insertions(+), 65 deletions(-)

New commits:
commit 9546f6fec9c16c0440ef6db940aa704d2f8c6657
Author: Manuj Vashist 
Date:   Mon Jul 2 17:14:11 2018 +0530

added Text transformation in data provider dlg

Change-Id: I69d8aae9289ad6d1cbdf92307c16299a533fcd56
Reviewed-on: https://gerrit.libreoffice.org/56807
Tested-by: Jenkins
Reviewed-by: Markus Mohrhard 

diff --git a/sc/UIConfig_scalc.mk b/sc/UIConfig_scalc.mk
index 6eb7c34d49f9..498540b645fb 100644
--- a/sc/UIConfig_scalc.mk
+++ b/sc/UIConfig_scalc.mk
@@ -156,6 +156,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/scalc,\
sc/uiconfig/scalc/ui/managenamesdialog \
sc/uiconfig/scalc/ui/mergecellsdialog \
sc/uiconfig/scalc/ui/mergecolumnentry \
+   sc/uiconfig/scalc/ui/texttransformationentry \
sc/uiconfig/scalc/ui/movecopysheet \
sc/uiconfig/scalc/ui/movingaveragedialog \
sc/uiconfig/scalc/ui/multipleoperationsdialog \
diff --git a/sc/qa/unit/datatransformation_test.cxx 
b/sc/qa/unit/datatransformation_test.cxx
index 3546104fdbee..baea46c694ad 100644
--- a/sc/qa/unit/datatransformation_test.cxx
+++ b/sc/qa/unit/datatransformation_test.cxx
@@ -170,7 +170,7 @@ void ScDataTransformationTest::testTextToLower()
 m_pDoc->SetString(2, 2, 0, "Paris");
 m_pDoc->SetString(2, 3, 0, "Peking");
 
-sc::TextTransformation aTransform(2, sc::TEXT_TRANSFORM_TYPE::TO_LOWER);
+sc::TextTransformation aTransform({2}, sc::TEXT_TRANSFORM_TYPE::TO_LOWER);
 aTransform.Transform(*m_pDoc);
 
 CPPUNIT_ASSERT_EQUAL(OUString("berlin"), m_pDoc->GetString(2, 0, 0));
@@ -186,7 +186,7 @@ void ScDataTransformationTest::testTextToUpper()
 m_pDoc->SetString(2, 2, 0, "Paris");
 m_pDoc->SetString(2, 3, 0, "Peking");
 
-sc::TextTransformation aTransform(2, sc::TEXT_TRANSFORM_TYPE::TO_UPPER);
+sc::TextTransformation aTransform({2}, sc::TEXT_TRANSFORM_TYPE::TO_UPPER);
 aTransform.Transform(*m_pDoc);
 
 CPPUNIT_ASSERT_EQUAL(OUString("BERLIN"), m_pDoc->GetString(2, 0, 0));
@@ -202,7 +202,7 @@ void ScDataTransformationTest::testTextCapitalize()
 m_pDoc->SetString(2, 2, 0, "si tu la ves");
 m_pDoc->SetString(2, 3, 0, "cUaNdO mE EnAmOro");
 
-sc::TextTransformation aTransform(2, sc::TEXT_TRANSFORM_TYPE::CAPITALIZE);
+sc::TextTransformation aTransform({2}, 
sc::TEXT_TRANSFORM_TYPE::CAPITALIZE);
 aTransform.Transform(*m_pDoc);
 
 CPPUNIT_ASSERT_EQUAL(OUString("Hello World"), m_pDoc->GetString(2, 0, 0));
@@ -217,7 +217,7 @@ void ScDataTransformationTest::testTextTrim()
 m_pDoc->SetString(2, 1, 0, "Brussels ");
 m_pDoc->SetString(2, 2, 0, " Paris ");
 
-sc::TextTransformation aTransform(2, sc::TEXT_TRANSFORM_TYPE::TRIM);
+sc::TextTransformation aTransform({2}, sc::TEXT_TRANSFORM_TYPE::TRIM);
 aTransform.Transform(*m_pDoc);
 
 CPPUNIT_ASSERT_EQUAL(OUString("Berlin"), m_pDoc->GetString(2, 0, 0));
diff --git a/sc/source/ui/dataprovider/datatransformation.cxx 
b/sc/source/ui/dataprovider/datatransformation.cxx
index a1eae17c0df9..75e84a23c2ef 100644
--- a/sc/source/ui/dataprovider/datatransformation.cxx
+++ b/sc/source/ui/dataprovider/datatransformation.cxx
@@ -176,7 +176,7 @@ const ScSortParam & SortTransformation::getSortParam() const
 return maSortParam;
 }
 
-TextTransformation::TextTransformation(SCCOL nCol, const TEXT_TRANSFORM_TYPE 
rType):
+TextTransformation::TextTransformation(const std::set& nCol, const 
TEXT_TRANSFORM_TYPE rType):
 mnCol(nCol),
 maType(rType)
 {
@@ -184,85 +184,91 @@ TextTransformation::TextTransformation(SCCOL nCol, const 
TEXT_TRANSFORM_TYPE rTy
 
 void TextTransformation::Transform(ScDocument& rDoc) const
 {
-SCROW nEndRow = getLastRow(rDoc, mnCol);
-
-switch (maType)
+SCROW nEndRow = 0;
+for(auto& rCol : mnCol)
 {
-case TEXT_TRANSFORM_TYPE::TO_LOWER:
+nEndRow = getLastRow(rDoc, rCol);
+}
+for(auto& rCol : mnCol)
+{
+switch (maType)
 {
-for (SCROW nRow = 0; nRow <= nEndRow; ++nRow)
+case TEXT_TRANSFORM_TYPE::TO_LOWER:
 {
-CellType eType;
-rDoc.GetCellType(mnCol, nRow, 0, eType);
-if (eType == CELLTYPE_STRING)
+for (SCROW nRow = 0; nRow <= nEndRow; ++nRow)
 {
-

[Libreoffice-commits] core.git: 2 commits - sc/source sc/uiconfig sc/UIConfig_scalc.mk

2018-07-11 Thread Manuj Vashist
 sc/UIConfig_scalc.mk |2 
 sc/source/ui/dataprovider/datatransformation.cxx |2 
 sc/source/ui/inc/dataproviderdlg.hxx |2 
 sc/source/ui/miscdlgs/dataproviderdlg.cxx|  141 ++-
 sc/uiconfig/scalc/ui/aggregatefunctionentry.ui   |  109 +
 sc/uiconfig/scalc/ui/sorttransformationentry.ui  |   85 +
 6 files changed, 339 insertions(+), 2 deletions(-)

New commits:
commit 8666f3670c8e32228cdaf59ee9b879a796bbb308
Author: Manuj Vashist 
Date:   Sun Jul 8 05:11:59 2018 +0530

Added Aggregate functions to data provider dlg

Change-Id: Ic6de5319f936095fa1d165fc5901f13d0e7776f5
Reviewed-on: https://gerrit.libreoffice.org/57027
Tested-by: Jenkins
Reviewed-by: Markus Mohrhard 

diff --git a/sc/UIConfig_scalc.mk b/sc/UIConfig_scalc.mk
index 424d630d08de..3b79d5d6b225 100644
--- a/sc/UIConfig_scalc.mk
+++ b/sc/UIConfig_scalc.mk
@@ -158,6 +158,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/scalc,\
sc/uiconfig/scalc/ui/mergecolumnentry \
sc/uiconfig/scalc/ui/texttransformationentry \
sc/uiconfig/scalc/ui/sorttransformationentry \
+   sc/uiconfig/scalc/ui/aggregatefunctionentry \
sc/uiconfig/scalc/ui/movecopysheet \
sc/uiconfig/scalc/ui/movingaveragedialog \
sc/uiconfig/scalc/ui/multipleoperationsdialog \
diff --git a/sc/source/ui/dataprovider/datatransformation.cxx 
b/sc/source/ui/dataprovider/datatransformation.cxx
index c1bfac0895ef..aa14563985dd 100644
--- a/sc/source/ui/dataprovider/datatransformation.cxx
+++ b/sc/source/ui/dataprovider/datatransformation.cxx
@@ -8,7 +8,7 @@
  */
 
 #include 
-
+#include 
 #include 
 #include 
 #include 
diff --git a/sc/source/ui/inc/dataproviderdlg.hxx 
b/sc/source/ui/inc/dataproviderdlg.hxx
index b39254ddf70a..d41d9a141604 100644
--- a/sc/source/ui/inc/dataproviderdlg.hxx
+++ b/sc/source/ui/inc/dataproviderdlg.hxx
@@ -63,6 +63,7 @@ public:
 void mergeColumns();
 void textTransformation();
 void sortTransformation();
+void aggregateFunction();
 
 void import(ScDocument* pDoc, bool bInternal = false);
 };
diff --git a/sc/source/ui/miscdlgs/dataproviderdlg.cxx 
b/sc/source/ui/miscdlgs/dataproviderdlg.cxx
index e07f789b1269..e30b3505d3bd 100644
--- a/sc/source/ui/miscdlgs/dataproviderdlg.cxx
+++ b/sc/source/ui/miscdlgs/dataproviderdlg.cxx
@@ -223,7 +223,8 @@ MenuData aColumnData[] = {
 { 1, "Split Column", &ScDataProviderDlg::splitColumn },
 { 2, "Merge Columns", &ScDataProviderDlg::mergeColumns },
 { 3, "Text Transformation", &ScDataProviderDlg::textTransformation },
-{ 4, "Sort Columns", &ScDataProviderDlg::sortTransformation }
+{ 4, "Sort Columns", &ScDataProviderDlg::sortTransformation },
+{ 5, "Aggregate Functions", &ScDataProviderDlg::aggregateFunction}
 };
 
 class ScDataTransformationBaseControl : public VclContainer,
@@ -563,6 +564,77 @@ std::shared_ptr 
ScColumnTextTransformation::getTransform
 return nullptr;
 }
 
+class ScAggregateFunction : public ScDataTransformationBaseControl
+{
+private:
+VclPtr maColumnNums;
+VclPtr maType;
+
+public:
+
+ScAggregateFunction(vcl::Window* pParent);
+~ScAggregateFunction() override;
+
+virtual void dispose() override;
+
+virtual std::shared_ptr getTransformation() 
override;
+
+};
+
+ScAggregateFunction::ScAggregateFunction(vcl::Window* pParent):
+
ScDataTransformationBaseControl(pParent,"modules/scalc/ui/aggregatefunctionentry.ui")
+{
+get(maColumnNums, "ed_columns");
+get(maType, "ed_lst");
+}
+
+ScAggregateFunction::~ScAggregateFunction()
+{
+disposeOnce();
+}
+
+void ScAggregateFunction::dispose()
+{
+maColumnNums.clear();
+maType.clear();
+ScDataTransformationBaseControl::dispose();
+}
+
+std::shared_ptr 
ScAggregateFunction::getTransformation()
+{
+OUString aColumnString = maColumnNums->GetText();
+sal_Int32 nPos = maType->GetSelectedEntryPos();
+std::vector aSplitColumns = 
comphelper::string::split(aColumnString, ';');
+std::set aColumns;
+for (auto& rColStr : aSplitColumns)
+{
+sal_Int32 nCol = rColStr.toInt32();
+if (nCol <= 0)
+continue;
+
+if (nCol > MAXCOL)
+continue;
+
+// translate from 1-based column notations to internal Calc one
+aColumns.insert(nCol - 1);
+}
+switch (nPos)
+{
+case 0:
+return 
std::make_shared(aColumns,sc::AGGREGATE_FUNCTION::SUM);
+case 1:
+return 
std::make_shared(aColumns,sc::AGGREGATE_FUNCTION::AVERAGE);
+case 2:
+return 
std::make_shared(aColumns,sc::AGGREGATE_FUNCTION::MIN);
+case 3:
+return 
std::make_shared(aColumns,sc::AGGREGATE_FUNCTION::MAX);
+default:
+assert(false);
+}
+

[Libreoffice-commits] core.git: sc/qa sc/source sc/uiconfig sc/UIConfig_scalc.mk

2018-07-11 Thread Manuj Vashist
 sc/UIConfig_scalc.mk  |1 
 sc/qa/unit/datatransformation_test.cxx|   24 -
 sc/source/ui/dataprovider/datatransformation.cxx  |  313 +++---
 sc/source/ui/inc/dataproviderdlg.hxx  |1 
 sc/source/ui/inc/datatransformation.hxx   |6 
 sc/source/ui/miscdlgs/dataproviderdlg.cxx |  102 ++-
 sc/uiconfig/scalc/ui/numbertransformationentry.ui |  118 
 7 files changed, 394 insertions(+), 171 deletions(-)

New commits:
commit 5ed11c2ba2b1897955e80d240815f79239b324c2
Author: Manuj Vashist 
Date:   Tue Jul 10 04:56:37 2018 +0530

Added Number transformation in Data Provider Dlg

Change-Id: I9a2e1e16d7683d790826fdc772fbcfbcf8af9881
Reviewed-on: https://gerrit.libreoffice.org/57149
Tested-by: Jenkins
Reviewed-by: Markus Mohrhard 

diff --git a/sc/UIConfig_scalc.mk b/sc/UIConfig_scalc.mk
index 3b79d5d6b225..70d17e3ace35 100644
--- a/sc/UIConfig_scalc.mk
+++ b/sc/UIConfig_scalc.mk
@@ -159,6 +159,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/scalc,\
sc/uiconfig/scalc/ui/texttransformationentry \
sc/uiconfig/scalc/ui/sorttransformationentry \
sc/uiconfig/scalc/ui/aggregatefunctionentry \
+   sc/uiconfig/scalc/ui/numbertransformationentry \
sc/uiconfig/scalc/ui/movecopysheet \
sc/uiconfig/scalc/ui/movingaveragedialog \
sc/uiconfig/scalc/ui/multipleoperationsdialog \
diff --git a/sc/qa/unit/datatransformation_test.cxx 
b/sc/qa/unit/datatransformation_test.cxx
index baea46c694ad..00b6b69d4946 100644
--- a/sc/qa/unit/datatransformation_test.cxx
+++ b/sc/qa/unit/datatransformation_test.cxx
@@ -303,7 +303,7 @@ void ScDataTransformationTest::testNumberRound()
 m_pDoc->SetValue(2, 2, 0, 57453.651345687654345676);
 m_pDoc->SetValue(2, 3, 0, -453.22234567543);
 
-sc::NumberTransformation aTransform(2, sc::NUMBER_TRANSFORM_TYPE::ROUND, 
4);
+sc::NumberTransformation aTransform({2}, sc::NUMBER_TRANSFORM_TYPE::ROUND, 
4);
 aTransform.Transform(*m_pDoc);
 
 CPPUNIT_ASSERT_EQUAL(2034.3425, m_pDoc->GetValue(2, 0, 0));
@@ -319,7 +319,7 @@ void ScDataTransformationTest::testNumberRoundUp()
 m_pDoc->SetValue(2, 2, 0, 57453.65);
 m_pDoc->SetValue(2, 3, 0, -453.22);
 
-sc::NumberTransformation aTransform(2, 
sc::NUMBER_TRANSFORM_TYPE::ROUND_UP);
+sc::NumberTransformation aTransform({2}, 
sc::NUMBER_TRANSFORM_TYPE::ROUND_UP);
 aTransform.Transform(*m_pDoc);
 
 CPPUNIT_ASSERT_EQUAL(2035.0, m_pDoc->GetValue(2, 0, 0));
@@ -335,7 +335,7 @@ void ScDataTransformationTest::testNumberRoundDown()
 m_pDoc->SetValue(2, 2, 0, 57453.65);
 m_pDoc->SetValue(2, 3, 0, -453.22);
 
-sc::NumberTransformation aTransform(2, 
sc::NUMBER_TRANSFORM_TYPE::ROUND_DOWN);
+sc::NumberTransformation aTransform({2}, 
sc::NUMBER_TRANSFORM_TYPE::ROUND_DOWN);
 aTransform.Transform(*m_pDoc);
 
 CPPUNIT_ASSERT_EQUAL(2034.0, m_pDoc->GetValue(2, 0, 0));
@@ -351,7 +351,7 @@ void ScDataTransformationTest::testNumberAbsolute()
 m_pDoc->SetValue(2, 2, 0, 57453.65);
 m_pDoc->SetValue(2, 3, 0, -453.22);
 
-sc::NumberTransformation aTransform(2, 
sc::NUMBER_TRANSFORM_TYPE::ABSOLUTE);
+sc::NumberTransformation aTransform({2}, 
sc::NUMBER_TRANSFORM_TYPE::ABSOLUTE);
 aTransform.Transform(*m_pDoc);
 
 CPPUNIT_ASSERT_EQUAL(2034.34, m_pDoc->GetValue(2, 0, 0));
@@ -367,7 +367,7 @@ void ScDataTransformationTest::testNumberLogE()
 m_pDoc->SetValue(2, 2, 0, -9);
 m_pDoc->SetValue(2, 3, 0, 500);
 
-sc::NumberTransformation aTransform(2, sc::NUMBER_TRANSFORM_TYPE::LOG_E);
+sc::NumberTransformation aTransform({2}, sc::NUMBER_TRANSFORM_TYPE::LOG_E);
 aTransform.Transform(*m_pDoc);
 
 CPPUNIT_ASSERT_DOUBLES_EQUAL(0, m_pDoc->GetValue(2, 0, 0), 1e-10);
@@ -383,7 +383,7 @@ void ScDataTransformationTest::testNumberLog10()
 m_pDoc->SetValue(2, 2, 0, -9);
 m_pDoc->SetValue(2, 3, 0, 500);
 
-sc::NumberTransformation aTransform(2, sc::NUMBER_TRANSFORM_TYPE::LOG_10);
+sc::NumberTransformation aTransform({2}, 
sc::NUMBER_TRANSFORM_TYPE::LOG_10);
 aTransform.Transform(*m_pDoc);
 
 CPPUNIT_ASSERT_DOUBLES_EQUAL(0, m_pDoc->GetValue(2, 0, 0), 1e-10);
@@ -399,7 +399,7 @@ void ScDataTransformationTest::testNumberCube()
 m_pDoc->SetValue(2, 2, 0, 8);
 m_pDoc->SetValue(2, 3, 0, -8);
 
-sc::NumberTransformation aTransform(2, sc::NUMBER_TRANSFORM_TYPE::CUBE);
+sc::NumberTransformation aTransform({2}, sc::NUMBER_TRANSFORM_TYPE::CUBE);
 aTransform.Transform(*m_pDoc);
 
 CPPUNIT_ASSERT_EQUAL(8.0, m_pDoc->GetValue(2, 0, 0));
@@ -415,7 +415,7 @@ void ScDataTransformationTest::testNumberSquare()
 m_pDoc->SetValue(2, 2, 0, 8);
 m_pDoc->SetValue(2, 3, 0, -8);
 
-sc::NumberTransformation aTransform(2, sc::NUMBER_TRANSFORM_TYPE::SQUARE);
+sc::NumberTransformation aTransform({2}, 

Manuj Vashist License Statement

2017-12-09 Thread Manuj Vashist
All of my past & future contributions to LibreOffice may be licensed under
the MPLv2/LGPLv3+ dual license.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Inquiry about gsoc

2018-02-22 Thread Manuj Vashist
Hello,
You can start with easyHacks and look for the code pointers provided there
by mentors, if not provided you can ask on the irc for the same.
Good luck.

On 23 Feb 2018 8:03 a.m., "fady esam"  wrote:

> When i read a bug im a specific part of the project like the hacks
> required for gsoc in a specific part like (saving)
> What part of the code do i start looking for this part?
>
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
>
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Fwd: GSoC weekly update: Manuj Vashist

2018-05-25 Thread Manuj Vashist
Hello Everyone,

I had a slow start in my project and now after almost 2 weeks I have
improved the entry ui (dataproviderentry.ui) having next and cancel buttons
and replaced the coloring of dialogue box with greyed out next button.
Now working on data transformation dialog and looking how to make a right
click menu and join the dialogs.
Thank you.

Regards,
Manuj Vashist
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


GSoC'18 Introduction - Manuj Vashist

2018-04-23 Thread Manuj Vashist
Hello Everyone,

I am an undergraduate student from BITS Pilani, India.

I have been accepted in Google Summer of Code'18 for project "Interface for
External Data source import in Calc
<https://summerofcode.withgoogle.com/projects/#5518251128258560>" with
Markus Mohrhard as my mentor.
Congratulations to all fellow students also, who got accepted.

Looking forward to an awesome summer of hacking with LibreOffice.

Regards,
Manuj Vashist.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] core.git: framework/inc framework/source include/comphelper include/filter include/unotools lingucomponent/source stoc/source vcl/source

2018-02-05 Thread Manuj Vashist
 framework/inc/jobs/helponstartup.hxx |2 --
 framework/inc/jobs/shelljob.hxx  |2 --
 framework/source/inc/loadenv/targethelper.hxx|2 --
 include/comphelper/processfactory.hxx|4 
 include/comphelper/streamsection.hxx |3 ---
 include/filter/msfilter/util.hxx |3 ---
 include/unotools/streamhelper.hxx|3 ---
 include/unotools/streamsection.hxx   |3 ---
 lingucomponent/source/languageguessing/guess.hxx |3 ---
 lingucomponent/source/languageguessing/simpleguesser.hxx |3 ---
 stoc/source/corereflection/lrucache.hxx  |1 -
 vcl/source/fontsubset/ttcr.cxx   |3 ---
 12 files changed, 32 deletions(-)

New commits:
commit 68d9583db4226a61ba23398928b9416c5d8745c8
Author: Manuj Vashist 
Date:   Mon Feb 5 15:27:22 2018 +0530

tdf#108523 Removed @author annotations.

Change-Id: I6a60128c413beab6cabb857c073607e15ddbc98f
Reviewed-on: https://gerrit.libreoffice.org/49215
Reviewed-by: Samuel Mehrbrodt 
Tested-by: Samuel Mehrbrodt 

diff --git a/framework/inc/jobs/helponstartup.hxx 
b/framework/inc/jobs/helponstartup.hxx
index 4550f962e2e7..1fc65b4dd6f6 100644
--- a/framework/inc/jobs/helponstartup.hxx
+++ b/framework/inc/jobs/helponstartup.hxx
@@ -35,8 +35,6 @@ namespace framework{
 /** @short  implements a job component, which handle the special
 feature to show a suitable help page for every (visible!)
 loaded document.
-
-@author as96863
  */
 class HelpOnStartup : public ::cppu::WeakImplHelper< 
css::lang::XServiceInfo,css::lang::XEventListener,css::task::XJob >
 {
diff --git a/framework/inc/jobs/shelljob.hxx b/framework/inc/jobs/shelljob.hxx
index 4ff90039cac9..a25eb448ceb8 100644
--- a/framework/inc/jobs/shelljob.hxx
+++ b/framework/inc/jobs/shelljob.hxx
@@ -38,8 +38,6 @@ namespace framework{
 registered for. Further there is a generic
 way to configure the shell command and it's list
 of arguments.
-
-@author as96863
  */
 class ShellJob : public ::cppu::WeakImplHelper< 
css::lang::XServiceInfo,css::task::XJob >
 {
diff --git a/framework/source/inc/loadenv/targethelper.hxx 
b/framework/source/inc/loadenv/targethelper.hxx
index afa968645f66..b35caf80d04d 100644
--- a/framework/source/inc/loadenv/targethelper.hxx
+++ b/framework/source/inc/loadenv/targethelper.hxx
@@ -28,8 +28,6 @@ namespace framework{
 
 /** @short  can be used to detect, if a target name (used e.g. for 
XFrame.findFrame())
 has a special meaning or can be used as normal frame name (e.g. 
for XFrame.setName()).
-
-@author as96863
  */
 class TargetHelper
 {
diff --git a/include/comphelper/processfactory.hxx 
b/include/comphelper/processfactory.hxx
index bf4645124c12..51ba33754a98 100644
--- a/include/comphelper/processfactory.hxx
+++ b/include/comphelper/processfactory.hxx
@@ -32,8 +32,6 @@ namespace comphelper
 
 /**
  * This function set the process service factory.
- *
- * @author Juergen Schmidt
  */
 COMPHELPER_DLLPUBLIC void setProcessServiceFactory(const css::uno::Reference< 
css::lang::XMultiServiceFactory >& xSMgr);
 
@@ -41,8 +39,6 @@ COMPHELPER_DLLPUBLIC void setProcessServiceFactory(const 
css::uno::Reference< cs
  * This function gets the process service factory.
  *
  * If no service factory is set the function throws a RuntimeException.
- *
- * @author Juergen Schmidt
  */
 COMPHELPER_DLLPUBLIC css::uno::Reference< css::lang::XMultiServiceFactory > 
getProcessServiceFactory();
 
diff --git a/include/comphelper/streamsection.hxx 
b/include/comphelper/streamsection.hxx
index 4a53c85a9f8f..6c52892fde6b 100644
--- a/include/comphelper/streamsection.hxx
+++ b/include/comphelper/streamsection.hxx
@@ -31,9 +31,6 @@ namespace comphelper
 /** implements handling for compatibly reading/writing data from/into an 
input/output stream.
 data written in a block secured by this class should be readable by older 
versions which
 use the same mechanism.
-
-@author Frank Schoenheit
-@since  00/26/05
 */
 
 class COMPHELPER_DLLPUBLIC OStreamSection
diff --git a/include/filter/msfilter/util.hxx b/include/filter/msfilter/util.hxx
index 8895a4181bec..50252fc6191a 100644
--- a/include/filter/msfilter/util.hxx
+++ b/include/filter/msfilter/util.hxx
@@ -37,9 +37,6 @@ MSFILTER_DLLPUBLIC rtl_TextEncoding 
getBestTextEncodingFromLocale(const css::lan
 MSFILTER_DLLPUBLIC sal_uInt32 BGRToRGB(sal_uInt32 nColour);
 
 /** Convert from DTTM to Writer's DateTime
-
-  @author
-  mailto:mma...@openoffice.org";>Martin Maher
 {
diff --git a/include/unotools/streamsection.hxx 
b/include/unotools/streamsection.hxx
index ad45b4e12496..74626d2bed4e 100644
--- a/include/unotools/streamsection.hxx
+++ b/include/unotools/streamsection.hxx
@@ -30,9 +3

[GSoC] Discussion on project idea "interface for external data source import into Calc"

2018-03-07 Thread Manuj Vashist
Hello everyone,

I am a sophomore student persuing B.E. In Birla Institute of Technology &
Science Pilani.

I am exploring the LO code base since January and have merged a couple of
easyHacks too :)

I would like to work on the project idea " Implement interface for external
data source import into Calc

" in this summers as GSoC student.

As the currently available dialog imports data from other csv files and
html web pages.as the project is about extending the existing data
providers and data transformation.
I can think of data providers like a sql table that can be included to
it,please give some more information on what kind of data transformation is
referred here.

Also there are two dialogs doing the same thing here link to external data
dialog and data provider dialog, what are the use case of having two diff
dialogs? can't both be merged together?
A bit more info on project will be helpful.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice