#include "precompiled_starmath.hxx"
#include <sfx2/app.hxx>
#include <vcl/virdev.hxx>
#include <tools/string.hxx>
#include <tools/tenccvt.hxx>
#include <osl/thread.h>
#include <tools/stream.hxx>
#include "starmath.hrc"
#include "utility.hxx"
#include "dialog.hxx"
#include "view.hxx"
#include "smdll.hxx"
Include dependency graph for utility.cxx:
Go to the source code of this file.
Functions | |
SmViewShell * | SmGetActiveView () |
IMPL_LINK (SmFontPickListBox, SelectHdl, ListBox *,) | |
BOOL | IsItalic (const Font &rFont) |
BOOL | IsBold (const Font &rFont) |
SmFace & | operator *= (SmFace &rFace, const Fraction &rFrac) |
IMPL_LINK | ( | SmFontPickListBox | , | |
SelectHdl | , | |||
ListBox * | ||||
) |
BOOL IsBold | ( | const Font & | rFont | ) |
Definition at line 369 of file utility.cxx.
Referenced by SmFontPickList::GetStringItem(), SmFontStyles::GetStyleName(), SmTextNode::Prepare(), SmSpecialNode::Prepare(), and SmFontDialog::SetFont().
BOOL IsItalic | ( | const Font & | rFont | ) |
Definition at line 361 of file utility.cxx.
Referenced by SmXMLExport::ExportText(), SmFontPickList::GetStringItem(), SmFontStyles::GetStyleName(), SmTextNode::Prepare(), SmSpecialNode::Prepare(), and SmFontDialog::SetFont().
SmViewShell* SmGetActiveView | ( | ) |
! Since this method is based on the current focus it is somewhat ! unreliable and may return unexpected 0 pointers!
Definition at line 70 of file utility.cxx.
Referenced by SmDocShell::ArrangeFormula(), SmDocShell::Repaint(), SmDocShell::SetFormat(), and SmDocShell::SetText().