5122 case XFA_Element::Ps:
5123 node = cppgc::MakeGarbageCollected<CXFA_Ps>(
5124 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5126 case XFA_Element::To:
5127 node = cppgc::MakeGarbageCollected<CXFA_To>(
5128 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5130 case XFA_Element::Ui:
5131 node = cppgc::MakeGarbageCollected<CXFA_Ui>(
5132 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5134 case XFA_Element::RecordSet:
5135 node = cppgc::MakeGarbageCollected<CXFA_RecordSet>(
5136 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5138 case XFA_Element::SubsetBelow:
5139 node = cppgc::MakeGarbageCollected<CXFA_SubsetBelow>(
5140 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5142 case XFA_Element::SubformSet:
5143 node = cppgc::MakeGarbageCollected<CXFA_SubformSet>(
5144 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5146 case XFA_Element::AdobeExtensionLevel:
5147 node = cppgc::MakeGarbageCollected<CXFA_AdobeExtensionLevel>(
5148 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5150 case XFA_Element::Typeface:
5151 node = cppgc::MakeGarbageCollected<CXFA_Typeface>(
5152 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5154 case XFA_Element::Break:
5155 node = cppgc::MakeGarbageCollected<CXFA_Break>(
5156 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5158 case XFA_Element::FontInfo:
5159 node = cppgc::MakeGarbageCollected<CXFA_FontInfo>(
5160 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5162 case XFA_Element::NumberPattern:
5163 node = cppgc::MakeGarbageCollected<CXFA_NumberPattern>(
5164 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5166 case XFA_Element::DynamicRender:
5167 node = cppgc::MakeGarbageCollected<CXFA_DynamicRender>(
5168 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5170 case XFA_Element::PrintScaling:
5171 node = cppgc::MakeGarbageCollected<CXFA_PrintScaling>(
5172 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5174 case XFA_Element::CheckButton:
5175 node = cppgc::MakeGarbageCollected<CXFA_CheckButton>(
5176 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5178 case XFA_Element::DatePatterns:
5179 node = cppgc::MakeGarbageCollected<CXFA_DatePatterns>(
5180 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5182 case XFA_Element::SourceSet:
5183 node = cppgc::MakeGarbageCollected<CXFA_SourceSet>(
5184 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5186 case XFA_Element::Amd:
5187 node = cppgc::MakeGarbageCollected<CXFA_Amd>(
5188 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5190 case XFA_Element::Arc:
5191 node = cppgc::MakeGarbageCollected<CXFA_Arc>(
5192 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5194 case XFA_Element::Day:
5195 node = cppgc::MakeGarbageCollected<CXFA_Day>(
5196 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5198 case XFA_Element::Era:
5199 node = cppgc::MakeGarbageCollected<CXFA_Era>(
5200 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5202 case XFA_Element::Jog:
5203 node = cppgc::MakeGarbageCollected<CXFA_Jog>(
5204 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5206 case XFA_Element::Log:
5207 node = cppgc::MakeGarbageCollected<CXFA_Log>(
5208 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5210 case XFA_Element::Map:
5211 node = cppgc::MakeGarbageCollected<CXFA_Map>(
5212 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5214 case XFA_Element::Mdp:
5215 node = cppgc::MakeGarbageCollected<CXFA_Mdp>(
5216 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5218 case XFA_Element::BreakBefore:
5219 node = cppgc::MakeGarbageCollected<CXFA_BreakBefore>(
5220 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5222 case XFA_Element::Oid:
5223 node = cppgc::MakeGarbageCollected<CXFA_Oid>(
5224 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5226 case XFA_Element::Pcl:
5227 node = cppgc::MakeGarbageCollected<CXFA_Pcl>(
5228 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5230 case XFA_Element::Pdf:
5231 node = cppgc::MakeGarbageCollected<CXFA_Pdf>(
5232 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5234 case XFA_Element::Ref:
5235 node = cppgc::MakeGarbageCollected<CXFA_Ref>(
5236 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5238 case XFA_Element::Uri:
5239 node = cppgc::MakeGarbageCollected<CXFA_Uri>(
5240 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5242 case XFA_Element::Xdc:
5243 node = cppgc::MakeGarbageCollected<CXFA_Xdc>(
5244 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5246 case XFA_Element::Xdp:
5247 node = cppgc::MakeGarbageCollected<CXFA_Xdp>(
5248 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5250 case XFA_Element::Xfa:
5251 node = cppgc::MakeGarbageCollected<CXFA_Xfa>(
5252 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5254 case XFA_Element::Xsl:
5255 node = cppgc::MakeGarbageCollected<CXFA_Xsl>(
5256 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5258 case XFA_Element::Zpl:
5259 node = cppgc::MakeGarbageCollected<CXFA_Zpl>(
5260 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5262 case XFA_Element::Cache:
5263 node = cppgc::MakeGarbageCollected<CXFA_Cache>(
5264 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5266 case XFA_Element::Margin:
5267 node = cppgc::MakeGarbageCollected<CXFA_Margin>(
5268 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5270 case XFA_Element::KeyUsage:
5271 node = cppgc::MakeGarbageCollected<CXFA_KeyUsage>(
5272 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5274 case XFA_Element::Exclude:
5275 node = cppgc::MakeGarbageCollected<CXFA_Exclude>(
5276 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5278 case XFA_Element::ChoiceList:
5279 node = cppgc::MakeGarbageCollected<CXFA_ChoiceList>(
5280 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5282 case XFA_Element::Level:
5283 node = cppgc::MakeGarbageCollected<CXFA_Level>(
5284 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5286 case XFA_Element::LabelPrinter:
5287 node = cppgc::MakeGarbageCollected<CXFA_LabelPrinter>(
5288 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5290 case XFA_Element::CalendarSymbols:
5291 node = cppgc::MakeGarbageCollected<CXFA_CalendarSymbols>(
5292 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5294 case XFA_Element::Para:
5295 node = cppgc::MakeGarbageCollected<CXFA_Para>(
5296 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5298 case XFA_Element::Part:
5299 node = cppgc::MakeGarbageCollected<CXFA_Part>(
5300 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5302 case XFA_Element::Pdfa:
5303 node = cppgc::MakeGarbageCollected<CXFA_Pdfa>(
5304 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5306 case XFA_Element::Filter:
5307 node = cppgc::MakeGarbageCollected<CXFA_Filter>(
5308 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5310 case XFA_Element::Present:
5311 node = cppgc::MakeGarbageCollected<CXFA_Present>(
5312 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5314 case XFA_Element::Pagination:
5315 node = cppgc::MakeGarbageCollected<CXFA_Pagination>(
5316 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5318 case XFA_Element::Encoding:
5319 node = cppgc::MakeGarbageCollected<CXFA_Encoding>(
5320 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5322 case XFA_Element::Event:
5323 node = cppgc::MakeGarbageCollected<CXFA_Event>(
5324 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5326 case XFA_Element::Whitespace:
5327 node = cppgc::MakeGarbageCollected<CXFA_Whitespace>(
5328 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5330 case XFA_Element::DefaultUi:
5331 node = cppgc::MakeGarbageCollected<CXFA_DefaultUi>(
5332 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5334 case XFA_Element::DataModel:
5335 node = cppgc::MakeGarbageCollected<CXFA_DataModel>(
5336 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5338 case XFA_Element::Barcode:
5339 node = cppgc::MakeGarbageCollected<CXFA_Barcode>(
5340 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5342 case XFA_Element::TimePattern:
5343 node = cppgc::MakeGarbageCollected<CXFA_TimePattern>(
5344 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5346 case XFA_Element::BatchOutput:
5347 node = cppgc::MakeGarbageCollected<CXFA_BatchOutput>(
5348 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5350 case XFA_Element::Enforce:
5351 node = cppgc::MakeGarbageCollected<CXFA_Enforce>(
5352 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5354 case XFA_Element::CurrencySymbols:
5355 node = cppgc::MakeGarbageCollected<CXFA_CurrencySymbols>(
5356 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5358 case XFA_Element::AddSilentPrint:
5359 node = cppgc::MakeGarbageCollected<CXFA_AddSilentPrint>(
5360 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5362 case XFA_Element::Rename:
5363 node = cppgc::MakeGarbageCollected<CXFA_Rename>(
5364 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5366 case XFA_Element::Operation:
5367 node = cppgc::MakeGarbageCollected<CXFA_Operation>(
5368 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5370 case XFA_Element::Typefaces:
5371 node = cppgc::MakeGarbageCollected<CXFA_Typefaces>(
5372 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5374 case XFA_Element::SubjectDNs:
5375 node = cppgc::MakeGarbageCollected<CXFA_SubjectDNs>(
5376 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5378 case XFA_Element::Issuers:
5379 node = cppgc::MakeGarbageCollected<CXFA_Issuers>(
5380 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5382 case XFA_Element::WsdlConnection:
5383 node = cppgc::MakeGarbageCollected<CXFA_WsdlConnection>(
5384 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5386 case XFA_Element::Debug:
5387 node = cppgc::MakeGarbageCollected<CXFA_Debug>(
5388 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5390 case XFA_Element::Delta:
5391 node = cppgc::MakeGarbageCollected<CXFA_Delta>(
5392 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5394 case XFA_Element::EraNames:
5395 node = cppgc::MakeGarbageCollected<CXFA_EraNames>(
5396 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5398 case XFA_Element::ModifyAnnots:
5399 node = cppgc::MakeGarbageCollected<CXFA_ModifyAnnots>(
5400 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5402 case XFA_Element::StartNode:
5403 node = cppgc::MakeGarbageCollected<CXFA_StartNode>(
5404 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5406 case XFA_Element::Button:
5407 node = cppgc::MakeGarbageCollected<CXFA_Button>(
5408 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5410 case XFA_Element::Format:
5411 node = cppgc::MakeGarbageCollected<CXFA_Format>(
5412 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5414 case XFA_Element::Border:
5415 node = cppgc::MakeGarbageCollected<CXFA_Border>(
5416 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5418 case XFA_Element::Area:
5419 node = cppgc::MakeGarbageCollected<CXFA_Area>(
5420 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5422 case XFA_Element::Hyphenation:
5423 node = cppgc::MakeGarbageCollected<CXFA_Hyphenation>(
5424 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5426 case XFA_Element::Text:
5427 node = cppgc::MakeGarbageCollected<CXFA_Text>(
5428 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5430 case XFA_Element::Time:
5431 node = cppgc::MakeGarbageCollected<CXFA_Time>(
5432 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5434 case XFA_Element::Type:
5435 node = cppgc::MakeGarbageCollected<CXFA_Type>(
5436 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5438 case XFA_Element::Overprint:
5439 node = cppgc::MakeGarbageCollected<CXFA_Overprint>(
5440 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5442 case XFA_Element::Certificates:
5443 node = cppgc::MakeGarbageCollected<CXFA_Certificates>(
5444 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5446 case XFA_Element::EncryptionMethods:
5447 node = cppgc::MakeGarbageCollected<CXFA_EncryptionMethods>(
5448 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5450 case XFA_Element::SetProperty:
5451 node = cppgc::MakeGarbageCollected<CXFA_SetProperty>(
5452 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5454 case XFA_Element::PrinterName:
5455 node = cppgc::MakeGarbageCollected<CXFA_PrinterName>(
5456 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5458 case XFA_Element::StartPage:
5459 node = cppgc::MakeGarbageCollected<CXFA_StartPage>(
5460 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5462 case XFA_Element::PageOffset:
5463 node = cppgc::MakeGarbageCollected<CXFA_PageOffset>(
5464 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5466 case XFA_Element::DateTime:
5467 node = cppgc::MakeGarbageCollected<CXFA_DateTime>(
5468 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5470 case XFA_Element::Comb:
5471 node = cppgc::MakeGarbageCollected<CXFA_Comb>(
5472 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5474 case XFA_Element::Pattern:
5475 node = cppgc::MakeGarbageCollected<CXFA_Pattern>(
5476 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5478 case XFA_Element::IfEmpty:
5479 node = cppgc::MakeGarbageCollected<CXFA_IfEmpty>(
5480 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5482 case XFA_Element::SuppressBanner:
5483 node = cppgc::MakeGarbageCollected<CXFA_SuppressBanner>(
5484 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5486 case XFA_Element::OutputBin:
5487 node = cppgc::MakeGarbageCollected<CXFA_OutputBin>(
5488 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5490 case XFA_Element::Field:
5491 node = cppgc::MakeGarbageCollected<CXFA_Field>(
5492 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5494 case XFA_Element::Agent:
5495 node = cppgc::MakeGarbageCollected<CXFA_Agent>(
5496 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5498 case XFA_Element::OutputXSL:
5499 node = cppgc::MakeGarbageCollected<CXFA_OutputXSL>(
5500 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5502 case XFA_Element::AdjustData:
5503 node = cppgc::MakeGarbageCollected<CXFA_AdjustData>(
5504 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5506 case XFA_Element::AutoSave:
5507 node = cppgc::MakeGarbageCollected<CXFA_AutoSave>(
5508 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5510 case XFA_Element::ContentArea:
5511 node = cppgc::MakeGarbageCollected<CXFA_ContentArea>(
5512 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5514 case XFA_Element::WsdlAddress:
5515 node = cppgc::MakeGarbageCollected<CXFA_WsdlAddress>(
5516 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5518 case XFA_Element::Solid:
5519 node = cppgc::MakeGarbageCollected<CXFA_Solid>(
5520 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5522 case XFA_Element::DateTimeSymbols:
5523 node = cppgc::MakeGarbageCollected<CXFA_DateTimeSymbols>(
5524 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5526 case XFA_Element::EncryptionLevel:
5527 node = cppgc::MakeGarbageCollected<CXFA_EncryptionLevel>(
5528 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5530 case XFA_Element::Edge:
5531 node = cppgc::MakeGarbageCollected<CXFA_Edge>(
5532 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5534 case XFA_Element::Stipple:
5535 node = cppgc::MakeGarbageCollected<CXFA_Stipple>(
5536 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5538 case XFA_Element::Attributes:
5539 node = cppgc::MakeGarbageCollected<CXFA_Attributes>(
5540 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5542 case XFA_Element::VersionControl:
5543 node = cppgc::MakeGarbageCollected<CXFA_VersionControl>(
5544 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5546 case XFA_Element::Meridiem:
5547 node = cppgc::MakeGarbageCollected<CXFA_Meridiem>(
5548 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5550 case XFA_Element::ExclGroup:
5551 node = cppgc::MakeGarbageCollected<CXFA_ExclGroup>(
5552 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5554 case XFA_Element::ToolTip:
5555 node = cppgc::MakeGarbageCollected<CXFA_ToolTip>(
5556 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5558 case XFA_Element::Compress:
5559 node = cppgc::MakeGarbageCollected<CXFA_Compress>(
5560 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5562 case XFA_Element::Reason:
5563 node = cppgc::MakeGarbageCollected<CXFA_Reason>(
5564 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5566 case XFA_Element::Execute:
5567 node = cppgc::MakeGarbageCollected<CXFA_Execute>(
5568 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5570 case XFA_Element::ContentCopy:
5571 node = cppgc::MakeGarbageCollected<CXFA_ContentCopy>(
5572 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5574 case XFA_Element::DateTimeEdit:
5575 node = cppgc::MakeGarbageCollected<CXFA_DateTimeEdit>(
5576 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5578 case XFA_Element::Config:
5579 node = cppgc::MakeGarbageCollected<CXFA_Config>(
5580 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5582 case XFA_Element::Image:
5583 node = cppgc::MakeGarbageCollected<CXFA_Image>(
5584 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5586 case XFA_Element::SharpxHTML:
5587 node = cppgc::MakeGarbageCollected<CXFA_SharpxHTML>(
5588 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5590 case XFA_Element::NumberOfCopies:
5591 node = cppgc::MakeGarbageCollected<CXFA_NumberOfCopies>(
5592 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5594 case XFA_Element::BehaviorOverride:
5595 node = cppgc::MakeGarbageCollected<CXFA_BehaviorOverride>(
5596 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5598 case XFA_Element::TimeStamp:
5599 node = cppgc::MakeGarbageCollected<CXFA_TimeStamp>(
5600 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5602 case XFA_Element::Month:
5603 node = cppgc::MakeGarbageCollected<CXFA_Month>(
5604 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5606 case XFA_Element::ViewerPreferences:
5607 node = cppgc::MakeGarbageCollected<CXFA_ViewerPreferences>(
5608 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5610 case XFA_Element::ScriptModel:
5611 node = cppgc::MakeGarbageCollected<CXFA_ScriptModel>(
5612 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5614 case XFA_Element::Decimal:
5615 node = cppgc::MakeGarbageCollected<CXFA_Decimal>(
5616 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5618 case XFA_Element::Subform:
5619 node = cppgc::MakeGarbageCollected<CXFA_Subform>(
5620 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5622 case XFA_Element::Select:
5623 node = cppgc::MakeGarbageCollected<CXFA_Select>(
5624 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5626 case XFA_Element::Window:
5627 node = cppgc::MakeGarbageCollected<CXFA_Window>(
5628 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5630 case XFA_Element::LocaleSet:
5631 node = cppgc::MakeGarbageCollected<CXFA_LocaleSet>(
5632 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5634 case XFA_Element::Handler:
5635 node = cppgc::MakeGarbageCollected<CXFA_Handler>(
5636 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5638 case XFA_Element::Presence:
5639 node = cppgc::MakeGarbageCollected<CXFA_Presence>(
5640 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5642 case XFA_Element::Record:
5643 node = cppgc::MakeGarbageCollected<CXFA_Record>(
5644 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5646 case XFA_Element::Embed:
5647 node = cppgc::MakeGarbageCollected<CXFA_Embed>(
5648 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5650 case XFA_Element::Version:
5651 node = cppgc::MakeGarbageCollected<CXFA_Version>(
5652 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5654 case XFA_Element::Command:
5655 node = cppgc::MakeGarbageCollected<CXFA_Command>(
5656 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5658 case XFA_Element::Copies:
5659 node = cppgc::MakeGarbageCollected<CXFA_Copies>(
5660 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5662 case XFA_Element::Staple:
5663 node = cppgc::MakeGarbageCollected<CXFA_Staple>(
5664 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5666 case XFA_Element::SubmitFormat:
5667 node = cppgc::MakeGarbageCollected<CXFA_SubmitFormat>(
5668 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5670 case XFA_Element::Boolean:
5671 node = cppgc::MakeGarbageCollected<CXFA_Boolean>(
5672 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5674 case XFA_Element::Message:
5675 node = cppgc::MakeGarbageCollected<CXFA_Message>(
5676 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5678 case XFA_Element::Output:
5679 node = cppgc::MakeGarbageCollected<CXFA_Output>(
5680 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5682 case XFA_Element::PsMap:
5683 node = cppgc::MakeGarbageCollected<CXFA_PsMap>(
5684 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5686 case XFA_Element::ExcludeNS:
5687 node = cppgc::MakeGarbageCollected<CXFA_ExcludeNS>(
5688 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5690 case XFA_Element::Assist:
5691 node = cppgc::MakeGarbageCollected<CXFA_Assist>(
5692 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5694 case XFA_Element::Picture:
5695 node = cppgc::MakeGarbageCollected<CXFA_Picture>(
5696 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5698 case XFA_Element::Traversal:
5699 node = cppgc::MakeGarbageCollected<CXFA_Traversal>(
5700 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5702 case XFA_Element::SilentPrint:
5703 node = cppgc::MakeGarbageCollected<CXFA_SilentPrint>(
5704 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5706 case XFA_Element::WebClient:
5707 node = cppgc::MakeGarbageCollected<CXFA_WebClient>(
5708 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5710 case XFA_Element::Producer:
5711 node = cppgc::MakeGarbageCollected<CXFA_Producer>(
5712 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5714 case XFA_Element::Corner:
5715 node = cppgc::MakeGarbageCollected<CXFA_Corner>(
5716 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5718 case XFA_Element::MsgId:
5719 node = cppgc::MakeGarbageCollected<CXFA_MsgId>(
5720 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5722 case XFA_Element::Color:
5723 node = cppgc::MakeGarbageCollected<CXFA_Color>(
5724 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5726 case XFA_Element::Keep:
5727 node = cppgc::MakeGarbageCollected<CXFA_Keep>(
5728 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5730 case XFA_Element::Query:
5731 node = cppgc::MakeGarbageCollected<CXFA_Query>(
5732 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5734 case XFA_Element::Insert:
5735 node = cppgc::MakeGarbageCollected<CXFA_Insert>(
5736 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5738 case XFA_Element::ImageEdit:
5739 node = cppgc::MakeGarbageCollected<CXFA_ImageEdit>(
5740 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5742 case XFA_Element::Validate:
5743 node = cppgc::MakeGarbageCollected<CXFA_Validate>(
5744 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5746 case XFA_Element::DigestMethods:
5747 node = cppgc::MakeGarbageCollected<CXFA_DigestMethods>(
5748 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5750 case XFA_Element::NumberPatterns:
5751 node = cppgc::MakeGarbageCollected<CXFA_NumberPatterns>(
5752 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5754 case XFA_Element::PageSet:
5755 node = cppgc::MakeGarbageCollected<CXFA_PageSet>(
5756 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5758 case XFA_Element::Integer:
5759 node = cppgc::MakeGarbageCollected<CXFA_Integer>(
5760 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5762 case XFA_Element::SoapAddress:
5763 node = cppgc::MakeGarbageCollected<CXFA_SoapAddress>(
5764 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5766 case XFA_Element::Equate:
5767 node = cppgc::MakeGarbageCollected<CXFA_Equate>(
5768 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5770 case XFA_Element::FormFieldFilling:
5771 node = cppgc::MakeGarbageCollected<CXFA_FormFieldFilling>(
5772 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5774 case XFA_Element::PageRange:
5775 node = cppgc::MakeGarbageCollected<CXFA_PageRange>(
5776 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5778 case XFA_Element::Update:
5779 node = cppgc::MakeGarbageCollected<CXFA_Update>(
5780 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5782 case XFA_Element::ConnectString:
5783 node = cppgc::MakeGarbageCollected<CXFA_ConnectString>(
5784 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5786 case XFA_Element::Mode:
5787 node = cppgc::MakeGarbageCollected<CXFA_Mode>(
5788 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5790 case XFA_Element::Layout:
5791 node = cppgc::MakeGarbageCollected<CXFA_Layout>(
5792 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5794 case XFA_Element::Sharpxml:
5795 node = cppgc::MakeGarbageCollected<CXFA_Sharpxml>(
5796 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5798 case XFA_Element::XsdConnection:
5799 node = cppgc::MakeGarbageCollected<CXFA_XsdConnection>(
5800 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5802 case XFA_Element::Traverse:
5803 node = cppgc::MakeGarbageCollected<CXFA_Traverse>(
5804 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5806 case XFA_Element::Encodings:
5807 node = cppgc::MakeGarbageCollected<CXFA_Encodings>(
5808 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5810 case XFA_Element::Template:
5811 node = cppgc::MakeGarbageCollected<CXFA_Template>(
5812 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5814 case XFA_Element::Acrobat:
5815 node = cppgc::MakeGarbageCollected<CXFA_Acrobat>(
5816 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5818 case XFA_Element::ValidationMessaging:
5819 node = cppgc::MakeGarbageCollected<CXFA_ValidationMessaging>(
5820 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5822 case XFA_Element::Signing:
5823 node = cppgc::MakeGarbageCollected<CXFA_Signing>(
5824 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5826 case XFA_Element::Script:
5827 node = cppgc::MakeGarbageCollected<CXFA_Script>(
5828 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5830 case XFA_Element::AddViewerPreferences:
5831 node = cppgc::MakeGarbageCollected<CXFA_AddViewerPreferences>(
5832 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5834 case XFA_Element::AlwaysEmbed:
5835 node = cppgc::MakeGarbageCollected<CXFA_AlwaysEmbed>(
5836 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5838 case XFA_Element::PasswordEdit:
5839 node = cppgc::MakeGarbageCollected<CXFA_PasswordEdit>(
5840 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5842 case XFA_Element::NumericEdit:
5843 node = cppgc::MakeGarbageCollected<CXFA_NumericEdit>(
5844 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5846 case XFA_Element::EncryptionMethod:
5847 node = cppgc::MakeGarbageCollected<CXFA_EncryptionMethod>(
5848 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5850 case XFA_Element::Change:
5851 node = cppgc::MakeGarbageCollected<CXFA_Change>(
5852 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5854 case XFA_Element::PageArea:
5855 node = cppgc::MakeGarbageCollected<CXFA_PageArea>(
5856 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5858 case XFA_Element::SubmitUrl:
5859 node = cppgc::MakeGarbageCollected<CXFA_SubmitUrl>(
5860 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5862 case XFA_Element::Oids:
5863 node = cppgc::MakeGarbageCollected<CXFA_Oids>(
5864 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5866 case XFA_Element::Signature:
5867 node = cppgc::MakeGarbageCollected<CXFA_Signature>(
5868 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5870 case XFA_Element::ADBE_JSConsole:
5871 node = cppgc::MakeGarbageCollected<CXFA_ADBE_JSConsole>(
5872 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5874 case XFA_Element::Caption:
5875 node = cppgc::MakeGarbageCollected<CXFA_Caption>(
5876 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5878 case XFA_Element::Relevant:
5879 node = cppgc::MakeGarbageCollected<CXFA_Relevant>(
5880 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5882 case XFA_Element::FlipLabel:
5883 node = cppgc::MakeGarbageCollected<CXFA_FlipLabel>(
5884 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5886 case XFA_Element::ExData:
5887 node = cppgc::MakeGarbageCollected<CXFA_ExData>(
5888 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5890 case XFA_Element::DayNames:
5891 node = cppgc::MakeGarbageCollected<CXFA_DayNames>(
5892 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5894 case XFA_Element::SoapAction:
5895 node = cppgc::MakeGarbageCollected<CXFA_SoapAction>(
5896 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5898 case XFA_Element::DefaultTypeface:
5899 node = cppgc::MakeGarbageCollected<CXFA_DefaultTypeface>(
5900 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5902 case XFA_Element::Manifest:
5903 node = cppgc::MakeGarbageCollected<CXFA_Manifest>(
5904 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5906 case XFA_Element::Overflow:
5907 node = cppgc::MakeGarbageCollected<CXFA_Overflow>(
5908 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5910 case XFA_Element::Linear:
5911 node = cppgc::MakeGarbageCollected<CXFA_Linear>(
5912 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5914 case XFA_Element::CurrencySymbol:
5915 node = cppgc::MakeGarbageCollected<CXFA_CurrencySymbol>(
5916 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5918 case XFA_Element::Delete:
5919 node = cppgc::MakeGarbageCollected<CXFA_Delete>(
5920 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5922 case XFA_Element::DigestMethod:
5923 node = cppgc::MakeGarbageCollected<CXFA_DigestMethod>(
5924 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5926 case XFA_Element::InstanceManager:
5927 node = cppgc::MakeGarbageCollected<CXFA_InstanceManager>(
5928 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5930 case XFA_Element::EquateRange:
5931 node = cppgc::MakeGarbageCollected<CXFA_EquateRange>(
5932 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5934 case XFA_Element::Medium:
5935 node = cppgc::MakeGarbageCollected<CXFA_Medium>(
5936 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5938 case XFA_Element::TextEdit:
5939 node = cppgc::MakeGarbageCollected<CXFA_TextEdit>(
5940 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5942 case XFA_Element::TemplateCache:
5943 node = cppgc::MakeGarbageCollected<CXFA_TemplateCache>(
5944 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5946 case XFA_Element::CompressObjectStream:
5947 node = cppgc::MakeGarbageCollected<CXFA_CompressObjectStream>(
5948 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5950 case XFA_Element::DataValue:
5951 node = cppgc::MakeGarbageCollected<CXFA_DataValue>(
5952 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5954 case XFA_Element::AccessibleContent:
5955 node = cppgc::MakeGarbageCollected<CXFA_AccessibleContent>(
5956 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5958 case XFA_Element::IncludeXDPContent:
5959 node = cppgc::MakeGarbageCollected<CXFA_IncludeXDPContent>(
5960 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5962 case XFA_Element::XmlConnection:
5963 node = cppgc::MakeGarbageCollected<CXFA_XmlConnection>(
5964 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5966 case XFA_Element::ValidateApprovalSignatures:
5967 node = cppgc::MakeGarbageCollected<CXFA_ValidateApprovalSignatures>(
5968 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5970 case XFA_Element::SignData:
5971 node = cppgc::MakeGarbageCollected<CXFA_SignData>(
5972 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5974 case XFA_Element::Packets:
5975 node = cppgc::MakeGarbageCollected<CXFA_Packets>(
5976 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5978 case XFA_Element::DatePattern:
5979 node = cppgc::MakeGarbageCollected<CXFA_DatePattern>(
5980 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5982 case XFA_Element::DuplexOption:
5983 node = cppgc::MakeGarbageCollected<CXFA_DuplexOption>(
5984 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5986 case XFA_Element::Base:
5987 node = cppgc::MakeGarbageCollected<CXFA_Base>(
5988 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5990 case XFA_Element::Bind:
5991 node = cppgc::MakeGarbageCollected<CXFA_Bind>(
5992 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5994 case XFA_Element::Compression:
5995 node = cppgc::MakeGarbageCollected<CXFA_Compression>(
5996 doc->GetHeap()->GetAllocationHandle(), doc, packet);
5998 case XFA_Element::User:
5999 node = cppgc::MakeGarbageCollected<CXFA_User>(
6000 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6002 case XFA_Element::Rectangle:
6003 node = cppgc::MakeGarbageCollected<CXFA_Rectangle>(
6004 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6006 case XFA_Element::EffectiveOutputPolicy:
6007 node = cppgc::MakeGarbageCollected<CXFA_EffectiveOutputPolicy>(
6008 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6010 case XFA_Element::ADBE_JSDebugger:
6011 node = cppgc::MakeGarbageCollected<CXFA_ADBE_JSDebugger>(
6012 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6014 case XFA_Element::Acrobat7:
6015 node = cppgc::MakeGarbageCollected<CXFA_Acrobat7>(
6016 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6018 case XFA_Element::Interactive:
6019 node = cppgc::MakeGarbageCollected<CXFA_Interactive>(
6020 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6022 case XFA_Element::Locale:
6023 node = cppgc::MakeGarbageCollected<CXFA_Locale>(
6024 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6026 case XFA_Element::CurrentPage:
6027 node = cppgc::MakeGarbageCollected<CXFA_CurrentPage>(
6028 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6030 case XFA_Element::Data:
6031 node = cppgc::MakeGarbageCollected<CXFA_Data>(
6032 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6034 case XFA_Element::Date:
6035 node = cppgc::MakeGarbageCollected<CXFA_Date>(
6036 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6038 case XFA_Element::Desc:
6039 node = cppgc::MakeGarbageCollected<CXFA_Desc>(
6040 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6042 case XFA_Element::Encrypt:
6043 node = cppgc::MakeGarbageCollected<CXFA_Encrypt>(
6044 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6046 case XFA_Element::Draw:
6047 node = cppgc::MakeGarbageCollected<CXFA_Draw>(
6048 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6050 case XFA_Element::Encryption:
6051 node = cppgc::MakeGarbageCollected<CXFA_Encryption>(
6052 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6054 case XFA_Element::MeridiemNames:
6055 node = cppgc::MakeGarbageCollected<CXFA_MeridiemNames>(
6056 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6058 case XFA_Element::Messaging:
6059 node = cppgc::MakeGarbageCollected<CXFA_Messaging>(
6060 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6062 case XFA_Element::Speak:
6063 node = cppgc::MakeGarbageCollected<CXFA_Speak>(
6064 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6066 case XFA_Element::DataGroup:
6067 node = cppgc::MakeGarbageCollected<CXFA_DataGroup>(
6068 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6070 case XFA_Element::Common:
6071 node = cppgc::MakeGarbageCollected<CXFA_Common>(
6072 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6074 case XFA_Element::Sharptext:
6075 node = cppgc::MakeGarbageCollected<CXFA_Sharptext>(
6076 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6078 case XFA_Element::PaginationOverride:
6079 node = cppgc::MakeGarbageCollected<CXFA_PaginationOverride>(
6080 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6082 case XFA_Element::Reasons:
6083 node = cppgc::MakeGarbageCollected<CXFA_Reasons>(
6084 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6086 case XFA_Element::SignatureProperties:
6087 node = cppgc::MakeGarbageCollected<CXFA_SignatureProperties>(
6088 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6090 case XFA_Element::Threshold:
6091 node = cppgc::MakeGarbageCollected<CXFA_Threshold>(
6092 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6094 case XFA_Element::AppearanceFilter:
6095 node = cppgc::MakeGarbageCollected<CXFA_AppearanceFilter>(
6096 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6098 case XFA_Element::Fill:
6099 node = cppgc::MakeGarbageCollected<CXFA_Fill>(
6100 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6102 case XFA_Element::Font:
6103 node = cppgc::MakeGarbageCollected<CXFA_Font>(
6104 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6106 case XFA_Element::Form:
6107 node = cppgc::MakeGarbageCollected<CXFA_Form>(
6108 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6110 case XFA_Element::MediumInfo:
6111 node = cppgc::MakeGarbageCollected<CXFA_MediumInfo>(
6112 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6114 case XFA_Element::Certificate:
6115 node = cppgc::MakeGarbageCollected<CXFA_Certificate>(
6116 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6118 case XFA_Element::Password:
6119 node = cppgc::MakeGarbageCollected<CXFA_Password>(
6120 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6122 case XFA_Element::RunScripts:
6123 node = cppgc::MakeGarbageCollected<CXFA_RunScripts>(
6124 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6126 case XFA_Element::Trace:
6127 node = cppgc::MakeGarbageCollected<CXFA_Trace>(
6128 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6130 case XFA_Element::Float:
6131 node = cppgc::MakeGarbageCollected<CXFA_Float>(
6132 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6134 case XFA_Element::RenderPolicy:
6135 node = cppgc::MakeGarbageCollected<CXFA_RenderPolicy>(
6136 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6138 case XFA_Element::Destination:
6139 node = cppgc::MakeGarbageCollected<CXFA_Destination>(
6140 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6142 case XFA_Element::Value:
6143 node = cppgc::MakeGarbageCollected<CXFA_Value>(
6144 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6146 case XFA_Element::Bookend:
6147 node = cppgc::MakeGarbageCollected<CXFA_Bookend>(
6148 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6150 case XFA_Element::ExObject:
6151 node = cppgc::MakeGarbageCollected<CXFA_ExObject>(
6152 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6154 case XFA_Element::OpenAction:
6155 node = cppgc::MakeGarbageCollected<CXFA_OpenAction>(
6156 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6158 case XFA_Element::NeverEmbed:
6159 node = cppgc::MakeGarbageCollected<CXFA_NeverEmbed>(
6160 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6162 case XFA_Element::BindItems:
6163 node = cppgc::MakeGarbageCollected<CXFA_BindItems>(
6164 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6166 case XFA_Element::Calculate:
6167 node = cppgc::MakeGarbageCollected<CXFA_Calculate>(
6168 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6170 case XFA_Element::Print:
6171 node = cppgc::MakeGarbageCollected<CXFA_Print>(
6172 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6174 case XFA_Element::Extras:
6175 node = cppgc::MakeGarbageCollected<CXFA_Extras>(
6176 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6178 case XFA_Element::Proto:
6179 node = cppgc::MakeGarbageCollected<CXFA_Proto>(
6180 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6182 case XFA_Element::DSigData:
6183 node = cppgc::MakeGarbageCollected<CXFA_DSigData>(
6184 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6186 case XFA_Element::Creator:
6187 node = cppgc::MakeGarbageCollected<CXFA_Creator>(
6188 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6190 case XFA_Element::Connect:
6191 node = cppgc::MakeGarbageCollected<CXFA_Connect>(
6192 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6194 case XFA_Element::Permissions:
6195 node = cppgc::MakeGarbageCollected<CXFA_Permissions>(
6196 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6198 case XFA_Element::ConnectionSet:
6199 node = cppgc::MakeGarbageCollected<CXFA_ConnectionSet>(
6200 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6202 case XFA_Element::Submit:
6203 node = cppgc::MakeGarbageCollected<CXFA_Submit>(
6204 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6206 case XFA_Element::Range:
6207 node = cppgc::MakeGarbageCollected<CXFA_Range>(
6208 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6210 case XFA_Element::Linearized:
6211 node = cppgc::MakeGarbageCollected<CXFA_Linearized>(
6212 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6214 case XFA_Element::Packet:
6215 node = cppgc::MakeGarbageCollected<CXFA_Packet>(
6216 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6218 case XFA_Element::RootElement:
6219 node = cppgc::MakeGarbageCollected<CXFA_RootElement>(
6220 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6222 case XFA_Element::PlaintextMetadata:
6223 node = cppgc::MakeGarbageCollected<CXFA_PlaintextMetadata>(
6224 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6226 case XFA_Element::NumberSymbols:
6227 node = cppgc::MakeGarbageCollected<CXFA_NumberSymbols>(
6228 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6230 case XFA_Element::PrintHighQuality:
6231 node = cppgc::MakeGarbageCollected<CXFA_PrintHighQuality>(
6232 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6234 case XFA_Element::Driver:
6235 node = cppgc::MakeGarbageCollected<CXFA_Driver>(
6236 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6238 case XFA_Element::IncrementalLoad:
6239 node = cppgc::MakeGarbageCollected<CXFA_IncrementalLoad>(
6240 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6242 case XFA_Element::SubjectDN:
6243 node = cppgc::MakeGarbageCollected<CXFA_SubjectDN>(
6244 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6246 case XFA_Element::CompressLogicalStructure:
6247 node = cppgc::MakeGarbageCollected<CXFA_CompressLogicalStructure>(
6248 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6250 case XFA_Element::IncrementalMerge:
6251 node = cppgc::MakeGarbageCollected<CXFA_IncrementalMerge>(
6252 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6254 case XFA_Element::Radial:
6255 node = cppgc::MakeGarbageCollected<CXFA_Radial>(
6256 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6258 case XFA_Element::Variables:
6259 node = cppgc::MakeGarbageCollected<CXFA_Variables>(
6260 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6262 case XFA_Element::TimePatterns:
6263 node = cppgc::MakeGarbageCollected<CXFA_TimePatterns>(
6264 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6266 case XFA_Element::EffectiveInputPolicy:
6267 node = cppgc::MakeGarbageCollected<CXFA_EffectiveInputPolicy>(
6268 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6270 case XFA_Element::NameAttr:
6271 node = cppgc::MakeGarbageCollected<CXFA_NameAttr>(
6272 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6274 case XFA_Element::Conformance:
6275 node = cppgc::MakeGarbageCollected<CXFA_Conformance>(
6276 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6278 case XFA_Element::Transform:
6279 node = cppgc::MakeGarbageCollected<CXFA_Transform>(
6280 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6282 case XFA_Element::LockDocument:
6283 node = cppgc::MakeGarbageCollected<CXFA_LockDocument>(
6284 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6286 case XFA_Element::BreakAfter:
6287 node = cppgc::MakeGarbageCollected<CXFA_BreakAfter>(
6288 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6290 case XFA_Element::Line:
6291 node = cppgc::MakeGarbageCollected<CXFA_Line>(
6292 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6294 case XFA_Element::Source:
6295 node = cppgc::MakeGarbageCollected<CXFA_Source>(
6296 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6298 case XFA_Element::Occur:
6299 node = cppgc::MakeGarbageCollected<CXFA_Occur>(
6300 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6302 case XFA_Element::PickTrayByPDFSize:
6303 node = cppgc::MakeGarbageCollected<CXFA_PickTrayByPDFSize>(
6304 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6306 case XFA_Element::MonthNames:
6307 node = cppgc::MakeGarbageCollected<CXFA_MonthNames>(
6308 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6310 case XFA_Element::Severity:
6311 node = cppgc::MakeGarbageCollected<CXFA_Severity>(
6312 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6314 case XFA_Element::GroupParent:
6315 node = cppgc::MakeGarbageCollected<CXFA_GroupParent>(
6316 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6318 case XFA_Element::DocumentAssembly:
6319 node = cppgc::MakeGarbageCollected<CXFA_DocumentAssembly>(
6320 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6322 case XFA_Element::NumberSymbol:
6323 node = cppgc::MakeGarbageCollected<CXFA_NumberSymbol>(
6324 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6326 case XFA_Element::Tagged:
6327 node = cppgc::MakeGarbageCollected<CXFA_Tagged>(
6328 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6330 case XFA_Element::Items:
6331 node = cppgc::MakeGarbageCollected<CXFA_Items>(
6332 doc->GetHeap()->GetAllocationHandle(), doc, packet);
6357 if (!node || !node->IsValidInPacket(packet))