|
LibreOffice Module starmath (master) 1
|
#include <strings.hrc>#include <smmod.hxx>#include <utility.hxx>#include <dialog.hxx>#include <view.hxx>#include <comphelper/lok.hxx>#include <sfx2/lokcomponenthelpers.hxx>Go to the source code of this file.
Functions | |
| SmViewShell * | SmGetActiveView () |
| ! Since this method is based on the current focus it is somewhat ! unreliable and may return unexpected 0 pointers! More... | |
| IMPL_LINK_NOARG (SmFontPickListBox, SelectHdl, weld::ComboBox &, void) | |
| bool | IsItalic (const vcl::Font &rFont) |
| bool | IsBold (const vcl::Font &rFont) |
| SmFace & | operator*= (SmFace &rFace, const Fraction &rFrac) |
| IMPL_LINK_NOARG | ( | SmFontPickListBox | , |
| SelectHdl | , | ||
| weld::ComboBox & | , | ||
| void | |||
| ) |
Definition at line 134 of file utility.cxx.
References Get(), SmFontPickList::Insert(), m_xWidget, and nPos.
| bool IsBold | ( | const vcl::Font & | rFont | ) |
Definition at line 184 of file utility.cxx.
References vcl::Font::GetWeight(), and WEIGHT_NORMAL.
Referenced by SmModel::_getPropertyValues(), SmTextNode::Prepare(), SmSpecialNode::Prepare(), and SmFontDialog::SetFont().
| bool IsItalic | ( | const vcl::Font & | rFont | ) |
Definition at line 176 of file utility.cxx.
References vcl::Font::GetItalic(), ITALIC_NORMAL, and ITALIC_OBLIQUE.
Referenced by SmModel::_getPropertyValues(), SmXMLExport::ExportMath(), SmXMLExport::ExportText(), SmTextNode::Prepare(), SmSpecialNode::Prepare(), and SmFontDialog::SetFont().
Definition at line 234 of file utility.cxx.
References vcl::Font::GetFontSize(), Size::Height(), SmFace::SetSize(), and Size::Width().
| SmViewShell * SmGetActiveView | ( | ) |
! Since this method is based on the current focus it is somewhat ! unreliable and may return unexpected 0 pointers!
Definition at line 33 of file utility.cxx.
References SfxViewShell::Current(), SmViewShell::GetGraphicWidget(), LokStarMathHelper::GetGraphicWindow(), SmGraphicWidget::GetView(), and comphelper::LibreOfficeKit::isActive().
Referenced by SmDocShell::ArrangeFormula(), SmPrintOptionsTabPage::FillItemSet(), SmDocShell::Repaint(), SmCursor::RequestRepaint(), SmDocShell::SetText(), and SmPrintOptionsTabPage::~SmPrintOptionsTabPage().