License Statement

2012-05-04 Thread Alexander O. Anisimov
Hi all,

All of my past  future contributions to LibreOffice may be licensed under
the MPL/LGPLv3+ dual license.

.''`.  With best regards,
: :' : Alexander Anisimov
`. `'  JID alenyas...@gmail.com
  `-   Debian - when you have better things to do than fixing systems
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] Index table: character style 'Index link' instead of 'Internet link'

2011-12-21 Thread Alexander O. Anisimov
Hi all,

I have downloaded LO3.5beta1 and started play with it.

Now Writer automatically creates links to chapters in index table. But why
the link character style is 'Internet Link', instead of 'Index Link'?

When character style is 'Internet Link', all items are underline. In my
humble opinion, it doesn't look nice.

Is this a mistake or a conscious decision of developers?

.''`.  With best regards,
: :' : Alexander Anisimov
`. `'  JID alenyas...@gmail.com
  `-   Debian - when you have better things to do than fixing systems
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] Cells numbering in text tables

2011-05-27 Thread Alexander O. Anisimov
Hi,

I try to understand cells numbering in text tables.

[1] says that if I split cell horisontally, then Writer insert as many row
as required into cell. So, subaddress will concatenate with initial cell
address.

***
* A1 * B1   * C1 * D1 *
***
* A2 * B2 * C2.1.1 * C2.2.1 * D2 * E2 *
*** ***
*** C2.1.2 * C2.2.2 ***
***
* A3 * B3   * C3 * D3 *
***
* A4 * B4* C4 *
***

But in fact, it's not.

When I try do it in Writer, I can see cell address in status bar, and it
look so

***
* A1 * B1   * C1 * D1 *
***
* A2 * B2 * C2 * D2 * E2 * F2 *
*** ***
*** C3 * D3 ***
***
* A4 * B4   * C4 * D4 *
***
* A5 * B5* C5 *
***

Why is it so? Is devguide outdated? There I can find actual documentation?

[1]
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Text/Tables

.''`.  With best regards,
: :' : Alexander Anisimov
`. `'  JID alenyas...@gmail.com
  `-   Debian - when you have better things to do than fixing systems
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] How to work with XMergeableCell

2011-05-27 Thread Alexander O. Anisimov
Hi,

does anybody knows why com.sun.star.table.XMergeableCell interface is marked
as unpublished?

How can I work with it?

Thanks in advance.

.''`.  With best regards,
: :' : Alexander Anisimov
`. `'  JID alenyas...@gmail.com
  `-   Debian - when you have better things to do than fixing systems
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] How to work with XMergeableCell

2011-05-27 Thread Alexander O. Anisimov
Well :)

This is the only reason or is there a more objective?

I work with LibreOffice through UNO API and I would like to get rowspan and
colspan for merged cells. But the interface which provide such methods is
unpublished.

If I mark this as published and build should it work? I suppose no ...

.''`.  With best regards,
: :' : Alexander Anisimov
`. `'  JID alenyas...@gmail.com
  `-   Debian - when you have better things to do than fixing systems


2011/5/27 Miklos Vajna vmik...@frugalware.org

 On Fri, May 27, 2011 at 04:48:06PM +0600, Alexander O. Anisimov 
 alenyas...@gmail.com wrote:
  does anybody knows why com.sun.star.table.XMergeableCell interface is
 marked
  as unpublished?


 http://opengrok.libreoffice.org/xref/ure/offapi/com/sun/star/table/XMergeableCell.idl

 It isn't marked as published.

 ___
 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


[Libreoffice] How to get cell vertical orientation property?

2011-05-11 Thread Alexander O. Anisimov
Hi all,

I need to work with cells in text tables using UNO API from Java.

XCell xCell = xCellRange.getCellByPosition(j, i);
 XPropertySet cellSet = UnoRuntime.queryInterface(XPropertySet.class,
 xCell);
 int v = (short) cellSet.getPropertyValue(VertOrient);


In default text table, value of VertOrient property is 0, which equal to
VertOrientation.NONE. But in fact, when I open LibreOffice Writer, all cells
in table have top vertical alignment.

Why is it so? And how can I get vertical orientation of cell properly?


Thanks in advance.


.''`.  With best regards,
: :' : Alexander Anisimov
`. `'  JID alenyas...@gmail.com
  `-   Debian - when you have better things to do than fixing systems
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] LibreOffice 3.4 beta 4 build failed

2011-05-06 Thread Alexander O. Anisimov
Hi all,

I try to build LO 3.4 beta4 from source and get an error in module
writerperfect

Making:libwpftli.so
 /home/alexanis/src/LibreOffice/solver/300/
 unxlngi6.pro/lib/libwpdlib.a(WP1ContentListener.o): In function
 `WP1ContentListener::insertExtendedCharacter(unsigned char)':
 WP1ContentListener.cpp:(.text+0xdd4): undefined reference to
 `macRomanCharacterMap'
 /home/alexanis/src/LibreOffice/solver/300/
 unxlngi6.pro/lib/libwpdlib.a(WP6CharacterGroup.o): In function
 `WP6CharacterGroup_SetDotLeaderCharactersSubGroup::parse(WP6Listener*,
 unsigned char, unsigned short const*) const':
 WP6CharacterGroup.cpp:(.text+0xd75): undefined reference to
 `extendedCharacterWP6ToUCS4(unsigned char, unsigned char, unsigned int
 const**)'
 /home/alexanis/src/LibreOffice/solver/300/
 unxlngi6.pro/lib/libwpdlib.a(WP6CharacterGroup.o): In function
 `WP6CharacterGroup_SetAlignmentCharacterSubGroup::parse(WP6Listener*,
 unsigned char, unsigned short const*) const':
 WP6CharacterGroup.cpp:(.text+0xdc2): undefined reference to
 `extendedCharacterWP6ToUCS4(unsigned char, unsigned char, unsigned int
 const**)'
 /home/alexanis/src/LibreOffice/solver/300/
 unxlngi6.pro/lib/libwpdlib.a(WP6ExtendedDocumentSummaryPacket.o): In
 function `WP6ExtendedDocumentSummaryPacket::parse(WP6Listener*) const':
 WP6ExtendedDocumentSummaryPacket.cpp:(.text+0x110): undefined reference to
 `extendedCharacterWP6ToUCS4(unsigned char, unsigned char, unsigned int
 const**)'
 WP6ExtendedDocumentSummaryPacket.cpp:(.text+0x2cc): undefined reference to
 `extendedCharacterWP6ToUCS4(unsigned char, unsigned char, unsigned int
 const**)'
 /home/alexanis/src/LibreOffice/solver/300/
 unxlngi6.pro/lib/libwpdlib.a(WP6FontDescriptorPacket.o): In function
 `WP6FontDescriptorPacket::_readFontName(WPXInputStream*, WPXEncryption*)':
 WP6FontDescriptorPacket.cpp:(.text+0x116): undefined reference to
 `extendedCharacterWP6ToUCS4(unsigned char, unsigned char, unsigned int
 const**)'
 /home/alexanis/src/LibreOffice/solver/300/
 unxlngi6.pro/lib/libwpdlib.a(WP6GraphicsBoxStylePacket.o):WP6GraphicsBoxStylePacket.cpp:(.text+0xf4):
 more undefined references to `extendedCharacterWP6ToUCS4(unsigned char,
 unsigned char, unsigned int const**)' follow
 /home/alexanis/src/LibreOffice/solver/300/
 unxlngi6.pro/lib/libwpdlib.a(WP3DoubleByteScriptCharacterGroup.o): In
 function `WP3DoubleByteScriptCharacterGroup::parse(WP3Listener*)':
 WP3DoubleByteScriptCharacterGroup.cpp:(.text+0x2c): undefined reference to
 `appleWorldScriptToUCS4(unsigned short, unsigned int const**)'
 /home/alexanis/src/LibreOffice/solver/300/
 unxlngi6.pro/lib/libwpdlib.a(WP3ExtendedCharacterGroup.o): In function
 `WP3ExtendedCharacterGroup::parse(WP3Listener*)':
 WP3ExtendedCharacterGroup.cpp:(.text+0x24): undefined reference to
 `macRomanCharacterMap'
 WP3ExtendedCharacterGroup.cpp:(.text+0x60): undefined reference to
 `extendedCharacterWP5ToUCS4(unsigned char, unsigned char, unsigned int
 const**)'
 /home/alexanis/src/LibreOffice/solver/300/
 unxlngi6.pro/lib/libwpdlib.a(WP5ExtendedCharacterGroup.o): In function
 `WP5ExtendedCharacterGroup::parse(WP5Listener*)':
 WP5ExtendedCharacterGroup.cpp:(.text+0x2b): undefined reference to
 `extendedCharacterWP5ToUCS4(unsigned char, unsigned char, unsigned int
 const**)'
 /home/alexanis/src/LibreOffice/solver/300/
 unxlngi6.pro/lib/libwpdlib.a(WP6ExtendedCharacterGroup.o): In function
 `WP6ExtendedCharacterGroup::parse(WP6Listener*)':
 WP6ExtendedCharacterGroup.cpp:(.text+0x2b): undefined reference to
 `extendedCharacterWP6ToUCS4(unsigned char, unsigned char, unsigned int
 const**)'
 collect2: ld returned 1 exit status
 dmake:  Error code 1, while making '../unxlngi6.pro/lib/libwpftli.so'
 Retrying /home/alexanis/src/LibreOffice/writerperfect/util

 Making:libwpftli.so
 /home/alexanis/src/LibreOffice/solver/300/
 unxlngi6.pro/lib/libwpdlib.a(WP1ContentListener.o): In function
 `WP1ContentListener::insertExtendedCharacter(unsigned char)':
 WP1ContentListener.cpp:(.text+0xdd4): undefined reference to
 `macRomanCharacterMap'
 /home/alexanis/src/LibreOffice/solver/300/
 unxlngi6.pro/lib/libwpdlib.a(WP6CharacterGroup.o): In function
 `WP6CharacterGroup_SetDotLeaderCharactersSubGroup::parse(WP6Listener*,
 unsigned char, unsigned short const*) const':
 WP6CharacterGroup.cpp:(.text+0xd75): undefined reference to
 `extendedCharacterWP6ToUCS4(unsigned char, unsigned char, unsigned int
 const**)'
 /home/alexanis/src/LibreOffice/solver/300/
 unxlngi6.pro/lib/libwpdlib.a(WP6CharacterGroup.o): In function
 `WP6CharacterGroup_SetAlignmentCharacterSubGroup::parse(WP6Listener*,
 unsigned char, unsigned short const*) const':
 WP6CharacterGroup.cpp:(.text+0xdc2): undefined reference to
 `extendedCharacterWP6ToUCS4(unsigned char, unsigned char, unsigned int
 const**)'
 /home/alexanis/src/LibreOffice/solver/300/
 unxlngi6.pro/lib/libwpdlib.a(WP6ExtendedDocumentSummaryPacket.o): In
 function `WP6ExtendedDocumentSummaryPacket::parse(WP6Listener*) const':
 

[Libreoffice] Remove bogus comments in calc

2010-11-06 Thread Alexander O. Anisimov
Hi all,

I've remove all bogus comments in module Calc. Patch is in attachment. If
it's ok I would like to do such work for other modules.

.''`.  With best regards,
: :' : Alexander Anisimov
`. `'  JID alenyas...@gmail.com
  `-   Debian - when you have better things to do than fixing systems
diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx
index c492f2f..08b911d 100644
--- a/sc/inc/compiler.hxx
+++ b/sc/inc/compiler.hxx
@@ -533,7 +533,7 @@ private:
 { return c  128 ? pConv-getCharTableFlags(c, cLast) : 0; }
 };
 
-SC_DLLPUBLIC String GetScCompilerNativeSymbol( OpCode eOp ); //CHINA001
+SC_DLLPUBLIC String GetScCompilerNativeSymbol( OpCode eOp );
 
 #endif
 
diff --git a/sc/inc/global.hxx b/sc/inc/global.hxx
index bf364a9..1ac1c25 100644
--- a/sc/inc/global.hxx
+++ b/sc/inc/global.hxx
@@ -584,7 +584,7 @@ public:
 static IntlWrapper* GetScIntlWrapper();
 static ::com::sun::star::lang::Locale*		GetLocale();
 
-SC_DLLPUBLIC static ::utl::TransliterationWrapper* GetpTransliteration(); //CHINA001
+SC_DLLPUBLIC static ::utl::TransliterationWrapper* GetpTransliteration();
 static ::utl::TransliterationWrapper* GetCaseTransliteration();
 
 SC_DLLPUBLIC static LanguageType	   		eLnge;
@@ -888,7 +888,7 @@ struct ScConsolidateParam
 };
 
 // ---
-extern ::utl::TransliterationWrapper* GetScGlobalpTransliteration();//CHINA001
+extern ::utl::TransliterationWrapper* GetScGlobalpTransliteration();
 extern const LocaleDataWrapper* GetScGlobalpLocaleData();
 
 #endif
diff --git a/sc/inc/unonames.hxx b/sc/inc/unonames.hxx
index 1bb5aac..f2725fb 100644
--- a/sc/inc/unonames.hxx
+++ b/sc/inc/unonames.hxx
@@ -622,9 +622,7 @@
 #define SC_UNONAME_XLA1REPR   XLA1Representation
 #define SC_UNONAME_REFSHEET ReferenceSheet
 
-// -- PB 2004-08-23 #i33095# Security Options
 #define SC_UNO_LOADREADONLY			LoadReadonly
-// --
 #define SC_UNO_MODIFYPASSWORDINFO   ModifyPasswordInfo
 
 // FormulaParser
diff --git a/sc/source/ui/Accessibility/AccessibleText.cxx b/sc/source/ui/Accessibility/AccessibleText.cxx
index 2f7c5e8..8f514ba 100644
--- a/sc/source/ui/Accessibility/AccessibleText.cxx
+++ b/sc/source/ui/Accessibility/AccessibleText.cxx
@@ -1109,9 +1109,7 @@ SvxViewForwarder* ScAccessibleEditObjectTextData::GetViewForwarder()
 {
 if (!mpViewForwarder)
 {
-// -- OD 2005-12-21 #i49561#
 mpViewForwarder = new ScEditObjectViewForwarder( mpWindow, mpEditView );
-// --
 }
 return mpViewForwarder;
 }
diff --git a/sc/source/ui/drawfunc/fudraw.cxx b/sc/source/ui/drawfunc/fudraw.cxx
index a96a162..e07b1a9 100644
--- a/sc/source/ui/drawfunc/fudraw.cxx
+++ b/sc/source/ui/drawfunc/fudraw.cxx
@@ -249,25 +249,6 @@ BOOL __EXPORT FuDraw::KeyInput(const KeyEvent rKEvt)
 switch ( rKEvt.GetKeyCode().GetCode() )
 {
 case KEY_ESCAPE:
-
-/* 18.12.95: TextShell beibehalten nicht mehr gewuenscht...
- *
- *			if ( pView-IsAction() )
- *			{
- *pView-BrkAction();
- *pWindow-ReleaseMouse();
- *bReturn = TRUE;
- *			}
- *			else if ( pView-IsTextEdit() )
- *			{
- *pView-EndTextEdit();
- *pView-SetCreateMode();
- *pViewShell-GetScDrawView()-InvalidateDrawTextAttrs();
- *bReturn = TRUE;
- *			}
- *			else
- */
-
 if ( pViewShell-IsDrawTextShell() || aSfxRequest.GetSlot() == SID_DRAW_NOTEEDIT )
 {
 // in normale Draw-Shell, wenn Objekt selektiert, sonst Zeichnen aus
diff --git a/sc/source/ui/optdlg/tpview.cxx b/sc/source/ui/optdlg/tpview.cxx
index b46efdb..30ec91e 100644
--- a/sc/source/ui/optdlg/tpview.cxx
+++ b/sc/source/ui/optdlg/tpview.cxx
@@ -57,10 +57,6 @@
 
 
 
-/*-11.01.97 10.52---
-Optionen Inhalte
---*/
-
 ScTpContentOptions::ScTpContentOptions( Window*			pParent,
  const SfxItemSet	rArgSet ) :
 SfxTabPage(pParent, ScResId( RID_SCPAGE_CONTENT ), rArgSet),
@@ -133,26 +129,18 @@ ScTpContentOptions::ScTpContentOptions( Window*			pParent,
 
 aGridCB .SetClickHdl( LINK( this, ScTpContentOptions, GridHdl ) );
 }
-/*-11.01.97 10.52---
-
---*/
 
 ScTpContentOptions::~ScTpContentOptions()
 {
 delete pLocalOptions;
 }
-/*-11.01.97 10.52---
-
---*/
 
 SfxTabPage*	ScTpContentOptions::Create( Window*		pParent,
   const SfxItemSet		rCoreSet )
 {
 return new ScTpContentOptions(pParent, rCoreSet);
 }
-/*-11.01.97 10.52---
 
---*/
 BOOL	ScTpContentOptions::FillItemSet( SfxItemSet rCoreSet )
 {
 BOOL bRet = FALSE;
@@ -196,9 +184,6 @@ BOOL