/dports/polish/kadu/kadu-4.3/kadu-core/dom/ |
H A D | dom-text-regexp-visitor.cpp | 34 QDomText DomTextRegexpVisitor::expandFirstMatch(QDomText textNode) const in expandFirstMatch() 36 auto text = textNode.nodeValue(); in expandFirstMatch() 43 auto afterMatch = textNode.splitText(index + length); in expandFirstMatch() 44 textNode.setNodeValue(textNode.nodeValue().mid(0, index)); in expandFirstMatch() 46 auto newNodes = matchToDomNodes(textNode.ownerDocument(), RegExp); in expandFirstMatch() 48 textNode.parentNode().insertBefore(newNode, afterMatch); in expandFirstMatch() 53 QDomNode DomTextRegexpVisitor::visit(QDomText textNode) const in visit() 55 auto result = textNode; in visit() 56 while (!textNode.isNull()) in visit() 58 result = textNode; in visit() [all …]
|
/dports/polish/kadu/kadu-4.3/plugins/emoticons/expander/ |
H A D | emoticon-expander.cpp | 43 QDomText afterEmoticon = textNode.splitText(index + emoticonLength); in insertEmoticon() 44 textNode.setNodeValue(textNode.nodeValue().mid(0, index)); in insertEmoticon() 51 textNode.parentNode().insertBefore(emoticonElement, afterEmoticon); in insertEmoticon() 56 QDomText EmoticonExpander::expandFirstEmoticon(QDomText textNode) const in expandFirstEmoticon() 58 QString text = textNode.nodeValue().toLower(); in expandFirstEmoticon() 88 insertEmoticon(textNode, currentEmoticon, currentEmoticonStart); in expandFirstEmoticon() 93 QDomNode EmoticonExpander::visit(QDomText textNode) const in visit() 95 QDomText result = textNode; in visit() 96 while (!textNode.isNull()) in visit() 98 result = textNode; in visit() [all …]
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/editing/ |
H A D | InsertTextCommand.cpp | 54 RefPtr<Node> textNode = document()->createEditingTextNode(""); in positionInsideTextNode() local 55 insertNodeAtTabSpanPosition(textNode.get(), pos); in positionInsideTextNode() 56 return firstPositionInNode(textNode.get()); in positionInsideTextNode() 63 insertNodeAt(textNode.get(), pos); in positionInsideTextNode() 64 return firstPositionInNode(textNode.get()); in positionInsideTextNode() 171 insertTextIntoNode(textNode, offset, text); in input() 225 Text *textNode = static_cast<Text *>(node); in insertTab() local 226 if (offset >= textNode->length()) { in insertTab() 227 insertNodeAfter(spanNode.get(), textNode); in insertTab() 234 splitTextNode(textNode, offset); in insertTab() [all …]
|
H A D | InsertLineBreakCommand.cpp | 140 Text* textNode = static_cast<Text*>(pos.deprecatedNode()); in doApply() local 141 splitTextNode(textNode, pos.deprecatedEditingOffset()); in doApply() 142 insertNodeBefore(nodeToInsert, textNode); in doApply() 143 Position endingPosition = firstPositionInNode(textNode); in doApply() 148 Position positionBeforeTextNode(positionInParentBeforeNode(textNode)); in doApply() 151 ASSERT(!textNode->renderer() || textNode->renderer()->style()->collapseWhiteSpace()); in doApply() 153 if (textNode->inDocument()) in doApply() 154 insertTextIntoNode(textNode, 0, nonBreakingSpaceString()); in doApply()
|
/dports/lang/spidermonkey78/firefox-78.9.0/editor/libeditor/ |
H A D | ReplaceTextTransaction.cpp | 31 OwningNonNull<Text> textNode = *mTextNode; in NS_IMPL_CYCLE_COLLECTION_INHERITED() local 34 editorBase->DoReplaceText(textNode, mOffset, mStringToBeReplaced.Length(), in NS_IMPL_CYCLE_COLLECTION_INHERITED() 41 editorBase->RangeUpdaterRef().SelAdjReplaceText(textNode, mOffset, in NS_IMPL_CYCLE_COLLECTION_INHERITED() 56 selection->Collapse(textNode, mOffset + mStringToInsert.Length()); in NS_IMPL_CYCLE_COLLECTION_INHERITED() 87 OwningNonNull<Text> textNode = *mTextNode; in UndoTransaction() local 89 editorBase->DoReplaceText(textNode, mOffset, mStringToInsert.Length(), in UndoTransaction() 96 editorBase->RangeUpdaterRef().SelAdjReplaceText(textNode, mOffset, in UndoTransaction() 111 selection->Collapse(textNode, mOffset + mStringToBeReplaced.Length()); in UndoTransaction() 142 OwningNonNull<Text> textNode = *mTextNode; in RedoTransaction() local 151 editorBase->RangeUpdaterRef().SelAdjReplaceText(textNode, mOffset, in RedoTransaction() [all …]
|
H A D | CompositionTransaction.cpp | 36 if (Text* textNode = composition->GetContainerTextNode()) { in Create() local 37 pointToInsert.Set(textNode, composition->XPOffsetInTextNode()); in Create() 91 OwningNonNull<Text> textNode = *mTextNode; in NS_IMPL_CYCLE_COLLECTION_INHERITED() local 101 editorBase->RangeUpdaterRef().SelAdjInsertText(textNode, mOffset, in NS_IMPL_CYCLE_COLLECTION_INHERITED() 107 uint32_t replaceableLength = textNode->TextLength() - mOffset; in NS_IMPL_CYCLE_COLLECTION_INHERITED() 109 editorBase->DoReplaceText(textNode, mOffset, mReplaceLength, in NS_IMPL_CYCLE_COLLECTION_INHERITED() 134 for (nsIContent* nextSibling = textNode->GetNextSibling(); in NS_IMPL_CYCLE_COLLECTION_INHERITED() 173 OwningNonNull<Text> textNode = *mTextNode; in UndoTransaction() local 182 nsresult rv = selection->Collapse(textNode, mOffset); in UndoTransaction() 228 OwningNonNull<Text> textNode = *mTextNode; in SetSelectionForRanges() local [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/editor/libeditor/ |
H A D | ReplaceTextTransaction.cpp | 52 OwningNonNull<Text> textNode = *mTextNode; in NS_IMPL_CYCLE_COLLECTION_INHERITED() local 55 editorBase->DoReplaceText(textNode, mOffset, mStringToBeReplaced.Length(), in NS_IMPL_CYCLE_COLLECTION_INHERITED() 62 editorBase->RangeUpdaterRef().SelAdjReplaceText(textNode, mOffset, in NS_IMPL_CYCLE_COLLECTION_INHERITED() 77 textNode, mOffset + mStringToInsert.Length()); in NS_IMPL_CYCLE_COLLECTION_INHERITED() 112 OwningNonNull<Text> textNode = *mTextNode; in UndoTransaction() local 114 editorBase->DoReplaceText(textNode, mOffset, mStringToInsert.Length(), in UndoTransaction() 121 editorBase->RangeUpdaterRef().SelAdjReplaceText(textNode, mOffset, in UndoTransaction() 136 textNode, mOffset + mStringToBeReplaced.Length()); in UndoTransaction() 171 OwningNonNull<Text> textNode = *mTextNode; in RedoTransaction() local 180 editorBase->RangeUpdaterRef().SelAdjReplaceText(textNode, mOffset, in RedoTransaction() [all …]
|
H A D | CompositionTransaction.cpp | 38 if (Text* textNode = composition->GetContainerTextNode()) { in Create() local 39 pointToInsert.Set(textNode, composition->XPOffsetInTextNode()); in Create() 112 OwningNonNull<Text> textNode = *mTextNode; in NS_IMPL_CYCLE_COLLECTION_INHERITED() local 122 editorBase->RangeUpdaterRef().SelAdjInsertText(textNode, mOffset, in NS_IMPL_CYCLE_COLLECTION_INHERITED() 128 uint32_t replaceableLength = textNode->TextLength() - mOffset; in NS_IMPL_CYCLE_COLLECTION_INHERITED() 130 editorBase->DoReplaceText(textNode, mOffset, mReplaceLength, in NS_IMPL_CYCLE_COLLECTION_INHERITED() 155 for (nsIContent* nextSibling = textNode->GetNextSibling(); in NS_IMPL_CYCLE_COLLECTION_INHERITED() 198 OwningNonNull<Text> textNode = *mTextNode; in UndoTransaction() local 207 nsresult rv = selection->CollapseInLimiter(textNode, mOffset); in UndoTransaction() 273 OwningNonNull<Text> textNode = *mTextNode; in SetSelectionForRanges() local [all …]
|
/dports/www/firefox/firefox-99.0/editor/libeditor/ |
H A D | ReplaceTextTransaction.cpp | 52 OwningNonNull<Text> textNode = *mTextNode; in NS_IMPL_CYCLE_COLLECTION_INHERITED() local 55 editorBase->DoReplaceText(textNode, mOffset, mStringToBeReplaced.Length(), in NS_IMPL_CYCLE_COLLECTION_INHERITED() 62 editorBase->RangeUpdaterRef().SelAdjReplaceText(textNode, mOffset, in NS_IMPL_CYCLE_COLLECTION_INHERITED() 77 textNode, mOffset + mStringToInsert.Length()); in NS_IMPL_CYCLE_COLLECTION_INHERITED() 112 OwningNonNull<Text> textNode = *mTextNode; in UndoTransaction() local 114 editorBase->DoReplaceText(textNode, mOffset, mStringToInsert.Length(), in UndoTransaction() 121 editorBase->RangeUpdaterRef().SelAdjReplaceText(textNode, mOffset, in UndoTransaction() 136 textNode, mOffset + mStringToBeReplaced.Length()); in UndoTransaction() 171 OwningNonNull<Text> textNode = *mTextNode; in RedoTransaction() local 180 editorBase->RangeUpdaterRef().SelAdjReplaceText(textNode, mOffset, in RedoTransaction() [all …]
|
H A D | CompositionTransaction.cpp | 38 if (Text* textNode = composition->GetContainerTextNode()) { in Create() local 39 pointToInsert.Set(textNode, composition->XPOffsetInTextNode()); in Create() 112 OwningNonNull<Text> textNode = *mTextNode; in NS_IMPL_CYCLE_COLLECTION_INHERITED() local 122 editorBase->RangeUpdaterRef().SelAdjInsertText(textNode, mOffset, in NS_IMPL_CYCLE_COLLECTION_INHERITED() 128 uint32_t replaceableLength = textNode->TextLength() - mOffset; in NS_IMPL_CYCLE_COLLECTION_INHERITED() 130 editorBase->DoReplaceText(textNode, mOffset, mReplaceLength, in NS_IMPL_CYCLE_COLLECTION_INHERITED() 155 for (nsIContent* nextSibling = textNode->GetNextSibling(); in NS_IMPL_CYCLE_COLLECTION_INHERITED() 198 OwningNonNull<Text> textNode = *mTextNode; in UndoTransaction() local 207 nsresult rv = selection->CollapseInLimiter(textNode, mOffset); in UndoTransaction() 273 OwningNonNull<Text> textNode = *mTextNode; in SetSelectionForRanges() local [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/editor/libeditor/ |
H A D | ReplaceTextTransaction.cpp | 52 OwningNonNull<Text> textNode = *mTextNode; in NS_IMPL_CYCLE_COLLECTION_INHERITED() local 55 editorBase->DoReplaceText(textNode, mOffset, mStringToBeReplaced.Length(), in NS_IMPL_CYCLE_COLLECTION_INHERITED() 62 editorBase->RangeUpdaterRef().SelAdjReplaceText(textNode, mOffset, in NS_IMPL_CYCLE_COLLECTION_INHERITED() 77 textNode, mOffset + mStringToInsert.Length()); in NS_IMPL_CYCLE_COLLECTION_INHERITED() 112 OwningNonNull<Text> textNode = *mTextNode; in UndoTransaction() local 114 editorBase->DoReplaceText(textNode, mOffset, mStringToInsert.Length(), in UndoTransaction() 121 editorBase->RangeUpdaterRef().SelAdjReplaceText(textNode, mOffset, in UndoTransaction() 136 textNode, mOffset + mStringToBeReplaced.Length()); in UndoTransaction() 171 OwningNonNull<Text> textNode = *mTextNode; in RedoTransaction() local 180 editorBase->RangeUpdaterRef().SelAdjReplaceText(textNode, mOffset, in RedoTransaction() [all …]
|
H A D | CompositionTransaction.cpp | 38 if (Text* textNode = composition->GetContainerTextNode()) { in Create() local 39 pointToInsert.Set(textNode, composition->XPOffsetInTextNode()); in Create() 112 OwningNonNull<Text> textNode = *mTextNode; in NS_IMPL_CYCLE_COLLECTION_INHERITED() local 122 editorBase->RangeUpdaterRef().SelAdjInsertText(textNode, mOffset, in NS_IMPL_CYCLE_COLLECTION_INHERITED() 128 uint32_t replaceableLength = textNode->TextLength() - mOffset; in NS_IMPL_CYCLE_COLLECTION_INHERITED() 130 editorBase->DoReplaceText(textNode, mOffset, mReplaceLength, in NS_IMPL_CYCLE_COLLECTION_INHERITED() 155 for (nsIContent* nextSibling = textNode->GetNextSibling(); in NS_IMPL_CYCLE_COLLECTION_INHERITED() 198 OwningNonNull<Text> textNode = *mTextNode; in UndoTransaction() local 207 nsresult rv = selection->CollapseInLimiter(textNode, mOffset); in UndoTransaction() 273 OwningNonNull<Text> textNode = *mTextNode; in SetSelectionForRanges() local [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/editor/libeditor/ |
H A D | TextEditorTest.cpp | 147 nsCOMPtr<nsIDOMNode>textNode; in TestTextProperties() local 150 TEST_POINTER(textNode.get()); in TestTextProperties() 159 textData = do_QueryInterface(textNode); in TestTextProperties() 162 selection->Collapse(textNode, 0); in TestTextProperties() 163 selection->Extend(textNode, length); in TestTextProperties() 204 selection->Collapse(textNode, 1); in TestTextProperties() 205 selection->Extend(textNode, length-1); in TestTextProperties() 240 TEST_POINTER(textNode.get()); in TestTextProperties() 241 textData = do_QueryInterface(textNode); in TestTextProperties() 244 selection->Collapse(textNode, 1); in TestTextProperties() [all …]
|
/dports/print/scribus-devel/scribus-1.5.7/scribus/plugins/import/pdf/ |
H A D | pdftextrecognition.cpp | 421 textNode->frameTextEnd(); in renderToTextFrame() 523 tempSelection.addItem(textNode); in renderTextFrame() 525 finishItem(textNode); in renderTextFrame() 528 textNode->ClipEdited = true; in renderTextFrame() 529 textNode->FrameType = 3; in renderTextFrame() 530 textNode->setLineEnd(m_lineEnd); in renderTextFrame() 536 textNode->setLineWidth(0); in renderTextFrame() 560 textNode->invalid = true; in renderTextFrame() 580 textNode->ContourLine = textNode->PoLine.copy(); in renderTextFrame() 582 m_Elements->append(textNode); in renderTextFrame() [all …]
|
/dports/graphics/openrm/rmdemo/ |
H A D | markers2d.c | 200 RMnode *textNode; in my_build_objs() local 241 textNode = rmNodeNew(name,RM_RENDERPASS_2D,RM_RENDERPASS_OPAQUE); in my_build_objs() 242 rmNodeSetUnlitColor(textNode, &c); in my_build_objs() 244 rmNodeAddPrimitive(textNode, tlist); in my_build_objs() 245 rmNodeAddChild(textRoot, textNode); in my_build_objs() 268 rmNodeSetSceneTextProps(textNode, tp); in my_build_objs() 287 textNode = rmNodeNew(name,RM_RENDERPASS_2D,RM_RENDERPASS_OPAQUE); in my_build_objs() 288 rmNodeSetUnlitColor(textNode,&c); in my_build_objs() 290 rmNodeAddPrimitive(textNode, tlist); in my_build_objs() 291 rmNodeAddChild(textRoot, textNode); in my_build_objs() [all …]
|
/dports/www/moodle310/moodle/lib/spout/src/Spout/Reader/XLSX/Manager/ |
H A D | SharedStringsManager.php | 188 foreach ($textNodes as $textNode) { 189 if ($this->shouldExtractTextNodeValue($textNode)) { 190 $textNodeValue = $textNode->nodeValue; 191 $shouldPreserveWhitespace = $this->shouldPreserveWhitespace($textNode); 208 protected function shouldExtractTextNodeValue($textNode) argument 210 $parentTagName = $textNode->parentNode->localName; 221 protected function shouldPreserveWhitespace($textNode) argument 223 $spaceValue = $textNode->getAttribute(self::XML_ATTRIBUTE_XML_SPACE);
|
/dports/www/moodle311/moodle/lib/spout/src/Spout/Reader/XLSX/Manager/ |
H A D | SharedStringsManager.php | 188 foreach ($textNodes as $textNode) { 189 if ($this->shouldExtractTextNodeValue($textNode)) { 190 $textNodeValue = $textNode->nodeValue; 191 $shouldPreserveWhitespace = $this->shouldPreserveWhitespace($textNode); 208 protected function shouldExtractTextNodeValue($textNode) argument 210 $parentTagName = $textNode->parentNode->localName; 221 protected function shouldPreserveWhitespace($textNode) argument 223 $spaceValue = $textNode->getAttribute(self::XML_ATTRIBUTE_XML_SPACE);
|
/dports/www/moodle39/moodle/lib/spout/src/Spout/Reader/XLSX/Manager/ |
H A D | SharedStringsManager.php | 188 foreach ($textNodes as $textNode) { 189 if ($this->shouldExtractTextNodeValue($textNode)) { 190 $textNodeValue = $textNode->nodeValue; 191 $shouldPreserveWhitespace = $this->shouldPreserveWhitespace($textNode); 208 protected function shouldExtractTextNodeValue($textNode) argument 210 $parentTagName = $textNode->parentNode->localName; 221 protected function shouldPreserveWhitespace($textNode) argument 223 $spaceValue = $textNode->getAttribute(self::XML_ATTRIBUTE_XML_SPACE);
|
/dports/lang/spidermonkey60/firefox-60.9.0/editor/libeditor/ |
H A D | TextEditorTest.cpp | 155 nsCOMPtr<nsINode> textNode = nodeList->Item(count - 1); in TestTextProperties() local 156 TEST_POINTER(textNode.get()); in TestTextProperties() 164 uint32_t length = textNode->Length(); in TestTextProperties() 165 selection->AsSelection()->Collapse(textNode, 0); in TestTextProperties() 166 selection->AsSelection()->Extend(textNode, length); in TestTextProperties() 210 selection->AsSelection()->Collapse(textNode, 1); in TestTextProperties() 211 selection->AsSelection()->Extend(textNode, length - 1); in TestTextProperties() 240 textNode = nodeList->Item(count - 2); in TestTextProperties() 241 TEST_POINTER(textNode.get()); in TestTextProperties() 242 length = textNode->Length(); in TestTextProperties() [all …]
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ua/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/ |
H A D | IntroText.java | 37 Node textNode = element.getFirstChild(); in IntroText() local 38 if (textNode == null) in IntroText() 40 if (textNode.getNodeType() == Node.TEXT_NODE in IntroText() 41 || textNode.getNodeType() == Node.CDATA_SECTION_NODE) { in IntroText() 43 text = textNode.getNodeValue(); in IntroText()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.pde.ui/ui/org.eclipse.pde.core/text/org/eclipse/pde/internal/core/text/ |
H A D | DocumentNodeFactory.java | 49 IDocumentTextNode textNode = new DocumentTextNode(); in createDocumentTextNode() local 50 textNode.setEnclosingElement(parent); in createDocumentTextNode() 51 parent.addTextNode(textNode); in createDocumentTextNode() 52 textNode.setText(content); in createDocumentTextNode() 53 return textNode; in createDocumentTextNode()
|
/dports/net/gscloud/gscloud-0.11.0/vendor/github.com/google/go-cmp/cmp/ |
H A D | report_references.go | 82 func wrapTrunkReferences(pp [2]value.Pointer, s textNode) textNode { argument 94 func wrapTrunkReference(p value.Pointer, printAddress bool, s textNode) textNode { argument 101 func makeLeafReference(p value.Pointer, printAddress bool) textNode { 114 func resolveReferences(s textNode) { argument 115 var walkNodes func(textNode, func(textNode)) 116 walkNodes = func(s textNode, f func(textNode)) { 130 walkNodes(s, func(s textNode) {
|
/dports/devel/gh/cli-2.4.0/vendor/github.com/google/go-cmp/cmp/ |
H A D | report_references.go | 82 func wrapTrunkReferences(pp [2]value.Pointer, s textNode) textNode { argument 94 func wrapTrunkReference(p value.Pointer, printAddress bool, s textNode) textNode { argument 101 func makeLeafReference(p value.Pointer, printAddress bool) textNode { 114 func resolveReferences(s textNode) { argument 115 var walkNodes func(textNode, func(textNode)) 116 walkNodes = func(s textNode, f func(textNode)) { 130 walkNodes(s, func(s textNode) {
|
/dports/net/evans/evans-0.9.1/vendor/github.com/google/go-cmp/cmp/ |
H A D | report_references.go | 82 func wrapTrunkReferences(pp [2]value.Pointer, s textNode) textNode { argument 94 func wrapTrunkReference(p value.Pointer, printAddress bool, s textNode) textNode { argument 101 func makeLeafReference(p value.Pointer, printAddress bool) textNode { 114 func resolveReferences(s textNode) { argument 115 var walkNodes func(textNode, func(textNode)) 116 walkNodes = func(s textNode, f func(textNode)) { 130 walkNodes(s, func(s textNode) {
|
/dports/security/vault/vault-1.8.2/vendor/go.mongodb.org/mongo-driver/vendor/github.com/google/go-cmp/cmp/ |
H A D | report_references.go | 82 func wrapTrunkReferences(pp [2]value.Pointer, s textNode) textNode { argument 94 func wrapTrunkReference(p value.Pointer, printAddress bool, s textNode) textNode { argument 101 func makeLeafReference(p value.Pointer, printAddress bool) textNode { 114 func resolveReferences(s textNode) { argument 115 var walkNodes func(textNode, func(textNode)) 116 walkNodes = func(s textNode, f func(textNode)) { 130 walkNodes(s, func(s textNode) {
|