LibreOffice Module sw (master) 1
|
Enumerations | |
enum | E_DIRECTION { MOVE_LEFT = 1 , MOVE_RIGHT , MOVE_UP , MOVE_DOWN } |
Functions | |
SwDocShell * | getDocShell (const uno::Reference< frame::XModel > &xModel) |
SwView * | getView (const uno::Reference< frame::XModel > &xModel) |
uno::Reference< text::XTextViewCursor > | getXTextViewCursor (const uno::Reference< frame::XModel > &xModel) |
uno::Reference< style::XStyle > | getCurrentPageStyle (const uno::Reference< frame::XModel > &xModel) |
uno::Reference< style::XStyle > | getCurrentPageStyle (const uno::Reference< frame::XModel > &xModel, const uno::Reference< beans::XPropertySet > &xProps) |
sal_Int32 | getPageCount (const uno::Reference< frame::XModel > &xModel) |
uno::Reference< style::XStyle > | getDefaultParagraphStyle (const uno::Reference< frame::XModel > &xModel) |
uno::Reference< text::XTextRange > | getFirstObjectPosition (const uno::Reference< text::XText > &xText) |
uno::Reference< text::XText > | getCurrentXText (const uno::Reference< frame::XModel > &xModel) |
bool | gotoSelectedObjectAnchor (const uno::Reference< frame::XModel > &xModel) |
SwDocShell * | getDocShell (const css::uno::Reference< css::frame::XModel > &xModel) |
SwView * | getView (const css::uno::Reference< css::frame::XModel > &xModel) |
css::uno::Reference< css::text::XTextViewCursor > | getXTextViewCursor (const css::uno::Reference< css::frame::XModel > &xModel) |
css::uno::Reference< css::style::XStyle > | getCurrentPageStyle (const css::uno::Reference< css::frame::XModel > &xModel) |
css::uno::Reference< css::style::XStyle > | getCurrentPageStyle (const css::uno::Reference< css::frame::XModel > &xModel, const css::uno::Reference< css::beans::XPropertySet > &xProps) |
sal_Int32 | getPageCount (const css::uno::Reference< css::frame::XModel > &xModel) |
css::uno::Reference< css::style::XStyle > | getDefaultParagraphStyle (const css::uno::Reference< css::frame::XModel > &xModel) |
css::uno::Reference< css::text::XTextRange > | getFirstObjectPosition (const css::uno::Reference< css::text::XText > &xText) |
css::uno::Reference< css::text::XText > | getCurrentXText (const css::uno::Reference< css::frame::XModel > &xModel) |
bool | gotoSelectedObjectAnchor (const css::uno::Reference< css::frame::XModel > &xModel) |
Enumerator | |
---|---|
MOVE_LEFT | |
MOVE_RIGHT | |
MOVE_UP | |
MOVE_DOWN |
Definition at line 52 of file wordvbahelper.hxx.
css::uno::Reference< css::style::XStyle > ooo::vba::word::getCurrentPageStyle | ( | const css::uno::Reference< css::frame::XModel > & | xModel | ) |
css::uno::RuntimeException |
css::uno::Reference< css::style::XStyle > ooo::vba::word::getCurrentPageStyle | ( | const css::uno::Reference< css::frame::XModel > & | xModel, |
const css::uno::Reference< css::beans::XPropertySet > & | xProps | ||
) |
css::uno::RuntimeException |
uno::Reference< style::XStyle > ooo::vba::word::getCurrentPageStyle | ( | const uno::Reference< frame::XModel > & | xModel | ) |
Definition at line 63 of file wordvbahelper.cxx.
References getCurrentPageStyle(), getXTextViewCursor(), and xModel.
Referenced by getCurrentPageStyle(), SwVbaSelection::getHeaderFooter(), SwVbaView::getHFTextRange(), SwVbaInformationHelper::handleWdVerticalPositionRelativeToPage(), HeaderFooterHelper::isEvenPagesFooter(), HeaderFooterHelper::isEvenPagesHeader(), HeaderFooterHelper::isFooter(), HeaderFooterHelper::isHeader(), SwVbaDocument::PageSetup(), and SwVbaPageSetup::setDifferentFirstPageHeaderFooter().
uno::Reference< style::XStyle > ooo::vba::word::getCurrentPageStyle | ( | const uno::Reference< frame::XModel > & | xModel, |
const uno::Reference< beans::XPropertySet > & | xProps | ||
) |
Definition at line 69 of file wordvbahelper.cxx.
References xModel.
css::uno::Reference< css::text::XText > ooo::vba::word::getCurrentXText | ( | const css::uno::Reference< css::frame::XModel > & | xModel | ) |
css::uno::RuntimeException |
uno::Reference< text::XText > ooo::vba::word::getCurrentXText | ( | const uno::Reference< frame::XModel > & | xModel | ) |
Definition at line 119 of file wordvbahelper.cxx.
References getXTextViewCursor(), and xModel.
Referenced by SwVbaSelection::EndKey(), SwVbaSelection::HomeKey(), HeaderFooterHelper::isFooter(), HeaderFooterHelper::isHeader(), and SwVbaSelection::WholeStory().
css::uno::Reference< css::style::XStyle > ooo::vba::word::getDefaultParagraphStyle | ( | const css::uno::Reference< css::frame::XModel > & | xModel | ) |
css::uno::RuntimeException |
uno::Reference< style::XStyle > ooo::vba::word::getDefaultParagraphStyle | ( | const uno::Reference< frame::XModel > & | xModel | ) |
Definition at line 88 of file wordvbahelper.cxx.
References xModel.
Referenced by SwVbaDocument::getAutoHyphenation(), SwVbaDocument::getConsecutiveHyphensLimit(), SwVbaDocument::setAutoHyphenation(), and SwVbaDocument::setConsecutiveHyphensLimit().
SwDocShell * ooo::vba::word::getDocShell | ( | const css::uno::Reference< css::frame::XModel > & | xModel | ) |
SwDocShell * ooo::vba::word::getDocShell | ( | const uno::Reference< frame::XModel > & | xModel | ) |
Definition at line 42 of file wordvbahelper.cxx.
References SwXTextDocument::GetDocShell(), and xModel.
Referenced by SwVbaRevision::Accept(), SwVbaDocument::AddSink(), SwVbaFind::GetOrCreateFind(), getPageCount(), getView(), SwVbaInformationHelper::handleWdVerticalPositionRelativeToPage(), SwVbaDocument::Initialize(), lcl_getContentControl(), lcl_getFieldmark(), SwVbaFormField::Next(), SwVbaFormField::Previous(), SwVbaFormField::Range(), SwVbaRevision::Reject(), and SwVbaSelection::SplitTable().
css::uno::Reference< css::text::XTextRange > ooo::vba::word::getFirstObjectPosition | ( | const css::uno::Reference< css::text::XText > & | xText | ) |
css::uno::RuntimeException |
uno::Reference< text::XTextRange > ooo::vba::word::getFirstObjectPosition | ( | const uno::Reference< text::XText > & | xText | ) |
Definition at line 98 of file wordvbahelper.cxx.
Referenced by SwVbaView::getHFTextRange(), SwVbaSelection::HomeKey(), SwVbaView::setSeekView(), and SwVbaSelection::WholeStory().
sal_Int32 ooo::vba::word::getPageCount | ( | const css::uno::Reference< css::frame::XModel > & | xModel | ) |
css::uno::RuntimeException |
sal_Int32 ooo::vba::word::getPageCount | ( | const uno::Reference< frame::XModel > & | xModel | ) |
Definition at line 81 of file wordvbahelper.cxx.
References IDocumentLayoutAccess::GetCurrentViewShell(), SwDocShell::GetDoc(), getDocShell(), SwDoc::getIDocumentLayoutAccess(), SwViewShell::GetPageCount(), and xModel.
Referenced by SwVbaSelection::GoTo(), and SwVbaInformationHelper::handleWdNumberOfPagesInDocument().
SwView * ooo::vba::word::getView | ( | const css::uno::Reference< css::frame::XModel > & | xModel | ) |
SwView * ooo::vba::word::getView | ( | const uno::Reference< frame::XModel > & | xModel | ) |
Definition at line 49 of file wordvbahelper.cxx.
References getDocShell(), SwDocShell::GetView(), and xModel.
Referenced by SwVbaWindow::getCaption(), SwVbaWindow::getWindowState(), SwVbaWindow::setCaption(), SwVbaView::setType(), and SwVbaWindow::setWindowState().
css::uno::Reference< css::text::XTextViewCursor > ooo::vba::word::getXTextViewCursor | ( | const css::uno::Reference< css::frame::XModel > & | xModel | ) |
css::uno::RuntimeException |
uno::Reference< text::XTextViewCursor > ooo::vba::word::getXTextViewCursor | ( | const uno::Reference< frame::XModel > & | xModel | ) |
Definition at line 55 of file wordvbahelper.cxx.
References xController, and xModel.
Referenced by SwVbaTables::Add(), SwVbaBookmarks::Add(), SwVbaSelection::Collapse(), getCurrentPageStyle(), getCurrentXText(), SwVbaPageSetup::getStyleOfFirstPage(), SwVbaAutoTextEntry::Insert(), HeaderFooterHelper::isEvenPagesFooter(), HeaderFooterHelper::isEvenPagesHeader(), HeaderFooterHelper::isFirstPageFooter(), HeaderFooterHelper::isFirstPageHeader(), HeaderFooterHelper::isFooter(), HeaderFooterHelper::isHeader(), SwVbaBookmarks::removeBookmarkByName(), SwVbaRange::Select(), SwVbaPageSetup::setDifferentFirstPageHeaderFooter(), SwVbaFind::SwVbaFind(), and SwVbaSelection::SwVbaSelection().
bool ooo::vba::word::gotoSelectedObjectAnchor | ( | const css::uno::Reference< css::frame::XModel > & | xModel | ) |
css::uno::RuntimeException |
bool ooo::vba::word::gotoSelectedObjectAnchor | ( | const uno::Reference< frame::XModel > & | xModel | ) |
Definition at line 160 of file wordvbahelper.cxx.
References xModel.
Referenced by SwVbaSelection::Collapse(), SwVbaSelection::EndKey(), SwVbaSelection::HomeKey(), SwVbaSelection::Move(), and SwVbaView::setSeekView().