Merge W4LDialogs into W2LDialogs2

git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@228 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
henrikjust 2015-02-10 07:01:41 +00:00
parent 9f9b9bd7a7
commit bc2f47a4a0
19 changed files with 88 additions and 87 deletions

View file

@ -16,11 +16,11 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
* Copyright: 2002-2014 by Henrik Just
* Copyright: 2002-2015 by Henrik Just
*
* All Rights Reserved.
*
* Version 1.6 (2014-10-29)
* Version 1.6 (2015-02-10)
*
*/
@ -419,7 +419,7 @@ public final class ApplicationsDialog
private void displayAutoConfigInfo(String sText) {
XDialog xDialog = getDialog("W4LDialogs.AutoConfigInfo");
XDialog xDialog = getDialog("W2LDialogs2.AutoConfigInfo");
if (xDialog!=null) {
DialogAccess info = new DialogAccess(xDialog);
info.setTextFieldText("Info", sText);

View file

@ -20,7 +20,7 @@
*
* All Rights Reserved.
*
* Version 1.6 (2015-02-09)
* Version 1.6 (2015-02-10)
*
*/
@ -103,7 +103,7 @@ public class BibTeXDialog extends DialogBase implements com.sun.star.lang.XIniti
/** Return the name of the library containing the dialog
*/
@Override public String getDialogLibraryName() {
return "W4LDialogs";
return "W2LDialogs2";
}
/** Return the name of the dialog within the library
@ -131,6 +131,9 @@ public class BibTeXDialog extends DialogBase implements com.sun.star.lang.XIniti
else if (sMethod.equals("InsertReference")) {
insertReference();
}
else if (sMethod.equals("New")) {
newFile();
}
else if (sMethod.equals("Edit")) {
edit();
}
@ -286,6 +289,14 @@ public class BibTeXDialog extends DialogBase implements com.sun.star.lang.XIniti
}
}
// Create a new BibTeX file
private void newFile() {
if (xFrame!=null) {
MessageBox msgBox = new MessageBox(xContext, xFrame);
msgBox.showMessage("Writer2LaTeX","This feature is not implemented yet");
}
}
// Edit the currently selected BibTeX file, if any
private void edit() {
int nFile = getListBoxSelectedItem("File");

View file

@ -16,11 +16,11 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
* Copyright: 2002-2014 by Henrik Just
* Copyright: 2002-2015 by Henrik Just
*
* All Rights Reserved.
*
* Version 1.6 (2014-11-20)
* Version 1.6 (2015-02-10)
*
*/
@ -55,7 +55,7 @@ public class LogViewerDialog extends DialogBase
/** Return the name of the library containing the dialog
*/
public String getDialogLibraryName() {
return "W4LDialogs";
return "W2LDialogs2";
}
private String sBaseUrl = null;

View file

@ -16,11 +16,11 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
* Copyright: 2002-2014 by Henrik Just
* Copyright: 2002-2015 by Henrik Just
*
* All Rights Reserved.
*
* Version 1.6 (2014-12-27)
* Version 1.6 (2015-02-09)
*
*/
@ -199,7 +199,7 @@ public final class Writer2LaTeX extends WeakBase
private void createUNOPublisher() {
if (unoPublisher==null) {
unoPublisher = new LaTeXUNOPublisher(m_xContext,m_xFrame,"Writer2latex");
unoPublisher = new LaTeXUNOPublisher(m_xContext,m_xFrame,"Writer2LaTeX");
}
}