Replace w4l menu with toolbar + ensure compatibility of toolbars with AOO4
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@186 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
parent
934dd30696
commit
049bf052bc
16 changed files with 288 additions and 76 deletions
|
@ -16,11 +16,11 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
||||
* MA 02111-1307 USA
|
||||
*
|
||||
* Copyright: 2002-2011 by Henrik Just
|
||||
* Copyright: 2002-2014 by Henrik Just
|
||||
*
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Version 1.2 (2011-03-23)
|
||||
* Version 1.6 (2014-10-23)
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -134,6 +134,8 @@ public final class Writer4LaTeX extends WeakBase
|
|||
return this;
|
||||
else if ( aURL.Path.compareTo("ViewLog") == 0 )
|
||||
return this;
|
||||
else if ( aURL.Path.compareTo("InsertBibTeX") == 0 )
|
||||
return this;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
@ -174,6 +176,10 @@ public final class Writer4LaTeX extends WeakBase
|
|||
viewLog();
|
||||
return;
|
||||
}
|
||||
else if ( aURL.Path.compareTo("InsertBibTeX") == 0 ) {
|
||||
insertBibTeX();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -339,6 +345,11 @@ public final class Writer4LaTeX extends WeakBase
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void insertBibTeX() {
|
||||
MessageBox msgBox = new MessageBox(m_xContext, m_xFrame);
|
||||
msgBox.showMessage("Writer4LaTeX","This feature is not implemented yet");
|
||||
}
|
||||
|
||||
// Some utility methods
|
||||
private void prepareMediaProperties() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue