init:
deps-jar:
compile:
run:
info: connected to an office at localhost:8100
info: loaded dialog vnd.sun.star.script:Standard.EnterPassword?location=application ...
/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: Generator.java,v $
*
* $Revision: 1.2 $
*
* last change: $Author: fs $ $Date: 2006/09/05 08:26:35 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
*
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2005 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
************************************************************************/
ModalDialog DLG_ENTER_PASSWORD
{
Pos = MAP_APPFONT( 145, 80 );
Size = MAP_APPFONT( 148, 121 );
FixedText FT_LABEL_1
{
Pos = MAP_APPFONT( 2, 1 );
Size = MAP_APPFONT( 49, 9 );
Text [ de ] = ""Enter password"";
Text [ en-US ] = ""Enter password"";
Border = FALSE;
TabStop = FALSE;
};
Edit ED_TEXT_FIELD_1
{
Pos = MAP_APPFONT( 2, 9 );
Size = MAP_APPFONT( 139, 11 );
Border = TRUE;
};
Edit ED_TEXT_FIELD_2
{
Pos = MAP_APPFONT( 2, 33 );
Size = MAP_APPFONT( 139, 11 );
Border = TRUE;
};
FixedText FT_LABEL_2
{
Pos = MAP_APPFONT( 2, 22 );
Size = MAP_APPFONT( 55, 9 );
Text [ de ] = ""Reenter password"";
Text [ en-US ] = ""Reenter password"";
Border = FALSE;
TabStop = FALSE;
};
FixedText FT_LABEL_3
{
Pos = MAP_APPFONT( 2, 46 );
Size = MAP_APPFONT( 139, 34 );
Text [ de ] = ""WARNING: If you lose or forget the password, it cannot be recovered. It is advisable to keep passwords in a safe place. Passwords are case-sensitive."";
Text [ en-US ] = ""WARNING: If you lose or forget the password, it cannot be recovered. It is advisable to keep passwords in a safe place. Passwords are case-sensitive."";
Border = FALSE;
WordBreak = TRUE;
};
FixedLine FL_FIXED_LINE_1
{
Pos = MAP_APPFONT( -2, 81 );
Size = MAP_APPFONT( 148, 6 );
};
PushButton PB_COMMAND_BUTTON_1
{
Pos = MAP_APPFONT( 37, 87 );
Size = MAP_APPFONT( 33, 13 );
Text [ de ] = ""OK"";
Text [ en-US ] = ""OK"";
};
PushButton PB_COMMAND_BUTTON_2
{
Pos = MAP_APPFONT( 73, 87 );
Size = MAP_APPFONT( 33, 13 );
Text [ de ] = ""Cancel"";
Text [ en-US ] = ""Cancel"";
};
PushButton PB_COMMAND_BUTTON_3
{
Pos = MAP_APPFONT( 108, 87 );
Size = MAP_APPFONT( 33, 13 );
Text [ de ] = ""Help"";
Text [ en-US ] = ""Help"";
};
};
/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: Generator.java,v $
*
* $Revision: 1.2 $
*
* last change: $Author: fs $ $Date: 2006/09/05 08:26:35 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
*
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2005 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
************************************************************************/
// global identifiers
// TODO: You surely want to move those to another, central file
#define DLG_ENTER_PASSWORD ( 256 + 1 )
// local identifiers
#define PB_COMMAND_BUTTON_2 1
#define ED_TEXT_FIELD_1 2
#define FT_LABEL_2 3
#define FT_LABEL_3 4
#define ED_TEXT_FIELD_2 5
#define PB_COMMAND_BUTTON_1 6
#define FL_FIXED_LINE_1 7
#define PB_COMMAND_BUTTON_3 8
#define FT_LABEL_1 9
/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: Generator.java,v $
*
* $Revision: 1.2 $
*
* last change: $Author: fs $ $Date: 2006/09/05 08:26:35 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
*
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2005 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
************************************************************************/
Exception in thread "main" java.lang.NullPointerException
#include <vcl/dialog.hxx>
#include <vcl/edit.hxx>
at org.openoffice.dialogdump.target.vcl.Dialog.impl_dumpConstructorDeclarations(Dialog.java:285)
#include <vcl/fixed.hxx>
at org.openoffice.dialogdump.target.vcl.Dialog.dumpDeclaration(Dialog.java:137)
#include <vcl/button.hxx>
at org.openoffice.dialogdump.target.vcl.Generator.impl_dumpHXX(Generator.java:198)
at org.openoffice.dialogdump.target.vcl.Generator.generateDump(Generator.java:96)
at org.openoffice.dialogdump.Main.<init>(Main.java:65)
//=====================================================================
at org.openoffice.dialogdump.Main.main(Main.java:79)
//= EnterPasswordDialog
//=====================================================================
class EnterPasswordDialog : public ModalDialog
{
private:
FixedText m_aLabel1;
Edit m_aTextField1;
Edit m_aTextField2;
FixedText m_aLabel2;
FixedText m_aLabel3;
FixedLine m_aFixedLine1;
PushButton m_aCommandButton1;
PushButton m_aCommandButton2;
PushButton m_aCommandButton3;
public: